Cut agent costs by fixing agent loops, broken tool calls, or ambiguous instructions.

Mutagent Diagnostics identifies failures across all your traces, identifies root causes, and proposes the fix you approve.

Run locally on your coding agent. Reduce cost immediately.

Integrates with your stack

You can see it broke. We name why, and propose the fix.

At thousands of traces, the failures that matter are buried.

Your bill keeps climbing
Identifies the agent loop driving the cost
It breaks and you can't tell where
Finds the broken tool call, at the exact line
The agent contradicts itself
Fixes the ambiguous instruction in the prompt
Your eval score dropped
Analyzes the exact failure behind the drop

From a wall of traces to a named root cause

Run it in your own coding agent, and it turns your whole trace history into a short list of named, located causes. Scroll through the steps.

  1. 01

    Run it

  2. 02

    Scan every trace

  3. 03

    Sort signal from noise

  4. 04

    Group and fan out

  5. 05

    Walk to the root cause

  6. 06

    Name it and propose the fix

A real 66-second diagnosis

Point it at your traces, then watch it cluster, find the root cause, and draft the fix.

Any source in. Any target out.

Runs locally and framework-agnostic, through the coding agent you already use.

Sources in
Langfuse
OpenTelemetry
Datadog
{ }Raw JSONL
Claude Code logs
Codex logs
MUTAGENT/diagnostics
Targets out
Claude skills & subagents
OpenCode
Codex agents
Vercel AI SDK
Mastra & LangGraph
Deep Agents
</>Prompts

What a finding looks like

What a finding looks like

Recruiter agent rejected good candidates

WhatWrong outputWhyUnderspecified promptWhereSystem prompt
Evidence
70% of the rejected messages traced back to the same three-line contradiction in the prompt, cited to specific traces across the cluster.
Recommended fix
Resolve the contradiction in the system prompt. Remedies are ranked by cost against confidence, the cheap reliable fix first, then opened as a PR you approve before anything changes.

Real numbers from agents we ran it on

$12,490/mo
the agent bill we analyzed
60%
of it was waste
33%
off the bill in month one, no model change
96%
of the failures were prompt or behavior, not the model

From one recruiting-AI team's teardown: 7,524 agent executions across a 24-hour production window on Langfuse, March 2026. Anonymized at their request, the numbers are theirs.

“A diagnosis you cannot reproduce is an opinion with a progress bar.”

Questions

Does my observability tool not already do this?

No. Langfuse, LangSmith, and Datadog show you that something broke and let you read the trace. Diagnostics reads the whole population, names why it broke on three axes, and opens the fix. It runs on top of the traces those tools collect, it does not replace them.

My coding agent already debugs my agents. Why this?

A coding agent reads one trace and tells you a plausible story. That works at three traces and falls apart at three thousand, because a class of failures sharing an origin only shows up across the population. Diagnostics runs the dataset version: it clusters the whole history, rules out the loud-but-benign signal, and walks each real failure to its origin. It uses your coding agent to do it, it does not compete with it.

Will it change my prompts or code on its own?

No. It diagnoses, names, and proposes. Nothing changes until you approve. Local fixes land on an isolated git worktree as a pull request you review like any other, so your working checkout is never touched. Cloud targets get an idempotent write you can roll back.

Does my data leave my machine, and what about compliance?

No data leaves your machine. Diagnostics runs in your own environment through your existing coding agent, your traces, prompts, and code stay local, and it sends no telemetry by default. There is no egress and no platform to migrate to, so your engineer can prove value before security or legal is ever involved. Every fix ships as a pull request or a versioned change you can revert.

Why will Claude Code or Cursor not just absorb this next quarter?

A coding agent reads one trace at a time, which is the wrong tool for a population problem. The work here is the dataset version: cluster the whole trace history, rule out the loud-but-benign signal, walk each real failure to its origin, and name it on three axes. And every failure class it confirms gets remembered and matched first on the next run, so your failure index compounds. That index is yours, it works across Langfuse, OpenTelemetry, Claude Code, and Codex, and it does not lock you into a platform. The coding agent is the runtime it uses, not the thing it competes with.

I do not have a clean eval set. Can I still use it?

Yes. Diagnostics works from your raw traces and does not need a labelled eval set to find and rank failure modes. Point it at Langfuse, OpenTelemetry, raw JSONL, or your Claude Code and Codex session logs.

How do I trust a diagnosis I cannot reproduce?

Every run pins the model and the temperature, so the same traces produce the same findings instead of drifting. Every finding cites a specific trace message or code line, and the report carries a coverage proof: here is the population, here is how much it read, here is how confident that makes it.

What does it cost to try?

Run it on your own agent for free. The install takes minutes, and a Tier 0 static scan bounds the token cost before any model runs, so the expensive reading only happens where the signal actually is.

Stop reading traces. Start naming root causes.

Copy the command and run it in your own coding agent, or book a custom demo and we will run it on your agents with you.