Skip to content

docs: document infer daemon as the client hub - #860

Merged
edenreich merged 1 commit into
mainfrom
docs/issue-856-20260929-1028
Sep 29, 2026
Merged

edenreich merged 1 commit into
mainfrom
docs/issue-856-20260929-1028

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Documents infer daemon as the one hub the desktop app, the OpenTask browser extension and the messaging channels connect to, and rewrites the client pages around it.

  • cli.md: new ## Daemon section - what the daemon runs (binding, session workers, channels, scheduler, heartbeat, logging), how to start it, threads (project dir plus conversation id, one run per turn, cancelled outcome, idle/crash behavior), the browser_hello / browser_hello_ack handshake with client and protocol_version, the shared event stream (AG-UI events, CUSTOM events including the browser-use and computer-use ones, app frames in), the single approval contract keyed by tool_call_id, browser use routed through the daemon, and the daemon log at ~/.infer/logs/daemon-<date>.log. Links the CLI's own docs/ag-ui-output.md as the per-event reference.
  • opentask.md: the extension now connects to the daemon instead of whichever host held the port - "Bridge hosts" becomes "Connecting to the daemon" (port, token, protocol version), the handshake carries client and protocol_version, the chat_event envelope is gone in favour of the bare shared stream, conversations and skills are scoped to a project_dir, resume answers with MESSAGES_SNAPSHOT, approvals are keyed by tool_call_id, and the frame reference is trimmed to the frames specific to this transport.
  • desktop.md: the app runs agents through the daemon as a desktop client rather than spawning infer headless per prompt; parallel sessions are daemon threads; browser use is served by the daemon ("One browser, many sessions"), and troubleshooting points at the daemon log.
  • cli-channels.md: channels are one daemon subsystem, and the pipeline diagram shows a session worker instead of a spawned infer headless.

All new text is ASCII only (the daemon diagram uses ASCII box drawing, not the box-drawing characters used elsewhere on the channels page).

Note on timing

The CLI-side work this documents is not released yet - the daemon AG-UI binding, the session workers, the centralized log and the browser-use/computer-use events are still open in inference-gateway/cli. The pages therefore describe the hub as the contract, with one note in the daemon section stating that older CLI builds connect the extension directly to infer chat and spawn one infer headless per desktop prompt. Merge once the CLI ships the hub, or keep it in review until then.

Validation

  • bun run format:check - clean
  • bun run lint:md - clean
  • bun run build - clean; verified every new anchor (/cli/#daemon, #shared-event-stream, #threads, #the-daemon-log, /opentask/#connecting-to-the-daemon, #browser-commands-daemon-extension) against the built HTML ids

Closes #856

@inference-gateway-releaser

inference-gateway-releaser Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich
edenreich merged commit 6fabb62 into main Sep 29, 2026
1 check passed
@edenreich
edenreich deleted the docs/issue-856-20260929-1028 branch September 29, 2026 10:41
inference-gateway-releaser Bot added a commit that referenced this pull request Sep 30, 2026
## [0.9.19](0.9.18...0.9.19) (2026-09-30)

### 📚 Documentation

* ag-ui resume snapshot and cancelled run outcome ([#861](#861)) ([53e4c80](53e4c80))
* **agents:** add code readability guidelines ([#832](#832)) ([9435459](9435459))
* **agents:** add code readability guidelines ([#834](#834)) ([6b06d8b](6b06d8b))
* artifacts route is not served by the daemon ([#867](#867)) ([513e866](513e866))
* browser-use routes through the daemon socket ([#865](#865)) ([79a9292](79a9292))
* bundled ffmpeg covers desktop timeline export ([#837](#837)) ([43ff30c](43ff30c))
* daemon.yaml binding and channel thread path ([#871](#871)) ([9f6efc5](9f6efc5))
* document autocomplete kind labels ([#847](#847)) ([94b0ceb](94b0ceb))
* document ctrl+r prompt history search in chat ([#869](#869)) ([08239c2](08239c2))
* document custom tools in the CLI ([#852](#852)) ([e32cf2e](e32cf2e))
* document infer daemon as the client hub ([#860](#860)) ([6fabb62](6fabb62))
* document nested AGENTS.md awareness in the CLI ([#854](#854)) ([e6c17a9](e6c17a9))
* document secret redaction in infer insights ([#831](#831)) ([7ae06bb](7ae06bb))
* headless --serve ag-ui worker over stdio ([#863](#863)) ([ac80158](ac80158))
* lead agent pages with bare-name infer agents add ([#835](#835)) ([113179d](113179d))
* opentask tab recording skill loop ([#840](#840)) ([48b6bde](48b6bde))
* single /agents view and markdown subagents ([#845](#845)) ([9557066](9557066))
* **skills:** document the built-in demo skill and infer-action record-demo ([#849](#849)) ([393b0c9](393b0c9))
* sync cli page with new upstream cli docs ([#855](#855)) ([88e0905](88e0905))

### 🔧 Miscellaneous

* **deps-dev:** bump the bun group with 2 updates ([#846](#846)) ([c278297](c278297))
* **deps:** bump claude-code 2.1.280 -> 2.1.283 ([#858](#858)) ([3a23dc8](3a23dc8))
* **deps:** bump infer CLI v0.208.0 -> v0.218.0 ([#859](#859)) ([fd05fc6](fd05fc6))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.19 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Document infer daemon as the hub for the desktop app, browser extension and Telegram

1 participant