condensate

Dex

Run Dex and drive your threads from a phone or desktop.

On this page

Dex is Condensate's browser app. It lists your threads, shows what each agent is doing, and lets you continue any of them from a phone, a tablet or a desktop browser. Threads on Claude Code, Codex and Condensate's own agent all look the same in it, and pull requests, artifacts and account status sit beside them.

With the runtime running, start Dex from the repository root.

bun run --cwd apps/dex-app dev

Open http://127.0.0.1:5189. Dex serves the page and forwards /runtime/*, /hub/* and /middleware/* to the runtime, the gt-review hub and the middleware, so the browser only ever talks to one address. If one of them is down, Dex answers 502 with that service's name, and the Box section of the app shows its status.

Dex forwards to the runtime only when you open it by this computer's own name: an IP address, localhost, a one-word name, or a name under ts.net. Any other name gets 403 on /runtime/*. This stops another website from pointing a domain at your computer and reading your threads through Dex.

Settings

SettingDefaultWhat it does
DEX_APP_PORT5189Port Dex listens on
DEX_APP_HOST127.0.0.1Interface Dex binds to
DEX_APP_TAILNET_PORTunsetA second listener for your tailnet that serves only the setup page and refuses everything else with 403
CONDENSATE_AGENTS_URLhttp://127.0.0.1:4741The runtime
CONDENSATE_HUB_URLhttp://127.0.0.1:4700The review hub
CONDENSATE_MIDDLEWARE_URLhttp://127.0.0.1:4787The middleware, which also feeds the Metrics pane
CONDENSATE_KEYunsetKey Dex presents to the middleware for the Metrics panels. Without it those panels answer 401
DEX_APP_HUB_REPOcondensateRepository the Work section opens on
DEX_APP_THREAD_IDunsetThread Dex opens with. ?thread=<id> in the address overrides it
DEX_APP_GTR_MCPunsetPath to the hub's MCP entry as the runtime's machine sees it. Set it when the runtime runs on another machine or in a container
DEX_APP_PUSH_FILE~/.condensate/dex-app-push.jsonWhere push keys and subscribed devices are kept
DEX_APP_OPENOBSERVE_URLunsetAddress the Metrics pane's OpenObserve links use
CONDENSATE_BUILD_SHAunsetThe commit the page was built from. The Box section names a mismatch with the runtime's

Addresses

Every screen has its own address, so a link or a reload lands where you were. An address Dex does not recognise opens the thread view.

AddressOpens
/The thread view, with the chat
/?thread=<id>One thread
/pr/<repo>/<number>One pull request. Add #<path>:L<line> to open at a line
/?pr=<owner/repo#number>The review pane for one pull request, with no thread behind it
/review/<repo> or /review/<repo>/<number>Review mode for a repository, or for one pull request in it
/repo/<name>Every open pull request on the repository
/w/<workspace>One workspace's home: its lead, what needs you, your stacks, review requests, what is running, its repositories and its accounts
/artifacts/<id>One artifact. /artifacts/<id>/raw is the document alone, for sharing
/timelineDeploys with their pull requests, reviews and threads
/metricsThe machine's metrics
/setupThe setup page

A workspace's home

/w/<workspace> is one workspace on one page. It does not replace the thread view: / still opens the chat. To reach it, choose a workspace in Decide's workspace switcher and press the house beside it, or type the address.

The header shows the workspace's lead and its state: working while it runs, failed when its last turn failed, idle otherwise. Under it is a composer that starts a task on one of the workspace's repositories. Below are Needs you, Your stacks, Review requests, Running, Repos and Accounts. The page reads everything again every 30 seconds. A gt-review built before this page cannot answer the Repos and Review requests reads yet, and those sections say their rows appear after the next server update.

The setup page

The installer opens Dex on /setup when it finishes, and / keeps sending you there until a Claude or Codex account is signed in or a step is skipped. The page has four rows: GitHub, Claude, Codex and Tailscale. GitHub is already done, because the installer signed in before it cloned the repository. Claude and Codex each sign in to an account named personal. Tailscale puts this computer on your tailnet and then shows its address and a QR code for your phone. You can skip any row but GitHub.

A failed row shows one sentence and a copy details button that copies a short id. Search Condensate's log for account_login_failed id=<id> or setup_failed id=<id> to see what went wrong. Opened from another device on your tailnet, the page shows the same rows with every button off, because signing in works only from the computer itself.

