Chrome Extension

Download and manually install the Downcity Chrome extension, then connect your City and Agent, and let the Agent read your page through request-level Powers.

The Downcity Chrome extension lets you chat with your Agent in a side panel and reference the current page or selected text. It requires Chrome 116 or later and a running, reachable Downcity City.

Download Chrome Extension ZIP

The extension is currently distributed as a ZIP for manual installation. It is not yet listed in the Chrome Web Store. The package works with Chrome on macOS, Windows and Linux.

Install manually

  1. Download and unzip the package into a permanent folder, such as Documents/Downcity/chrome-extension.
  2. Open chrome://extensions in Chrome.
  3. Enable Developer mode.
  4. Click Load unpacked.
  5. Select the extracted folder that directly contains manifest.json.
  6. Pin Downcity in the toolbar and click its icon to open the side panel.

Select the extracted folder, not the ZIP. Keep that folder after installing.

Connect Downcity

Start your City, open the extension's Settings, and enter:

FieldValue
City URLCity HTTP URL, default http://127.0.0.1:5314; reverse proxy path prefixes are supported
Access credentialBearer token accepted by your City, as required by the server
Default AgentSelect an accessible Agent after connecting to City; no manual ID entry
Default AskDefault request used by the page sharing entry point

Run city token on the machine hosting City to create a credential interactively, selecting the allowed Agents and expiry policy. For scripts, use city token create --name chrome --agents <agent_id> --never-expires. Enter the plaintext shown at creation directly in extension settings. Old Agent Tokens are no longer accepted.

Click Connect City / refresh Agent list (连接 City / 刷新 Agent 列表), select a default Agent, then click Save and check (保存并检查). An empty list means the credentials have no visible Agents or City has none. Once connected, reopen the side panel or click Reconnect (重新连接). The extension interface currently uses Chinese labels.

Port 15314 is for RPC, not HTTP. Do not include /agents/... in City URL: the extension adds the Agent scope. Chrome conversations use the chrome origin partition without a Workspace.

Use the extension

  • Click the toolbar icon or press Command+I on macOS / Ctrl+I on Windows and Linux. Change conflicting shortcuts at chrome://extensions/shortcuts.
  • Enter your request. The composer references the current page by default; remove that reference to omit the initial page body. The Agent can still read the bound page on demand during this Turn.
  • Select text on a regular webpage and click Reference (引用) to add it to the composer.
  • Replies support Markdown, reasoning text and tool status.
  • Reopening the panel restores the browser session for the same City and Agent.
  • New conversation (新对话) creates another session without deleting server history.
  • If the event stream disconnects, click Reconnect to load saved messages and reconnect.

Side-panel submissions provide a chrome_page Power for the current Turn. The Agent can call read_page or find_text on the tab and URL captured at submission. Navigation invalidates access. Clicking, filling and cross-tab operations are not exposed. Keep the panel open until the Turn completes; closing it or losing the execution connection interrupts caller-owned capabilities. Chrome internal pages, the Chrome Web Store and some protected pages cannot be read. Handle tool approval requests in Downcity when the extension shows a waiting status.

Update or uninstall

Manually installed extensions do not update automatically. Download the new ZIP, replace the contents of the original folder, click Reload at chrome://extensions, then refresh webpages where you use references.

The current source build uses City, Agent and Token settings. Existing Workspace sessions are not migrated into Chrome sessions or deleted. Downloaded packages only include these features once released.

Click Remove at chrome://extensions to uninstall. Browser settings are removed; server sessions remain in Downcity.

Verify a download

Latest release metadata includes the version, size and SHA-256. The download redirects to a versioned ZIP; append .sha256 to that final path to download its checksum file.

Extension data and privacy