Skip to content

[DOCS] /agents is the single Agents view for local and a2a agents #843

Closed

Description

Summary

PR inference-gateway/cli#1348 adds Markdown subagent presets (.infer/agents/*.md) and a built-in /agents shortcut that opens an Agents view with typed rows: a local chip for Markdown presets the Agent tool spawns in-process, and an a2a chip for remote A2A agents from agents.yaml. Live a2a readiness (pull progress, ready/failed, recovered) still refreshes the a2a rows.

Per inference-gateway/cli#1357, /agents becomes the single entry point: the built-in /a2a shortcut (today it opens the A2A-only view) is removed rather than kept as a filtered alias, and the init-seeded YAML /agents <list|add|remove> shortcut no longer shadows the built-in view.

Relevant commit: inference-gateway/cli@8f9285d8

Pages to update in this repo:

  • cli.md - ### /a2a view section: rename to the /agents view and describe the combined list with local / a2a chips; keep the liveness-probe behavior for a2a rows
  • cli.md - slash command table: replace the /a2a row with /agents
  • cli.md - status bar table: the A2A: X/Y indicator opens the /agents view
  • cli.md - Local Subagents (Agent tool) section: document .infer/agents/*.md presets and that they show up in /agents as local rows

CLI mirrors: docs/subagents.md, docs/commands-reference.md, docs/shortcuts-guide.md (including the Init-Created Shortcuts table, which lists /agents under a2a.yaml).

Land this after cli#1348 and cli#1357 merge, so the docs describe what ships.

Acceptance Criteria

  • /agents is documented as the single Agents view with typed local / a2a rows
  • No remaining references to a /a2a shortcut or view in cli.md
  • Markdown subagent presets (.infer/agents/, ~/.infer/agents/) are documented and linked from the /agents view section
  • Any screenshots of the /a2a view are replaced with the /agents view

Activity

  1. added
    documentation
    on Sep 27, 2026
  2. changed the title [-][DOCS] /agents now lists local and a2a agents in one view[/-] [+][DOCS] /agents is the single Agents view for local and a2a agents[/+] on Sep 27, 2026
  3. moved this to Todo in 2026on Sep 27, 2026
  4. edenreich commented on Sep 27, 2026

    @edenreich
    Contributor

    @claude Can you document this?

  5. added theissue type on Sep 27, 2026
  6. inference-gateway-maintainer commented on Sep 27, 2026

    @inference-gateway-maintainer
    ContributorAuthor

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


    Documented /agents as the single Agents view

    • Gather context (read cli.md, cross-checked the upstream CLI AgentsView, Agent tool schema and docs/subagents.md)
    • Rewrote the /a2a view section as ### /agents view with typed local / a2a rows
    • Slash command table: /a2a -> /agents
    • Status bar table: A2A: X/Y opens the /agents view
    • Documented Markdown subagent presets (.infer/agents/*.md, ~/.infer/agents/*.md) and the Agent tool's agent parameter
    • Swept remaining /a2a shortcut references (cli.md + a2a.md); no screenshots of the old view exist
    • Documented built-in-wins-over-custom shortcut precedence
    • Validated: bun run lint:md, bun run format:check, bun run build all pass
    • Committed and opened docs: single /agents view and markdown subagent presets #845

    What changed

    cli.md

    • ### /agents view - the merged, filterable list: one row per agent, local chip for Markdown presets and a2a chip for remote agents, with the state column (read-only / read-write for presets, readiness for a2a) and detail line. Liveness behavior kept for a2a rows, plus the image-pull progress detail (<done>/<total> layers). Notes that / filtering matches the chip, so local / a2a narrows the list.
    • Slash command table row replaced; the A2A: X/Y status-bar indicator now links to #agents-view.
    • Local Subagents (Agent tool) - new Markdown subagent presets subsection: frontmatter format and key table, project-over-user precedence, tool allowlist enforcement and the derived read-only/read-write capability, model resolution (file wins; bare aliases warn and fall back to inherit), once-per-session scan with skip-on-invalid, Claude Code / Gemini CLI compatibility, and the v1 limits. Added the agent tool parameter and refreshed the v1-scope note (there is an /agents view now).
    • Custom Shortcuts - new Name collisions with built-ins note: a built-in shortcut wins over a same-named custom YAML shortcut with a warning naming the file, so a stale a2a.yaml cannot shadow /agents.

    a2a.md - "Viewing Connected Agents" and the liveness bullets now point at the /agents view. The only /a2a strings left in the repo are the protocol HTTP endpoint (POST /a2a), which is unrelated.

    Heads-up before merging

    The CLI change that merges the views has landed, but it still keeps /a2a as a pre-filtered alias; the follow-up that drops the alias and unshadows the init-seeded /agents shortcut is still open upstream. These docs describe that end state, so merge once that ships (noted in the PR body too).
    | Branch | PR #845

  7. moved this from QA to Done in 2026on Sep 27, 2026
  8. 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