Skip to content

Agent guide (the Guide tab)

Every agent has a Guide tab, between Usage and Playground. It is the page for the people who will use the agent, not for those who build it. It answers three questions: what the agent is, how it works, and how to call it. Everyone who can see the agent sees its guide, including people who find it in the company catalog, so it is also the page that helps them decide whether to request access.

How it works (flow). A diagram built automatically from the spec of the described version:

Request (channels) ─┐
Schedules ──────────┴─► Agent (model) ──► Delivers (final output)
│
└─► skills · MCP tools · tools · memory · specialists (A2A) · harness job
  • It shows which skills, tools and specialists the agent uses, never their content. Instructions stay hidden from people outside the team unless the team turns on expose spec.
  • Specialists you can see are links to their own guide.
  • Nobody draws the diagram, so it never goes out of date.

Fact sheet.

  • Goal, final output, owner, model, skills, MCPs, tools, memory scope, schedules and built from (for composed agents).
  • The described version, and the versions running in production and stage.
  • Example requests: the inputs of the test cases that passed for that version. These are real examples, not invented ones.
  • Where to call: the agent’s endpoints, plus a link to the Connect tab.

Examples and endpoints are shown only to people who can use the agent.

Guide text. Markdown written for users, with these sections: What it is, What it does, What it does not do, How to use it (with example requests) and Limits.

When Claude, ChatGPT, Codex or any client of the platform MCP builds an agent, writing the guide is part of the flow, before the ship (step 7 of the platform instructions):

  1. Register and design the agent, with its tests.

  2. Write the guide. Pass guide= in the same call that builds the agent:

    • design_agent;
    • compose_agent;
    • build_multi_agent (guide for the orchestrator and members[].guide for each specialist);
    • edit_agent.

    Or call set_agent_guide(slug, text).

  3. ship_agent.

Every build tool, and ship_agent, returns guide:

{"written": false, "version": 3, "next_step": "set_agent_guide(slug='renewal-coach', text=...) — …"}
  • written: false asks for the guide. The AI tool then writes it before finishing. build_multi_agent also lists guides_missing.
  • The guide follows the version being built. It is saved for the version the call just created. When you edit an agent that is already in production, the new text waits for its version: the tab keeps showing the production guide, with a note that a guide for the next version is ready, until that version is published.
Source When Status
The AI tool that builds the agent As a build step: guide= in the build call, or set_agent_guide before the ship Reviewed
A maintainer Write guide / Edit in the tab Reviewed
The agent’s own LLM Automatically when a version reaches production and the agent never had a guide written by a person, or on Generate draft with AI Generated draft, not reviewed until a maintainer clicks Approve draft
  • Drafts stay close to the spec. A draft is written only from the spec (instructions, skills, tools, specialists, memory) and the test cases that passed. The model is told not to invent capabilities, integrations, data or numbers.
  • Who can generate a draft. It needs an OpenAI-protocol connection: the agent’s llm.connection or judge.connection. Agents in mock mode get no draft; write the guide instead.
  • Human text wins. An automatic draft never replaces a guide written by a person, not even one written for an older version. That text stays, with the outdated warning, until someone updates it.
  • Kept outside the spec on purpose. The text lives in its own table (agent_guides), not in the spec. Fixing the documentation therefore creates no new agent version and requires no new tests.
  • Each text records the version it describes. That is the production version, or the newest version if the agent is not in production.
  • Outdated warning. When production moves to a newer version without a new text, the old text stays and the tab shows “This text was written for vN” until someone updates it.

Once a guide is reviewed, its first paragraph becomes the description of the agent’s A2A Agent Card (/gw/<slug>/.well-known/agent.json). Other agents and A2A clients then get a clearer description. Unreviewed drafts never reach the card.

Method Path Who
GET /api/agents/{slug}/guide Anyone who can see the agent. Returns {facts, graph: {nodes, edges}, doc, can_edit, can_generate}
PUT /api/agents/{slug}/guide Editors. {text} (Markdown, up to 20,000 characters)
POST /api/agents/{slug}/guide/approve Editors: marks the draft as reviewed
POST /api/agents/{slug}/guide/generate Editors: new draft from the agent’s LLM; it replaces the current text

MCP tools:

  • get_agent_guide(slug): lets Claude or ChatGPT answer “what does this agent do?” from the same page.
  • set_agent_guide(slug, text, version?): writes the guide, for the newest version by default.
  • The guide parameter of design_agent, compose_agent, build_multi_agent and edit_agent.

To turn off automatic drafts on ship, set GUIDE_AUTOGEN=0.