Skip to content

[DOCS] Mirror the new subagents and ag-ui runnable examples #1255

Closed

Description

Summary

The CLI shipped two new runnable examples under examples/ in PR inference-gateway/cli#1895: examples/subagents shows the Agent tool fanning out local subagents with a Markdown-defined agent preset (frontmatter with a tools allowlist, infer agents list, one aggregated fan-in result), and examples/ag-ui consumes the AG-UI headless stream and the infer headless --serve worker with a small Python script (one run per run_agent_input frame, plus a --require-approval variant answered over stdin). Both run offline against the mock model with no API key.

Acceptance Criteria

  • The docs site's Examples listing surfaces examples/subagents and examples/ag-ui with one-line descriptions
  • The subagents documentation links the runnable example
  • The AG-UI output documentation links the runnable example

Activity

  1. added
    documentation
    on Nov 17, 2026
  2. edenreich commented on Nov 17, 2026

    @edenreich
    Contributor

    @claude can you work on this?

  3. inference-gateway-maintainer commented on Nov 17, 2026

    @inference-gateway-maintainer
    ContributorAuthor

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


    Done - PR #1256

    • Track issue on Roadmap board (In progress, now QA)
    • Add examples/subagents and examples/ag-ui to the Examples listing (examples.md, new "CLI Examples" section)
    • Link the subagents example from Local Subagents (Agent tool) in cli.md
    • Link the ag-ui example from Serve worker (--serve) in cli.md
    • lint:md, format:check, build pass. I checked the new anchors against the built HTML.
    • Commit and open PR: docs: link the subagents and ag-ui runnable examples #1256

    Notes

    • The upstream CLI PR (docs(examples): add subagents and AG-UI runnable examples cli#1895) is still open, so the two example links will 404 until it merges. Merge this PR after that one.
    • The issue says the ag-ui consumer is written in Python, but upstream ported it to Go. My wording doesn't name a language.
    • I also found a broken-link problem that was already there: several existing cli.md links use anchors like #serve-worker---serve and #output-format---format, but the built pages create #serve-worker-serve and #output-format-format. My new links use the correct anchors. I didn't fix the old ones.
      | Branch
  4. moved this from Todo to In progress in 2026on Nov 17, 2026
  5. moved this from In progress to QA in 2026on Nov 17, 2026
  6. moved this from QA to Done in 2026on Nov 17, 2026
  7. inference-gateway-releaser commented on Nov 17, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.27 🎉

    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

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions