Skip to content

[DOCS] AG-UI output gains the nextStepSuggestion state key #1101

Closed

Description

@inference-gateway-maintainer

The CLI gained a public AG-UI output change: serve-mode AG-UI runs now patch a new nextStepSuggestion state key with the one-line after-turn suggestion just before the terminal event, mirroring the chat TUI's ghost-text suggestion. The key is seeded "" in every STATE_SNAPSHOT, and disabled, failed or discarded suggestions publish nothing. See the event mapping and State tables of the CLI's docs/ag-ui-output.md.

ASCII note: this body intentionally uses plain hyphens only.

Activity

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

    @edenreich
    Contributor

    @claude Can you work on this?

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

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 2m 20s —— View job • docs/issue-1101-20261106-1622


    Synced the AG-UI nextStepSuggestion state key

    • Find where the AG-UI output reference is mirrored in this site
    • Read the upstream docs/ag-ui-output.md on the CLI PR branch
    • Document the new state key and its publish timing in cli.md
    • Run lint:md, format:check, build - all pass
    • Commit and open the PR

    What changed - all in cli.md, which is where this site mirrors the AG-UI reference (as a section of the CLI page, not a standalone cli-*.md page):

    • New ##### AG-UI next-step suggestion state subsection beside the other AG-UI state sections: the STATE_DELTA shape on /nextStepSuggestion, that it lands just before the terminal RUN_FINISHED / RUN_ERROR, that the key is seeded "" in every STATE_SNAPSHOT so clients need no absent-key branch, and that a disabled, failed or discarded suggestion publishes nothing (as do a turn with a message already queued, a failed or cancelled run, and a subagent's worker).
    • The shared event stream's STATE_SNAPSHOT / STATE_DELTA row now lists nextStepSuggestion among the state keys, linked to the new section.
    • The chat Next-Step Suggestions section points AG-UI hosts at the new state section.

    Not done: no new page and no change to the link out to the CLI repo's docs/ag-ui-output.md, which stays the full per-event reference.

    Create a PR - already opened as #1102.
    | branch

  4. moved this from Todo to In progress in 2026on Nov 6, 2026
  5. moved this from In progress to QA in 2026on Nov 6, 2026
  6. inference-gateway-releaser commented on Nov 8, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.24 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

  7. moved this from QA to Done in 2026on Nov 9, 2026
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