Skip to content

Observability Overview

Languages: English · 中文

Agently has several event-like surfaces. They are related, but they do different jobs.

SurfaceOwnerPurposeRead
RuntimeEvent recordsEvent CenterFramework-level events such as model requests, Session, Action calls, TriggerFlow lifecycle. DevTools receives ObservationEvent projections derived from these records.Event Center
TriggerFlow emit / whenTriggerFlow executionFlow-control signals inside one executionTriggerFlow Events and Streams
TriggerFlow runtime streamTriggerFlow executionLive data items for UI, SSE, logs, or wrappersTriggerFlow Events and Streams
DevToolsagently-devtools companion packageVisualize runs, upload observations, run evaluations, expose an interactive wrapperDevTools
Coding-agent guidanceAgently-Skills companion repoGive Codex, Claude Code, Cursor, and similar tools current framework guidanceCoding Agents

Rule of thumb

  • Use Event Center when you want to consume framework RuntimeEvent records without changing application behavior.
  • Use TriggerFlow emit / when when an event should route work inside the flow.
  • Use TriggerFlow runtime stream when a chunk needs to push live output to an external consumer.
  • Use DevTools when you want a ready-made observation, evaluation, or interactive UI path.

The source-backed RuntimeEvent shape lives in agently/types/data/event.py, and the event dispatcher lives in agently/core/Runtime/EventCenter.py. DevTools examples live under examples/devtools/.