Skip to content

ATIF trajectory format used by Harbor #338

Description

@jeremyeder

The Harbor benchmark captures trajectories in ATIF (Agent Trajectory Interchange Format).

This issue is to gather feedback and track interest in the ATIF format among OTEL users.

We (and others [1]) convert ATIF trajectories to [OpenTelemetry (https://opentelemetry.io/) spans for visualization.

While this works, the conversion is bespoke and incomplete until the conventions exist to cover the full surface area of what is valuable and unique in both test and production GenAI environments.

Several of the LLM-specific fields in ATIF have been requested. The "why" column is mine.

Priority # Type Topic Dashboard Status Why
P1 — Must #287 Issue Cost conventions Not tracked Without cost attributes, every consumer builds bespoke token-to-price tables
P1 — Must #197 PR Cache/phase token breakdowns in metrics Waiting on authors (has conflicts) Cache tokens are 88% of our input volume; metrics without this dimension are misleading
P1 — Must #96 PR Cache & reasoning token metric attributes Draft Prerequisite for cache-aware cost dashboards
P1 — Must #309 Issue Causal span linking for tool execution Not tracked Parallel tool calls are invisible without causal links to the triggering LLM step
P2 — Want #203 PR gen_ai.agent.steps metric Waiting on authors (has conflicts) Step count variance (7–48×) is the primary driver of cost variance
P2 — Want #336 PR Inference/tool calls per invocation Waiting on reviewers Needed to correlate agent behavior with cost at the metric level
P2 — Want #79 Issue Evaluation experiments & test cases Not tracked Experiment metadata (task, wave, rep, reward) currently lives in custom attributes
P2 — Want #185 PR Evaluation operation & span Waiting on authors (CI failing) Standardizes how eval scores attach to traces
P3 — Nice #76 Issue Detailed token usage metrics Not tracked Covers reasoning tokens; less urgent than cache for our use case
P3 — Nice #320 Issue Agent harness hook conventions Not tracked Useful for cross-harness policy correlation but not blocking. Will increase in priority as time passes

[1] https://github.com/Arize-ai/phoenix/tree/main/packages/phoenix-client/src/phoenix/client/helpers/atif

cc @lmolkova @trask - filed after the June 23 call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    New issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions