Agent observability

Your agents, from prompt to merge.

Inspect captured sessions from connected coding agents. See where they loop, what they cost, and the pull requests they match.

Sample sessions

  1. 01promptFix rounding in invoice totals
  2. 02model.call18.4k tokens · $0.21
  3. 03tool.readbilling/invoice.ts
  4. 04tool.editinvoice.ts · 3rd edit
  5. 05tool.testbilling.spec.ts · 2 failedFailed
  6. 06tool.editinvoice.ts · 6th editFlagged
  7. 07promptUse banker’s rounding instead
  8. 08tool.testbilling.spec.ts · passed
  9. 09pull_request#1842 merged

9 spans · Illustrative, not a customer session.

See the full trace

What you see

Every session, in one place.

Session timeline

Every span on one clock, from prompt to pull request.

Loop patterns

Thrash, error streaks, and exact repeats, flagged by pattern.

Spend to outcome

Session cost, joined to the work that merged.

Agent by agent

Interactive and background agents, side by side.

Readable by agents

Weave’s MCP server lets connected agents query your team’s metrics.

Cost coverage

Per-user cost attribution for

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Codex
  • Devin
  • Windsurf
  • Amazon Q
  • Sourcegraph
  • Augment
  • Kiro
  • Firebender

Illustrative shapes

Session trace

Every step, on one clock.

Prompts, model calls, tool calls, tests, and the pull request. Each with its time. Model calls also show tokens and cost.

Session 4f2a · Fix invoice rounding

Claude Code · 12 spans · 38 min · 69.2k tokens · $0.70

  • Prompt
  • Model call
  • Tool call
  • Change
Sample session, illustrative

Inspect the change behind each outcome

Each merge links to Weave's code output estimate, which measures the expert effort the change represents, and to review data such as rounds before merge, review depth and later reverts. A session that produced a routine generated update and one that completed a cross-file migration both appear as one merge; the effort estimate and its written reasoning show the difference. Cost labels state whether a figure is billed, estimated at list price or observed from a plan. When plan coverage is not observed, a session may still be priced at list rates; inspect that label and include the seat fee when reconciling costs.

Autonomy isn’t success

Running isn’t landing.

Most sessions run without a correction. Very few land on the first prompt.

93%ran without a correction or an interrupted tool call
3.5%succeeded on the first prompt

3.7 prompts per session, on average

Weave AI Impact Report, Q2 2026. 79,518 agent sessions; rates use classified outcomes, and about 41% are unclassified.

Read the report

What Weave tracks

Six signals. Six denominators.

One number can’t describe an agent.

  1. 01

    Autonomy

    Runs without a correction or an interrupted tool call.

  2. 02

    First-pass success

    Accepted without another prompt or a rewrite.

  3. 03

    Accepted output

    Agent changes that are reviewed and merged.

  4. 04

    Delivery

    Task start to accepted change.

  5. 05

    Quality

    Reverts and rework after merge.

  6. 06

    Cost

    Spend per accepted change.

Coach the engineer’s decisions inside the session

AI Skills v2, released in November 2026, reads the human side of the conversation.

  • Session selection: one eligible session per engineer per day. Plugin sessions need at least five human prompts. A weekly fallback accepts a session with two for engineers who had no daily pick.
  • What it rates: decisions such as planning, verification and context management, scored only where the session offered a real opportunity.
  • Evidence: each rating links to its rationale and its place in the conversation.

AI Skills evaluates the engineer's decisions; it does not credit the engineer for steps the agent took on its own.

The syntax era of agent reliability is over. The behavioral era is just getting instrumented.
From “Detecting doom loops,” Weave blog

Loops and stalls

Catch the stuck session early.

Bad tool calls are rare now. The harder failure is a correct step, repeated under a plan that stopped working.

  • Same-file thrash

    About five or more edits to one file, no progress.

  • Error streak

    Three or more failed tool calls in a row.

  • Exact repeat

    The same call, same arguments, again.

spirals in about 25,500 sessions
582
invalid-argument rate, worst model
0.04%

Weave Router, 30 days: about 275,000 requests and 150,000+ tool-use blocks. Detectors recorded matches without acting on sessions.

What 582 spirals taught us

Spend to outcome

Spend, joined to what merged.

Weave joins traces to cost and source control.

$26of every $100 in session spend was associated with work that merged

Weave AI Impact Report, Q2 2026. 21,907 sessions with trace and cost data. A share of spend, not a savings figure.

See Token intelligence

Compare coding models on the same work

Define the coding task and its acceptance tests before choosing models. Then record each measure in its own unit:

MeasureUnitSource
Task successTasks passing your acceptance testsA fixed task set run against each model or route
CostDollars per trial, or per merged PRProvider billing, or usage estimates labeled as estimates
LatencyMinutes per trialSession timeline
Accepted outputEstimated expert hours mergedWeave code output for the resulting PRs
Review and reworkReview rounds, code turnover, revertsSource control after merge

Hold the harness, task set, date and number of trials constant across every arm. If a cheaper option solves fewer tasks, report that gap alongside the savings.

Tracing, evaluation and model routing

How does Weave compare with Langfuse?

LLM observability platforms such as Langfuse start from traces of model calls, tool calls and spans in instrumented applications and agents, including supported coding tools. Evaluations and experiments then judge those outputs.

Weave starts from the coding session an engineer runs in a tool such as Claude Code or Codex, and judges that session by the code change it produced.

Weave wrote this comparison. Langfuse details come from its public homepage, reviewed November 14, 2026.

QuestionWeave Agent ObservabilityLangfuse
Unit of analysisCoding-agent session linked to PRs, reviews and deploymentsTraces and spans of instrumented LLM applications and agents, including supported coding tools
How data arrivesWeave telemetry plugin plus connected source control, delivery and AI toolsSDKs, OpenTelemetry or the optional Langfuse AI Gateway
Outcome measuredReview, merge, revert and turnover of the resulting codeEvaluation scores, experiments, and prompt and skill versions
Cost viewSession cost, plus cost per person, tool and model labeled by sourceToken and cost tracking, with cost per user and key through the gateway
Model selectionWeave Router chooses a model per coding requestThe optional gateway routes OpenAI and Anthropic calls
Can Weave change the model serving a coding session?

When sessions show expensive models handling routine turns, Weave Router can take over model selection per request. It weighs task difficulty, prompt-cache cost, and progress. Router is independent of the telemetry plugin and billed separately, so a team can observe first and route later. Book a demo to open three of your own Claude Code or Codex sessions beside the PRs they produced.

Bring your agent sessions into view.

Right beside the output, quality, and cost Weave already measures.