Skip to content

Events Overview ​

Events are the runtime language of HPD Agent. They are how local apps, hosted clients, TUIs, bot adapters, middleware, sessions, workflows, and subagents observe what is happening during a run.

The simplest event experience is streaming text. The broader event model lets you build:

  • transcripts from text and reasoning events
  • tool timelines from tool-call events
  • permission prompts from bidirectional interactive events
  • workflow timelines from workflow events
  • subagent and multi-agent views from metadata and child events
  • trace views from trace/span fields
  • thread replay from durable thread events

What To Read ​

Start here:

Then use focused pages:

Core Rule ​

HPD sends events linearly. Your app projects them into the shape it needs.

text
ordered event stream
  -> transcript
  -> tool timeline
  -> permission queue
  -> workflow tree
  -> subagent view
  -> trace/debug log

For hierarchy, use the most specific correlation fields available: MessageId for message content, CallId for tools, request ids such as PermissionId for bidirectional flows, workflow node ids for workflows, agent metadata for child-agent labels, and trace/span fields for trace views.

Thread-scoped projectable events commit to the canonical journal before publication. Process-local diagnostics, metrics, and high-volume samples use their dedicated runtime surfaces. Choose the publication surface according to whether the event must participate in replay and thread reconstruction.

Built for production .NET agent applications.