01
Install the CLI
Establish one local runtime entry point first. Installing exposes the `downcity` command (alias `city`).
npm install -g downcity
downcity --versionDo not build a control plane first and do not rewrite workflow first. Start from the repo you already run. In five steps, the folder becomes a durable agent operating block.
01
Establish one local runtime entry point first. Installing exposes the `downcity` command (alias `city`).
npm install -g downcity
downcity --version02
Initialize inside a real project so rules, permissions, and artifacts stay in the repo instead of a separate platform.
cd /path/to/your-repo
downcity agent create .03
Import the active City session into downcity, then start the runtime. Use foreground mode only when you need live logs in the current shell.
downcity federation use
downcity start
downcity agent start
# for debugging
downcity agent start --foreground04
After the Agent starts, select a Federation model for the current Session. The choice is stored with Session runtime data and applies on the next turn without restarting the Agent.
downcity agent model .
# SSH or automation
downcity agent model . --session-id <session-id> --set <model-id>05
Verify runtime state first, then add skills, channels, and scheduled tasks. Boundaries before expansion.
curl http://localhost:3000/health
curl http://localhost:3000/api/statusContinue in the docs
Once the five steps are working, move into the full quick-start guide and connect configuration, skills, and automation.