CLI Reference
Commands
Section titled “Commands”run — Execute an agent
Section titled “run — Execute an agent”astromesh-adk run agents.py:my_agent "What is CRISPR?"astromesh-adk run agents.py:my_agent "query" --session lead-123chat — Interactive chat
Section titled “chat — Interactive chat”astromesh-adk chat agents.py:my_agentastromesh-adk chat agents.py:my_agent --session s1list — List agents in a file
Section titled “list — List agents in a file”astromesh-adk list agents.pyOutput:
┌──────────────┬──────────────┬─────────┬───────┐│ Name │ Model │ Pattern │ Tools │├──────────────┼──────────────┼─────────┼───────┤│ assistant │ openai/gpt-4o│ react │ 2 │└──────────────┴──────────────┴─────────┴───────┘check — Validate configuration
Section titled “check — Validate configuration”astromesh-adk check agents.pyValidates: provider env vars, tool schemas, MCP commands, memory backends.
dev — Development server
Section titled “dev — Development server”astromesh-adk dev agents.py --port 8000 --reloadStarts a FastAPI server with:
GET /v1/health— Health checkGET /v1/agents— List agentsPOST /v1/agents/{name}/run— Execute agent