Agent API
Run the Agent
To test your agent, use the run-agent
command:
Parameters
<llm_name>
: The name of the language model you want to use<llm_backend>
: The backend service for the language model<agent_name_or_path>
:For hub agents: The path to your agent's folder
For local agents: Absolute path to agent folder
<local_agent>
: Use local agent? Default isno
(yes
/no
)<task_input>
: The task you want your agent to complete<aios_kernel_url>
: The URL that is connected to the AIOS kernel
Examples
Run a hub agent:
Run a local agent:
Using the source code:
You can also run the agent using the source code in the cerebrum/example/run_agent
:
Last updated