Agents write links to threads, pull requests and artifacts as ordinary markdown links to a cnd: address, such as [#2253](cnd:pr/condensate/2253). Dex opens its own page for each one, and a kind it has no page for opens the outside page instead, so a link is never dead.

KindWriteDexiOSOutside
pr[label](cnd:pr/condensate/2253)/pr/condensate/2253condensate://pr/condensate/2253https://github.com/<owner>/condensate/pull/2253
issue[label](cnd:issue/condensate/12)nonenonehttps://github.com/<owner>/condensate/issues/12
thread[label](cnd:thread/%3Cthread-id%3E)/?thread=%3Cthread-id%3Econdensate://thread/%3Cthread-id%3Enone
deploy[label](cnd:deploy/fae2b520c)/timeline<dex>/timelinenone
file[label](cnd:file/apps%2Fdex-app%2Fsrc%2Froutes.ts/332)nonenonehttps://github.com/<owner>/condensate/blob/HEAD/apps/dex-app/src/routes.ts#L332
run[label](cnd:run/%3Crun-thread-id%3E)/?thread=%3Crun-thread-id%3Econdensate://thread/%3Crun-thread-id%3Enone
room[label](cnd:room/condensate/2253)/?pr=condensate%232253<dex>/?pr=condensate%232253https://github.com/<owner>/condensate/pull/2253
bug[label](cnd:bug/bug_%3Cid%3E)nonenonenone
account[label](cnd:account/%3Caccount%3E)nonenonenone
workspace[label](cnd:workspace/condensate)/repo/condensate<dex>/repo/condensatenone
model[label](cnd:model/%3Cmodel-id%3E)nonenonenone
artifact[label](cnd:artifact/%3Cartifact-id%3E/condensate)/artifacts/%3Cartifact-id%3E?repo=condensate<dex>/artifacts/%3Cartifact-id%3E?repo=condensatenone
doc[label](cnd:doc/use)nonenone<docs>/use/
linear[label](cnd:linear/ABC-123)nonenonehttps://linear.app/<linear-org>/issue/ABC-123
notion[label](cnd:notion/%3C32-hex-page-id%3E)nonenonenone
ask[label](cnd:ask/%3Cthread-id%3E/%3Cask-id%3E)/?thread=%3Cthread-id%3E&ask=%3Cask-id%3E<dex>/?thread=%3Cthread-id%3E&ask=%3Cask-id%3Enone
question[label](cnd:question/%3Cworkspace%3E/%3Cthread-id%3E/%3Crequest-id%3E/3)/?thread=%3Cthread-id%3E&workspace=%3Cworkspace%3E&question=%3Crequest-id%3E&generation=3<dex>/?thread=%3Cthread-id%3E&workspace=%3Cworkspace%3E&question=%3Crequest-id%3E&generation=3none

Review a pull request's diff

The pull request page draws each changed file as a card, and reads a file's diff as the card comes near the screen. Point at a line number and press + to comment on that line, or drag the + over several lines to comment on all of them. On a phone, tap the line number first to show its +. A run of unchanged lines between two changes is hidden. Open it twenty lines at a time from either end, or all at once. Press split above the first file to show the old and new versions side by side, and press it again for one column. Dex remembers that choice in this browser.

Keyboard

Press ⌘K (Ctrl+K without a Command key) to open the command palette and jump to any thread.

KeyAction
⌘K or Ctrl+KOpen the command palette
⌘NStart a new task
⌘MOpen the model picker
⌘↑ and ⌘↓Open the tray over the chat, or move through its sections
⌘← and ⌘→Move to the thread before or after this one
⌘Enter or Ctrl+EnterOpen or close the tray, including from the composer
EscapeReturn to the chat

Notifications

The app badge and the tab title count everything waiting on you. Dex can also send a push notification when an agent stops to ask you something or a review reaches a verdict, even to a locked phone, because the Dex server does the watching while your browser is closed. Verdicts are checked about once a minute.

Dex asks for push permission only when you press Turn on next to "Tell me on the phone when one stops", never at startup. On an iPhone or iPad, add Dex to the Home Screen first, since Safari does not deliver push to a tab.

If a section shows an error, start with the service the message names, then the Box section. More in Troubleshooting.