Canonical: https://weaveos.com/agent-observability

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.

[Book a demo](https://weaveos.com/demo)[Read the research](https://weaveos.com/research/q2-2026)

Sample sessions

Claude CodeCodex

1. 01`prompt`Fix rounding in invoice totals
2. 02`model.call`18.4k tokens · $0.21
3. 03`tool.read`billing/invoice.ts
4. 04`tool.edit`invoice.ts · 3rd edit
5. 05`tool.test`billing.spec.ts · 2 failedFailed
6. 06`tool.edit`invoice.ts · 6th editFlagged
7. 07`prompt`Use banker’s rounding instead
8. 08`tool.test`billing.spec.ts · passed
9. 09`pull_request`#1842 merged

9 spans · Illustrative, not a customer session.

[See the full trace](https://weaveos.com/agent-observability#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.

- Velocity
- Pull requests
- Team standards

### 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

0m10m20m30m

1. `prompt`Fix rounding in invoice totals12s
2. `model.call`18.4k tokens · $0.211m 04s
3. `tool.read`src/billing/invoice.ts6s
4. `tool.edit`invoice.ts · 3 edits4m 20s
5. `tool.test`billing.spec.ts · 2 failedFailed1m 10s
6. `model.call`6 calls · 41.2k tokens · $0.3810m 20s
7. `tool.edit`invoice.ts · 6 editsFlagged10m 00s
8. `prompt`Use banker’s rounding instead10s
9. `model.call`9.6k tokens · $0.111m 10s
10. `tool.test`billing.spec.ts · passed1m 04s
11. `pull_request`#1842 opened6s
12. `review`1 reviewMerged16m 24s

Sample session, illustrative

Selected span

`tool.edit`

invoice.ts · 6 edits

- Kind

  Tool call

- Starts at

  8m 00s

- Duration

  10m 00s

- Status

  Flagged

Six edits to one file before a correction. $0.38 of model spend went into the loop.

Session detail depends on the agent traces you connect.

[How loop detection works](https://weaveos.com/agent-observability#loops)

## 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](https://weaveos.com/research/q2-2026)

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](https://docs.weaveos.com/releases/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](https://weaveos.com/blog/detecting-doom-loops-what-582-spirals-in-production-taught-us-about-coding-agents)

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

Merged · $26Everything else · $74

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](https://weaveos.com/products/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:

| Measure           | Unit                                  | Source                                                    |
| ----------------- | ------------------------------------- | --------------------------------------------------------- |
| Task success      | Tasks passing your acceptance tests   | A fixed task set run against each model or route          |
| Cost              | Dollars per trial, or per merged PR   | Provider billing, or usage estimates labeled as estimates |
| Latency           | Minutes per trial                     | Session timeline                                          |
| Accepted output   | Estimated expert hours merged         | Weave code output for the resulting PRs                   |
| Review and rework | Review rounds, code turnover, reverts | Source 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.

| Question         | Weave Agent Observability                                                   | Langfuse                                                                                                                                            |
| ---------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| Unit of analysis | Coding-agent session linked to PRs, reviews and deployments                 | Traces and spans of instrumented LLM applications and agents, including supported coding tools                                                      |
| How data arrives | Weave telemetry plugin plus connected source control, delivery and AI tools | SDKs, OpenTelemetry or the optional Langfuse AI Gateway                                                                                             |
| Outcome measured | Review, merge, revert and turnover of the resulting code                    | Evaluation scores, experiments, and prompt and skill versions                                                                                       |
| Cost view        | Session cost, plus cost per person, tool and model labeled by source        | [Token and cost tracking](https://langfuse.com/docs/observability/features/token-and-cost-tracking), with cost per user and key through the gateway |
| Model selection  | Weave Router chooses a model per coding request                             | The 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](https://weaveos.com/products/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](https://weaveos.com/demo) to open three of your own Claude Code or Codex sessions beside the PRs they produced.

## Keep reading

- [How to measure coding agents](https://weaveos.com/blog/ai-agents-are-shipping-code.-can-your-metrics-keep-up)
- [AI ROI methodology](https://weaveos.com/methodology/ai-roi)
- [Route agent traffic with Weave Router](https://weaveos.com/products/router)
- [Measure engineering output and quality](https://weaveos.com/products/engineering-intelligence)

## Bring your agent sessions into view.

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

[Book a demo](https://weaveos.com/demo)[Start for free](https://app.weaveos.com/sign-up)
