Smart agents do stupid things.
We break the habit.

Setta reads every run, finds what your agents get wrong on repeat, and proves each fix on your own traffic before it ships. On API bills and on your own GPUs.

Unproven fixes
0
each one replayed first
Your team’s time
~30 min
to export traces
Audit report
5 days
and you keep it

§ I

Agents do stupid things on repeat, and nobody sees it.

Each run looks fine. The waste only shows across thousands of them, and in a product it runs once for every customer.

Sample hour of production traffic · 142 callsSetta reading
cache breaker unused tools repeat error re-learned context stale setup normal
Flagged in this sample$0.00
$141.79 per hour flagged≈ $102k / month, if it holds up in replay

§ II

Five things we find in almost every product agent.

  1. 01/05

    Bloat

    Every tool definition rides on every call, used or not.

    − tools: 41 definitions on every call+ tools: the 3 this step uses, the rest on demand
  2. 02/05

    Cache breakers

    One field near the top rewrites the cache for every customer.

    − system: "Today is {now}. Tenant {id}." …+ system: stable prefix first, the timestamp after it
  3. 03/05

    Repeat errors

    The same failing call and retry, account after account.

    − crm.search → 401 → retry → 401+ refresh the token before the call → 200
  4. 04/05

    Re-learning

    Every run looks up the same config and schema again.

    − get_schema · get_config · get_schema+ schema and config in the starting context
  5. 05/05

    Stale setups

    Workarounds a newer release made redundant, still running.

    − "Reply ONLY in valid JSON" + a repair retry+ native structured output

§ III

Token savings aren’t bill savings.

Every fix is replayed on your own traces, with the prompt cache modeled, before we recommend it. A trim that breaks the cache shows up as the cost increase it is.

SessionTokensBill per 1,000 sessionsTotal
Today225k tokens$264
Trimmed, prefix changes every call159k tokens −29%$642 +143%
Trimmed, prefix held159k tokens −29%$207 −21%
Fig. 1 · Same trim, two billsIllustrative 10-call session. Cache writes priced at 1.25× input, reads at 0.1×.
Replays, doesn’t guess
Your traces, step by step. No tokens spent.
Cache-aware
Writes, reads and evictions, priced per provider.
Checked against your bill
Rebuilds what you paid before it projects.
Lower bound only
Priced on held-out runs. Rejected fixes listed.

§ IV

Keep your agents clean and current.

  1. i.Read every runLangSmith · Langfuse · OTel · provider logs · your gateway
  2. ii.Find the patternsthe five patterns above, across every run
  3. iii.Replay each fixyour traffic · cache-aware · lower bound
  4. iv.Ship itprompt, tool or config change · A/B test · rollback

New model, provider or price? The fix goes back to replay.

Fig. 2 · How a fix ships, and how it stays right

§ V

Questions we keep getting.


§ VI

Guides.


§ VII

See what your agents do on repeat.

For
Teams with agents in production
You send
A trace export, about 30 minutes
You get
Proven savings, what to fix first, what we rejected
When
5 business days
Price
Free

You send a trace export. There’s nothing to install.