Skip to content

docs(research): agent-first OpenTelemetry semantics#1184

Draft
chadhietala wants to merge 1 commit into
mainfrom
chad/agent-otel-semantics
Draft

docs(research): agent-first OpenTelemetry semantics#1184
chadhietala wants to merge 1 commit into
mainfrom
chad/agent-otel-semantics

Conversation

@chadhietala

Copy link
Copy Markdown
Contributor

Summary

Adds a research proposal (research/agent-otel-semantics.md) for a self-contained, vendor-neutral agent.* OpenTelemetry convention that treats the agent run as the primary subject — rather than layering on OTel's model-call-centric, payload-heavy GenAI conventions.

The proposal defines, together:

  • Span hierarchy — session (as a trace, not a held-open span) → agent.turnagent.stepagent.action, with the tree reconstructed from traceId + identity attributes + span links (emission-independent).
  • Attribute registry — run identity, agent/framework identity, structure & lineage (agent.action.kind discriminator + single agent.action.name), context, and principal.
  • Event vocabulary — eve's lifecycle events as structural span events (ids/kinds/counts, no content), canonical transitions emitted at-least-once and deduped by transition identity.
  • Natural extension points — new action kinds (MCP/OpenAPI connections), authorization, compaction, reasoning, delegation depth, and author-defined attributes.
  • Invariants — reserved namespace, one trace per session, agent.action ⊂ agent.step, failures recorded on the span that failed (no propagation), uniform lineage, identifiers open by default with PII redactable.

Status

Draft — research/design doc for review. No code changes; research/-only, so no changeset or docs:check.

Open questions

  • Redaction mechanism (hash vs. drop vs. allowlist; PII classification beyond agent.principal.id).

@vercel

vercel Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
eve-docs Ready Ready Preview, Comment, Open in v0 Jul 24, 2026 6:38pm
eve-docs-1644 Ready Ready Preview, Comment, Open in v0 Jul 24, 2026 6:38pm
eve-docs-4759 Ready Ready Preview, Comment, Open in v0 Jul 24, 2026 6:38pm

Add a research proposal for a self-contained, vendor-neutral agent.*
OTel convention that treats the agent run as the primary subject:
span hierarchy (session trace → turn → step → action), an attribute
registry (identity, agent/framework identity, structure & lineage,
context, principal), a span-event vocabulary, and the natural
extension points.

Signed-off-by: Chad Hietala <chadhietala@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant