Skip to content

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

Closed

Description

@edenreich

Part of inference-gateway/cli#1396

Depends on inference-gateway/cli#1399

Summary

The CLI is consolidating how external clients reach the agent. infer daemon becomes the one hub that the desktop app, the opentask browser extension and Telegram connect to, and every client receives the same AG-UI event stream. The user docs should explain the hub, how to run it, and how each client connects.

Source: inference-gateway/cli#1396 (EPIC) and inference-gateway/cli#1405 (CLI reference docs).

Acceptance Criteria

  • A page explains infer daemon as the hub: what it runs (binding, session workers, channels, scheduler, heartbeat), how to start it, and where its log lives
  • The browser extension setup page connects the extension to the daemon (port, token, protocol version) instead of to infer chat
  • The desktop app page explains that the app runs agents through the daemon
  • The events page lists the shared AG-UI and CUSTOM events, including the browser-use and computer-use events, and links the CLI reference
  • All new text is ASCII only

Activity

  1. added
    documentation
    on Sep 28, 2026
  2. added theissue type on Sep 28, 2026
  3. moved this to Todo in 2026on Sep 28, 2026
  4. edenreich commented on Sep 29, 2026

    @edenreich
    ContributorAuthor

    @claude Can you document this?

  5. inference-gateway-maintainer commented on Sep 29, 2026

    @inference-gateway-maintainer
    Contributor

    Claude finished @edenreich's task in 10m 21s —— View job • docs/issue-856-20260929-1028 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-856-20260929-1028?quick_pull=1&title=Issue%20%23856%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23856%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Documented infer daemon as the client hub

    • Gather context (repo docs + upstream CLI epic, daemon, event and log issues)
    • Add the daemon hub docs (cli.md -> new ## Daemon section)
    • Point the browser extension setup at the daemon (opentask.md)
    • Explain that the desktop app runs agents through the daemon (desktop.md)
    • List the shared AG-UI and CUSTOM events, browser-use and computer-use included, linking the CLI reference
    • Note channels as a daemon subsystem (cli-channels.md)
    • Validate (lint:md, format:check, build)
    • Commit + open PR

    PR: #860

    What changed

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

    New text is ASCII only, including the hub diagram.

    One thing to decide before merging

    The CLI side is not released yet (the daemon binding, session workers, centralized log and the browser-use / computer-use events are still open upstream), so these pages describe the hub as the contract rather than today's shipped behavior. The daemon section carries one note saying older CLI builds connect the extension straight to infer chat and spawn one infer headless per desktop prompt. Merging after the CLI ships the hub keeps the site accurate; if you would rather ship the docs first, the note covers readers on older builds.
    | Branch

  6. inference-gateway-releaser commented on Sep 30, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.19 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions