Zespan
Start free

Feature  ·  Fix approvals

Every fix is replayed before a person approves it.

Zespan drafts a fix for a proven issue, replays it on your recorded runs, shows what it caught and what it would also break, then waits for a named reviewer.

Prevention drafts need the Pro plan; Propose Fix needs Team or Scale. For policy as code and tool-call approvals see Governance; for rule types see Guardrails.

Start free →View docs
Zespan Fix approvals
Works withPrevention draftsReplayDryrunBacktestPropose FixFix trackingAudit log

100

clean traces to prove a draft

3 days

of traffic covered

< 0.5%

normal traces it may stop

Fix approvals

A guardrail drafted from a proven cause

What you get

Example: "Caught 12 of 12 similar traces, 0 false hits, over 14 days."Zespan drafts on its own at most 5 a day per project, and never turns one onDrafting reuses runs already read: no model call, no spend on your connection

When an issue's cause is proven from its spans, Zespan can draft a policy from that agent's own recorded traces. The draft is proven only if it would have stopped the original failure and no more than 5, and under 0.5%, of at least 100 normal traces covering 3 days. If it is not proven, the page says why, with the counts.

A guardrail is ready for your review: cause confirmed, replay over the last 30 days stopped 41 of 41 failing runs and 0 normal, fix state Proposed, with a note that turning it on applies the rule at dry-run, and Turn on guardrail and Review the guardrail buttons

Fix approvals

A prompt fix tested against production

What you get

The request shows the gate's score deltas and regression countIf a tool result was not captured, the run reports unverified and proposes nothingThe draft has no label, so a latest lookup never reaches it before approval

On an incident traced to one causal prompt deploy, Propose Fix drafts a new prompt version grounded in the incident's own failing traces. Zespan replays those failures against both the production prompt and the draft, scores both with your LLM judge, and compares them on the quality gate. Only a draft that beats production goes to the approval queue.

Approvals page with two pending requests; the selected fix, require refund.issue before confirming, is assessed medium risk and reversible, replayed against 41 failing runs with 41 of 41 passed, with Approve and apply and Reject buttons

Fix approvals

A named person decides

What you get

Moving to warn or deny is a separate apply on the policy review screenDeny with no backtest behind it offers Run backtest now, against the last 7 daysAn apply is a change, not proof: fix tracking measures the runs that follow

Nothing is ever auto-deployed. The reviewer of a Propose Fix must be someone other than the person who requested it, and chooses staging or production on approval. A drafted guardrail goes live only when someone presses Turn on guardrail, and then it starts in dryrun: it records what it would block and blocks nothing.

Approval requests table: a prompt fix requested by support-agent via Zespan and a high-risk refund.issue tool call, each pending with Approve and Reject, and a note that every decision is recorded in the audit log

Fix approvals

Every decision on the record

What you get

Undo: restore this apply re-plans a dashboard apply for reviewA logbook correction is a new entry, never an editApproval requests are change-management evidence for SOC 2 CC8.1

Turning on a guardrail, guardrail changes and every prompt publish or rollback are recorded in the audit log against one actor: a person, an API key or the system. Apply history names the teammate who ran each apply. The Activity logbook shows the team's approval rate and median review time over the last 30 days.

Audit log events, newest first, with actor, action, status and risk: a person's policy.backtest.completed, approval_request.approved and approval_request.rejected, and System-created approval requests

Setup

Two lines of code.
Running in minutes.

No forking and no architecture changes. Traces appear within seconds of the first agent run, with cost attribution, eval scores, and anomaly alerts on by default.

bash
# Backtest your policies on the project's own recorded traffic
zespan policy test --against issues

# See exactly what an apply would change, then apply it
zespan policy plan --env prod
zespan policy apply --env prod

Common questions

How is this different from the Governance and Guardrails pages?

Governance covers policy as code, holding a risky tool call with awaitApproval, and the audit trail. Guardrails covers rule types and actions. This page is the fix loop: how Zespan drafts a fix, proves it on your own traffic and hands it to a person.

Can Zespan apply a fix on its own?

No. It drafts and replays; a person applies. A drafted policy is saved at dryrun and Zespan never applies it, and a code fix draft only gets a Review the fix link, because Zespan does not change your code.

What does dryrun do?

Everything is recorded and nothing is surfaced or blocked. The docs recommend starting every policy at dryrun, checking what it would have caught, then moving to warn, then deny.

What if I don't have enough traffic to prove a draft?

The draft shows the real count, for example "40 of 100 clean traces so far". You can send past traffic to POST /v1/ingest with its original timestamps; traces from the last 14 days count toward the proof.

Explore more features

All features →
TracingSee exactly what your agents are doing.Every LLM call, agent step, and tool invocation captured as a structured trace — with cost, latency, and tokens per span.Agent MonitoringKnow which agents are healthy, and which aren't.Composite health scores, delegation graphs, and per-agent cost attribution — built for systems with many cooperating AI agents.EvaluationsMeasure output quality on every trace, automatically.12 built-in LLM-as-judge templates run on every new trace with no setup. Track quality trends, catch regressions, and run manual eval campaigns.GuardrailsStop bad outputs before they reach users.7 guardrail types run inline on every LLM request — block, warn, redact, or log. PII, toxicity, topic drift, format, cost ceiling, and custom rules.

Your agents are running.
Do you know what they’re doing?

Observe, evaluate, guard, and control every agent, live in minutes. No credit card required.

Free tier availableSetup in a few minutesNo credit card