The most basic chattable agent, served with Hono.
Install the CLI:
npm i -g @substructure.ai/cliTwo terminals.
1. Start the worker:
npm install
node server.mjs2. Send a message with the CLI
export ANTHROPIC_API_KEY=sk-ant-...
subs run -c substructure.toml --agent my-agent "hi"