Quickstart
Getting Started
Correct startup sequence for Console + Agent in about 10 minutes
Getting Started
1. Install
npm install -g downcity
city --version
downcity --version
downcityandcityare the same CLI binary.If
cityis not found after install, see Common Issues.To upgrade later, run
city update.
2. Initialize Console (first time only)
city initThis creates console-global config under ~/.downcity/.
3. Start Console
city 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(optional)downcity.json.downcity/runtime directory
5. Configure LLM
Create .env at project root (do not commit):
LLM_API_KEY=your_keyMinimal downcity.json example:
{
"name": "my-agent",
"version": "1.0.0",
"model": {
"primary": "default"
}
}6. Start Agent
Start the agent (default: background daemon):
city agent startIf you run this outside an initialized agent directory, Downcity can let you pick from registered agents interactively.
Use foreground mode when you want logs in the current terminal:
city agent start --foreground7. Verify agent state
city agent list
city agent status
city agent list --runningNotes:
- 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 port.
8. Optional: start Console UI
city start9. Optional: Chrome extension quick-send from page selection
If you use the repo's chrome-extension:
- Select text on the page, then click the message button near the selection to open the inline input near the selected area.
- Clicking the browser extension action icon opens the Extension Popup; press
Cmd/Ctrl + Uto open the Inline Composer on the page. - The Extension Popup stays minimal: one input box, one send button, page-level send history, and a settings button.
- Agent switching in the Extension Popup is intentionally minimal; Channel Chat is auto-resolved from the current Agent's first available conversation.
- Click a history item to refill a previous ask from the current page.
- Press
Cmd/Ctrl + Enteror click the send button to submit (Enterfor newline). - Press
Escto close the input box. - If nothing is selected, sending automatically falls back to full-page mode.
- Full-page mode prefers the strongest
main/articlecontent region; if the page has multiple strong content roots, it merges them and includes page image references.