Skip to content

[FEATURE]: Agent event schema and broker adapter #618

Description

@jakedipity

Summary

Agents publish straight into four process-global brokers keyed by request id, so observing an agent means being an HTTP request. Give agents an event vocabulary of their own, plus an adapter that republishes it onto those brokers, so producers can move over without any consumer changing.

Goals

  • An event type covering what an agent surfaces today: tool lifecycle, MCP progress, reasoning and response content, the usage reports, HITL approvals, MCP status.
  • Independent of the wire format's serialization constraints, and free of request-scoped correlation, which belongs to whatever observes the agent rather than to the agent.
  • SSE, A2A, and CLI output unchanged while the new schema exists alongside the current path.
  • Demonstrable parity — a regression test that fails when translation drops or reshapes a field, exercising the real broker registry rather than stubbed channels.
  • Adoption incremental and reversible behind a flag, with no producer obliged to move.

Searched Issues

  • No similar issues found

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions