A chattable agent that delegates weather questions to a sub-agent, served with FastAPI.
Install the CLI:
npm i -g @substructure.ai/cliTwo terminals.
1. Start the worker:
pip install -r requirements.txt
python3 main.py2. Send a message with the CLI
export ANTHROPIC_API_KEY=sk-ant-...
subs run -c substructure.toml --agent assistant "what is the weather in Paris?"