The most basic chattable 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 my-agent "hi"