Skip to main content
Semai Advisor emits a small, stable set of events so operators can see what the agent is doing, where it struggles, and which guardrails need tuning. Telemetry is separate from module audit logs (which record every write): audit answers what happened; telemetry answers how the agent behaved.
Telemetry is auto-write under the knowledge tiers: it fits an existing schema and never proposes changes to literature.

Event schema

Every event carries a common envelope, then a payload specific to the event type.

Common envelope

Event types

Emitted after the Interpret stage.What it tells you: which intents are hard to classify, where phrasing changes hurt accuracy, and how often users get a scoping question.
Emitted when the Decide stage picks an artifact.What it tells you: which artifacts dominate, whether severity-high paths behave as expected, how much the pre-fill actually covers.
Emitted when a Task or Proposal requires human confirmation per the reversibility test.What it tells you: whether confirmations are being canceled at high rates (signal the pre-fill or timing is off) and where friction actually lives.
Emitted when the user hits undo within the 5-second window after an optimistic commit.What it tells you: the strongest signal that the advisor’s pre-fill was wrong. High undo rates on a specific target field indicate a bad inference.
Emitted when a module refuses a write.What it tells you: which refusals fire often. High counts on a single code either point to a mis-tuned rule or a workflow that should be a soft warning instead of a refusal.
Emitted when the advisor surfaces a soft warning per the module’s guardrails.What it tells you: whether soft warnings are useful (mixed proceed/cancel) or noise (100% proceed → remove them).
Emitted when the advisor files a knowledge-base Proposal.What it tells you: what the agent is learning to want. High-frequency Proposals against the same target indicate the knowledge base is behind reality.
Emitted when a human reviewer approves or rejects a Proposal.What it tells you: whether the propose-value tier is healthy (proposals reviewed within SLA, approval rate not zero, rejection reasons clustered).
Emitted when a session ends (30-minute idle or explicit close).What it tells you: session shape (short lookups vs. multi-step workflows) and where sessions die unexpectedly.

Core dashboards to build against this schema

Privacy and retention

  • raw_input on intent_classified is redacted per org privacy rules. Personally identifying tokens are stripped before write.
  • Telemetry is scoped by entitlement_scope. Cross-org aggregation is opt-in and anonymized per the Overview global tier.
  • Retention default: 90 days for raw events, indefinite for aggregated dashboards.
  • Overview — the artifact contract these events observe.
  • Agent Loop — the stage each event corresponds to.
  • Failure Modes — what happens when the agent cannot proceed normally.