Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

python-fast-api-basic

The most basic chattable agent, served with FastAPI.

Run

Install the CLI:

npm i -g @substructure.ai/cli

Two terminals.

1. Start the worker:

pip install -r requirements.txt
python3 main.py

2. Send a message with the CLI

export ANTHROPIC_API_KEY=sk-ant-...
subs run -c substructure.toml --agent my-agent "hi"