git clone https://github.com/Dragooon/stockade.git
cd stockade
pnpm setup
This checks prerequisites, installs dependencies, copies config files, detects your API key, sets up Docker networking, and builds everything. Run pnpm setup:no-docker if you don’t have Docker.
If you already have Claude Code installed, open the Stockade project and run /setup. The skill handles everything including detecting your existing Claude Code credentials for API access.
cd stockade
claude # opens Claude Code in the project
# then type: /setup
If you prefer to do it step by step:
git clone https://github.com/Dragooon/stockade.git
cd stockade
pnpm install
cp config/config.example.yaml config/config.yaml
cp config/proxy.example.yaml config/proxy.yaml
Add your API key:
mkdir -p config/secrets
echo "sk-ant-..." > config/secrets/anthropic-api-key
The
config/secrets/directory is gitignored. Secrets never leave your machine.
pnpm build
Set sandboxed: false on your agents in config.yaml:
pnpm start:orchestrator
Agents run in-process. No Docker needed. Tool permissions and RBAC still apply. If the credential proxy is running, local agents route through it automatically for credential injection.
# Terminal 1: Start the credential proxy
pnpm start:proxy
# Terminal 2: Start the orchestrator
pnpm start:orchestrator
The orchestrator auto-provisions containers on first message to a sandboxed agent.
Edit config/config.yaml:
channels:
discord:
enabled: true
token: ${DISCORD_TOKEN}
bindings:
- server: "YOUR_SERVER_ID"
agent: main
channels: "*"
Set DISCORD_TOKEN in config/.env or your environment.
pnpm test # run all 749 tests
pnpm start:orchestrator # start and type a message
| Architecture | Configuration Reference |