Quickstart
Getting Started
Correct startup sequence for Console + Agent in about 10 minutes
Getting Started
1. Install
npm install -g downcity
downcity --version
downcityandcityare the same CLI binary.
2. Initialize Console (first time only)
city console initThis creates console-global config under ~/.ship/.
3. Start Console
city console start
city agent startrequires console to be running first.
4. Initialize a repository
cd /path/to/your-repo
city agent create .Initialization generates:
PROFILE.md(required)SOUL.md/USER.md(optional)ship.json.ship/runtime directory
5. Configure LLM
Create .env at project root (do not commit):
LLM_API_KEY=your_keyMinimal ship.json example:
{
"name": "my-agent",
"version": "1.0.0",
"model": {
"primary": "default"
}
}6. Start Agent runtime
Start runtime (default: background daemon):
city agent startUse foreground mode when you want logs in the current terminal:
city agent start --foreground7. Verify runtime state
city agent status
city console agentsNotes:
- Agent ports are auto-allocated by console, so Quickstart should not assume a fixed port.
- In multi-agent setups, each agent can have a different runtime port.
8. Optional: start Console UI
city console ui start