CLI commands for developing and testing agents locally.
Initialize new agent
Initialize a new agent project and generate a template agent.
circuitinit
Prompts:
Language selection (TypeScript or Python)
Agent name
Creates:
Agent code template (index.ts or main.py)
Configuration file (.circuit.toml)
Dependency file (package.json or pyproject.toml)
Output:
Creates a new directory with the agent name (slug)
Prints project directory path
Execute the agent's run function
Test your agent locally.
Note: You will need to make sure that all required packages are installed and included in your pyproject.toml/package.json dependencies using 'uv sync' or 'bun install'. See the quickstart guide for more detals.