Catalog PyPI
PACKAGE EXPLORERView in registry

ai-controller

PyPI

AI-Agent (Auto-Code Executor) is a Python module that dynamically executes Python functions based on textual input. It leverages a language model (LLM) to match the input text with function descriptions and then executes the corresponding function from a specified file.

Versions collected1
Direct dependencies0From release 0.1.0
Last observed21 Oct, 10:16 UTC

README

Version 0.1.0 documentation

AI-Agent (Auto-Code Executor)

AI-Agent (Auto-Code Executor) is a Python module that dynamically executes Python functions based on textual input. It leverages a language model (LLM) to match the input text with function descriptions and then executes the corresponding function from a specified file.

Features

  • Dynamic Function Execution: Executes Python functions based on descriptive input text.
  • AST Parsing: Uses Abstract Syntax Tree (AST) to extract function names and descriptions.
  • LLM Integration: Utilizes a language model to find and execute the appropriate function.
  • Flexible Module Loading: Imports functions from any Python file at runtime.

Installation

Install the module using pip:

Usage Example

from ai_agent import Controller

input_text = "what is 10+90?" controller = Controller(input_text, 'sample.py')

result = controller.execute() print(result)

pip install ai-controller




Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.031 Jul 20240

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
tanay-sharma-01/ai_controller

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:16 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:b49e6920614d0f197a1e6477dd8bcec9f6dfc713067698bda2eb4bc347095c76