agent-taskbay
ReferenceExtensions

Extensions reference

For agent authors and operators: the A2A extensions Agent Taskbay defines or understands, how an agent opts in, and what happens when it does not.

> For agent authors and operators: the A2A extensions Agent Taskbay defines or understands, how an agent opts in, and what happens when it does not.

Agent Taskbay defines three optional A2A extensions of its own, understands one external extension (A2UI), and decodes two sideband event formats. All are opt-in per agent. None is required to use the console: an agent that advertises nothing still works as a plain A2A agent, and the console shows what it sends as ordinary messages and data.

These extensions are young. They are specified by this repository only; they have not been proposed to or accepted by the A2A project (#19 tracks proposing them), and a formal plugin contract for extensions is not done (#26). Expect changes; URIs ending /v1 are not guaranteed stable until a release says so.

The extensions

ExtensionURIDirectionWhat it doesPage
Structured formhttps://extensions.allsrc.dev/agent-taskbay/structured-form/v1Agent to console and backAsk for typed input, or offer a start-of-task formstructured-form.md
Approval requesthttps://extensions.allsrc.dev/agent-taskbay/approval-request/v1Agent to consoleAsk a reviewer to approve one exact actionapproval-request.md
Skill routinghttps://extensions.allsrc.dev/agent-taskbay/skill-routing/v1Console to agentRestrict a send to one skill so a skill-scoped grant means somethingskill-routing.md
A2UI (external)https://a2ui.org/a2a-extension/a2ui/v0.9BothRender agent-described interface surfaces from a safe subseta2ui.md
Sideband eventsurn:agent-observability:sideband-events:v1Agent to consoleProgress and trace events shown beside the taskbelow
a2a-wrapper traceurn:x-a2a:trace:v1Agent to consoleTrace artifacts mapped to the same sideband eventsbelow

The urn: URIs are built into the code. The project's own extension URIs use the domain extensions.allsrc.dev and are identifiers only; nothing is fetched from them. The identifier prefix may change when wire identifiers are renamed (#27). Treat a URI as immutable: an incompatible change is published as a new version suffix, never by editing /v1.

How an agent opts in

  1. Advertise the URI in the Agent Card under capabilities.extensions:

    {
      "capabilities": {
        "streaming": true,
        "extensions": [
          { "uri": "https://extensions.allsrc.dev/agent-taskbay/structured-form/v1", "required": false }
        ]
      }
    }
  2. Send content in the agreed shape. For structured forms and approval requests that is a data part with a specific media type inside the status message of an INPUT_REQUIRED task. See each page.

You can try all of this without writing an agent: npx agent-taskbay demo-agent serves cards that advertise these extensions. See Build an agent for Taskbay.

Negotiation rules

These hold for every extension on this page unless its own page says otherwise.

RuleBehavior
Opt-in by cardContent is interpreted only if the agent's Agent Card advertises the extension URI. A part with the right media type from an agent that did not advertise it stays an ordinary data part.
Stored card, not liveAgent Taskbay reads the agent's most recent stored card snapshot. A snapshot is stored when the card is discovered through GET /api/agents or GET /api/agents/{agentId} (the catalog and agent pages do this). POST /api/agents only registers the URL and does not store one. If extension behavior is missing right after registration, load the catalog once. A card change takes effect at the next discovery.
Failure is quietMalformed or over-limit content is not an error. It stays ordinary message content and the normal composer remains available.
Never executedNothing an agent sends is evaluated, and no agent-supplied string is rendered as markup or a URL that the console loads.
Authorization is unchangedAnything the console sends back (a form submission, an approved action, an A2UI action) goes through the normal command path: same role and grant checks, rate limits, idempotency and audit as a typed reply.
required flagAn extension the card marks required: true that Taskbay does not understand blocks sending to that agent (409, kind extension_required) until an administrator allows it. Taskbay understands the sideband extensions (built in or named in A2A_SIDEBAND_EXTENSION_URIS), structured form, approval request, A2UI and skill routing. Cancels are never blocked. See Required extensions.
Unknown extensionsExtensions that the console does not know are ignored.

What is sent to the agent

Supported extensions advertised by the agent are declared in the A2A-Extensions request header and, for sends, the message's extensions field. This includes structured forms, approval requests, A2UI and supported required extensions, as well as configured sideband URIs.

Caller-supplied config.extensions are merged and de-duplicated into both the header and message, including those enabled in Settings. Optional skill routing is activated only when a send supplies the validated skill route; a required skill-routing extension is declared on every request. Sideband decoding remains limited to the built-in or configured sideband URIs: negotiating a form or approval extension does not turn its content into trace events.

Sideband events

Sideband events are optional progress or trace records that an agent attaches to its responses. They are delivered on the sideband event of the stream route, decoded from the stored task events as they are streamed. In this version no console screen renders them (no component under src/components or src/app reads them), so today they are useful to API consumers only.

A payload becomes a sideband event only when it lives under a negotiated extension URI (advertised by the agent and understood by Agent Taskbay). Ordinary metadata is ignored. Decoded sources:

  • Message or status metadata entries keyed by the extension URI, or by <uri>/events, <uri>/sideband, or the conventional sideband and sidebandEvents keys.
  • Artifacts whose extensions list names a negotiated URI. For urn:x-a2a:trace:v1 the artifact's metadata.traceType (or its name) is mapped: trace.lifecycle to agent.started, agent.finished or agent.error; trace.mcp.start to tool.started; trace.mcp to tool.completed, tool.declined or tool.failed; trace.thinking and trace.thought to agent.thinking (debug level); trace.decision to agent.decision; trace.delegation to agent.delegation. Other trace types pass through with a generated title.

Each event has an id, timestamp, extension URI, type, title, level (debug, info, warning, error), normalized parts, optional metadata and task references. Duplicates (same URI, id and parts) are dropped.

Limits

  • Only extensions advertised in a stored card are honored; there is no way to force one on for an agent that does not advertise it, except by adding a URI to the request list (which only affects what is sent).
  • No schema is published for sideband payloads beyond what the decoder accepts; unrecognized shapes become a generic event.
  • No automated browser test suite covers structured forms (#14).

Further reading

Created and maintained by Shashi Kanth G S at allsrc.dev. Visit shashikanth.me.

On this page