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
  • branch replay from durable branch 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
live 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.

Do not treat live rendering as persistence. Durable branch history only includes events that are mapped or opt in to branch persistence.

Built for production .NET agent applications.