01
Install the CLI
Establish one local runtime entry point first. Both `downcity` and `city` are valid command names.
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 four steps, the folder becomes a durable agent operating block.
01
Establish one local runtime entry point first. Both `downcity` and `city` are valid command names.
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
city agent create .03
Create `.env`, then start the runtime. Use foreground mode only when you need live logs in the current shell.
LLM_API_KEY=your_key
city start
city agent start
# for debugging
city agent start --foreground04
Verify service 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 four steps are working, move into the full quick-start guide and connect configuration, skills, and automation.