The Agent Object
The Agent Object
pythonCopy codeclass Agent:
id: str # Unique identifier for the agent
name: str # Name of the agent
script: str # Script executed by the agent
requirements: str # Python dependencies (e.g., from requirements.txt)
env_vars: str # Environment variables for the agent
python_version: Literal["3.9", "3.10", "3.11", "3.12"] # Python version used
created: str # Timestamp when the agent was created
modified: str # Timestamp of the last modificationThis class represents an Agent, which can be executed with specific configurations, including scripts, dependencies, and environment variables. It supports multiple Python versions.
Last updated