Skip to content

docs: headless --serve ag-ui worker over stdio - #863

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

edenreich merged 1 commit into
mainfrom
docs/issue-862-20260929-1049

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Documents infer headless --serve, the long-lived AG-UI worker that runs one agent turn per user_message frame over stdio.

  • cli.md: new Serve worker (--serve) section under Headless Agent Stream Output - no task argument, implied --format ag-ui, a --session-id example, the one-run-per-turn contract with threadId set to the conversation id, and a sample frame exchange.
  • cli.md: stdin frame table covering user_message (queued mid-turn and drained into the running turn), interrupt (ends the turn with RUN_FINISHED outcome cancelled), browser_result, and the unchanged approval_response, user_question_response, computer_use_control.
  • cli.md: Browser tools without a port - with browser_use.backend: extension a serve worker binds no port and relays browser_command / browser_result over stdout and stdin.
  • cli.md: Shutdown - stdin EOF lets the running turn and queued messages finish, then stops the gateway, MCP servers and containers; send interrupt first for a fast stop.
  • cli.md: snapshot note that only the first run of a resumed session opens with MESSAGES_SNAPSHOT; core-commands table row; the daemon's Session workers row now points at the serve worker; the ag-ui format bullet notes --serve implies it.
  • opentask.md: the bridge protocol now says a standalone serve worker binds no port and relays the browser frames over stdio.

One acceptance-criteria item was intentionally not done: linking the new sections back to inference-gateway/cli#1410. AGENTS.md in this repo forbids referencing GitHub issues or pull requests in doc content - provenance belongs in the generated CHANGELOG.md.

Validated with bun run lint:md, bun run format:check and bun run build.

Closes #862

@inference-gateway-releaser

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

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich
edenreich merged commit ac80158 into main Sep 29, 2026
1 check passed
@edenreich
edenreich deleted the docs/issue-862-20260929-1049 branch September 29, 2026 11:05
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 📦🚀

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] headless --serve worker: one AG-UI run per user_message over stdio

1 participant