Downcity
Quickstart

Getting Started

Correct startup sequence for Console + Agent in about 10 minutes

Getting Started

1. Install

npm install -g downcity
downcity --version

downcity and city are the same CLI binary.

2. Initialize Console (first time only)

city console init

This creates console-global config under ~/.ship/.

3. Start Console

city console start

city agent start requires 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_key

Minimal ship.json example:

{
  "name": "my-agent",
  "version": "1.0.0",
  "model": {
    "primary": "default"
  }
}

6. Start Agent runtime

Start runtime (default: background daemon):

city agent start

Use foreground mode when you want logs in the current terminal:

city agent start --foreground

7. Verify runtime state

city agent status
city console agents

Notes:

  • 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

Next

Table of Contents