Install and Connect
How to build, load, and connect the Chrome extension to your local Downcity Console and Agent
Install and Connect
Prerequisites
Before using the extension, you will usually want these running:
city start
city start
city agent startIf you load the extension from this repo, build it first:
npm run build:extensionLoad It in Chrome
- Open
chrome://extensions - Enable
Developer mode - Click
Load unpacked - Choose
products/chrome-extension/dist
First-Time Configuration
The default extension target is:
- Host:
127.0.0.1 - Port:
5315
If your Console UI is elsewhere, open the extension settings page. The page is split into three parts:
Connect Console: set Console Host and Port, then paste a Bearer tokenInline Composer: choose the default mode, instant executor, instant model, and instant ACP agentAgent / Channel: choose the default Agent and default Channel Chat used by the popup
If you do not have a token yet, create one in the local terminal first:
city token create my-tokenIf you prefer the interactive flow, run:
city tokenThe flow can copy the newly issued token right away.
Then paste the returned value into Access Token.
After token save succeeds, the extension will attach Authorization: Bearer ... to later requests automatically.
How Inline Composer Modes Work
The inline composer supports two modes:
Channel Mode: uses the default Agent / Channel Chat delivery pathInstant Mode: runs a temporary session and returns the result directly on the page
Inside Instant Mode, you can choose one executor:
Model Executor: runs against the selected Console model pool entryACP Executor: runs against the selected ACP agent project
If the selected instant executor has no valid default target, the inline composer will ask you to go back to settings and complete that configuration first.
How Agent and Chat Selection Works
The extension first asks Console for the Agent list, then reads the available chat contexts for that Agent.
If no Chat is available, it usually means:
- that channel has no message history yet
- the Agent is not running
- the Console address is wrong
After Updating the Extension
Whenever extension code changes, rebuild it:
npm run build:extensionThen go back to chrome://extensions and press the refresh button for the unpacked extension.