IT-RAT guides/verdryx Live demo Stack All guides Console
a guide · verdryx

How Verdryx works, how to run it, what changed.

The Verdryx room keeps the sixty-second shift, the drawing of the graders, how to start it, and the common questions. This guide keeps the rest of what the room used to say: what it grades in full, how a case gets a price, the six graders, where it sits in the stack, how to run it, what changed from 1 to 15 October 2026, and its limits.

at a glance

Verdryx at a glance.

  • Version: v0.4.0 · Python 3.11+.
  • Tests: fully offline suite.
  • Core deps: one, rfc8785 (+ optional extras).
  • Reads: tokenfuse Parquet traces · NDJSON · CSV.
  • Exports: agent-events v0.2 · OTLP spans.
  • Licence: Apache-2.0.

What it is

Verdryx grades each case by exact match, regex, a production outcome tag, the order of its tool calls or an LLM judge, and prices the result that matters: cost per resolved case, not cost per call. On the live run in VALIDATION.md, a resolved case cost $0.00042, and each abandoned attempt cost $0.00025 for nothing.

under the hood

Six graders in, one honest number out.

Traces and eval sets go in. Exact match, regex, an outcome tag straight off the gateway or the order of the tool calls decide what happened, and where a rule cannot, an LLM judge or a typed verdict from Typryx does, with its own cost counted like everything else. What comes out: a cost-per-outcome report, a drift verdict against a stored baseline, a SQLite file, and an event or a span for whatever is already watching your stack.

Sixty seconds, one shift

This is a simulation, but shaped by the real run: a live, Claude-backed support workload whose outcome-tagged traces were read back and graded. A shift's worth of support cases gets graded, a real cost per resolved case comes out the other side, and a drift check runs against a stored baseline before one OTLP span closes the loop. It runs on the room.

what it grades

Not a bigger number. A truer one.

Cost per outcome

Resolved, abandoned, escalated: real outcome tags straight off the TokenFuse gateway turn into a dollar figure per case, not a total nobody can act on.

Drift with statistics

A flat threshold catches the obvious drop. Beside it, a bootstrap interval on the difference catches the small, consistent regression a threshold tuned for noise would miss. Welch's t is reported next to the verdict and does not decide it. Point it at a baseline whose source run is gone and it fails loudly, not silently.

The LLM judge is metered

An llm_judge case's cost is a real dollar figure, priced against the same book TokenFuse uses, not the zero placeholder the deterministic graders leave behind.

One-dependency core

The graders and drift maths use only the standard library. The one runtime dependency is rfc8785, which canonicalises the JSON the event chain is hashed over. Anthropic and Parquet support are opt-in extras, not a tax on the common path.

Offline test suite

The suite runs against a deterministic StubLLMAdapter, with no network and no API key. It's what Verdryx's own CI runs, and what --model stub gives you too.

Findings

drift and slo used to print a verdict and forget it. A drift regression, or an SLO breach the interval establishes (the bar the bus already uses), is now stored as a finding: the agent, the window, the kind (drift, slo_exhausted or slo_fast_burn), the evidence (run ids, the lowest scoring cases, the gateway runs that failed an indicator) and a suspect model or version. The suspect says which of three things it is: a change, no change across the runs compared, or too few runs to compare. verdryx eval can record an --agent-version on a run. The same failure seen again is one finding seen again, and verdryx findings list and show read them back.

Fix verification

verdryx findings fix ID --note ... registers a fix, with an optional --version. The next drift or slo decides it from the runs that started after it. Measured and clean is verified, and the finding closes. Measured and still failing is failed: the finding reopens and the attempt is kept with its numbers. Anything short of a measurement stays pending with its reason: no run since, too few runs, runs of another version, or an interval that still covers the target. A fix draws a line in time. Runs from before it neither verify it nor undo it, and a closed finding is not reopened by the runs it was closed over. Unmeasured is never a pass.

Human grades

verdryx grade RUN CASE VALUE --author NAME --key-file PATH writes a person's grade. It replaces the model's value in a run's mean, in drift and in the quality floor, and the model's own value stays beside it. A later grade supersedes an earlier one, and both stay on record. Every grade carries its author, a principal registered with verdryx principal add, whose generated key is written once (mode 0600) and stored as a hash. The role reviewer can grade; the role uploader cannot. eval needs no credential and has no path to a grade: a gate reads the package for exactly one place that writes a grade and exactly one caller of it.

All of it is deterministic: no model, no network and no new event type on the bus.

Defensive by design

Grades an operator's own agents against an eval set or a production outcome tag. The README puts it plainly: it “never manipulates outputs, never crafts adversarial prompts, and never attacks anything.”

error budgets

Error budgets, measured and never enforced

verdryx slo reads the same traces as four ratios of good runs over eligible runs, each with the budget left and the rate it is going. It sends an slo_burn event only when the confidence interval sits below the objective, and it enforces nothing.

An exhausted budget has two readers

Wardryx turns a spent budget into a hold for a person, in both launchers, which measure every six hours. Heraldyx mails an slo_burn at once, in words that say nothing was enforced.

cost per outcome

How a case gets a price, including the calls nobody tagged

How the figure is built

The input is the gateway's own trace, not a second pipeline built to agree with it: run id, step, outcome tag, decision, and cost in microdollars, read straight from TokenFuse's Parquet segments, NDJSON or CSV. Verdryx reduces it the same way TokenFuse itself does, so the two never quietly disagree about what a run cost.

Rows are ordered by run and step, and the last non-empty tag a run carries is the one that counts: a case that escalated after two failed attempts is an escalation, not three separate stories.

Then the parts most reports lose. Every call in a run folds into that run's bucket, not only the tagged one, so an untagged intermediate call's cost is not dropped on the floor. A run nobody ever tagged still appears, under an explicit untagged label, rather than vanishing from the report and making the average look better than it is. And a call the breaker blocked is still counted, but at no cost: the figure recorded for it is an avoided estimate, never a settled charge, so it stays out of what the outcome cost.

The result is one row per outcome tag, with count, total and mean, plus an overall row pooling everything. A dollar figure per resolved case is a number an operator can act on; a monthly total is not.

graders

Six graders, and which two of them can cost money

What grades a case

Every case resolves to a score between zero and one, whichever of the six graders it asks for, so a case simply names the one it needs.

Exact and regex score a literal or a pattern: deterministic, free, and the right tool far more often than people expect. Outcome tag reads a production tag instead of an expected answer, scoring a resolved case at one, an escalation at a half and an abandonment at zero, with the whole table overridable; an unrecognised tag scores zero rather than raising, so one odd tag cannot take a report down. Tool trace scores the model's ordered tool calls against the calls it was supposed to make, which is the difference between a right answer and a right answer reached by touching things it should not have. LLM judge grades against a written rubric where those four cannot. Typed asks a separate Typryx service a typed question about the output, a yes or no or a graded level, and scores the probability it returns; a case Typryx cannot answer is counted apart with its reason, never scored as a zero.

Only the judge and the typed grader can spend money, neither runs by default, and both say so: the judge’s cost is priced against the same book the money plane uses, and a typed verdict carries whatever cost Typryx reports for it, rather than the zero a deterministic grader honestly leaves behind. The typed grader runs only when a run is given a Typryx address with --typed-url. An eval suite is itself an agent workload; a quality tool that hides its own bill has no business auditing anyone else's.

The judge takes an injected adapter, so the same suite runs against a deterministic stub with no network and no key, which is what Verdryx's own tests use, or against a real model when you want the real verdict.

in the stack

The line that turns spend into a verdict.

Verdryx prices the traces TokenFuse writes: outcome tags and spend data share the same request path, so cost and quality can never quietly drift apart. Its quality_drift events ride the same bus as Platform's Agent Passport contract. Mockryx can require an off-path reaction from Verdryx as part of a pre-prod drill. A typed grader from Typryx sits beside its LLM judge, opt-in per run with --typed-url.

Cost per resolved case sits inside a wider practice: FinOps for AI, and the controls around it in AI agent governance.

try it now

Grade with a stub, then price the traces.

git clone https://github.com/TAIPANBOX/verdryx && cd verdryx
python -m venv .venv && source .venv/bin/activate
pip install -e '.[traces]'

Into a virtual environment: system Python is usually externally managed. There is no PyPI package, so the version you run is the commit you can read. The traces extra adds pyarrow, which reads TokenFuse's Parquet traces; the stub run needs only the base install.

verdryx eval evalset.json --model stub --db verdryx.db

No network, no key: --model stub is deterministic. Then price the traces it left behind.

verdryx cost-per-correct --traces $TOKENFUSE_DATA_DIR
1 to 15 October 2026

What changed from 1 to 15 October

No release in the window, nine pull requests merged. The same entry, beside every other service's, is in what changed in the stack.

  • Shipped in v0.1.0, released 19 October: its price book mirrors the gateway's, row for row: every listed Claude id, the Gemini rows on Vertex AI, the vendors' prices of 13 October with their long-prompt tiers, and the openai/... rows.
November 2026

What changed in November

shipped inwhat it does
v0.4.0The LLM judge reads one exact line, SCORE with a number between zero and one, and refuses any other reply with a reason. A refused reply is counted as unanswered and nothing is clamped, so a reply such as "1 of 5 criteria met" can no longer become a score of 1.0.
v0.4.0The price book mirrors TokenFuse's current book, with rows for Claude Fable 5.2 and for gpt-6.2-astra and gpt-6.2-sol.
v0.3.0slo measures the window it names, so a run stops counting once the window has passed it.
v0.3.0--holds-spend-no-budget keeps a Wardryx hold from spending the budget that caused it, so an agent on hold can earn its budget back.
v0.2.0drift and slo failures are stored as findings, with their evidence and a suspect model or version. verdryx findings list and show read them.
v0.2.0A fix is registered against a finding and decided by the runs that follow: verified, failed, or pending with its reason.
v0.2.0A person's grade replaces the model's value in a run's mean, in drift and in the quality floor, and the model's value stays beside it.
v0.2.0drift writes its quality_drift event under the agent stored with the newest run when no --agent-id is given, and eval and drift say on stderr how many events were not written, to which file and why.
v0.2.0eval has --typed-timeout for a slow Typryx, and the error now says "did not answer within Ns" instead of "could not reach".
v0.2.0slo_burn carries burn_events_seen, the number of runs behind burn_rate, so a rate nobody measured is told apart from a measured zero.
v0.2.0The price book mirrors gpt-6.1-terra and its openai/ twin from TokenFuse's default price book.
limits

What runs only when you ask.

  • Only the judge and the typed grader can spend money, and neither runs by default. The typed grader runs only when a run is given a Typryx address with --typed-url.
  • A case Typryx cannot answer is counted apart with its reason, never scored as a zero.
  • The store file is the trust boundary for grades. A console build that reads scores directly shows the model's value, not a person's, until it reads human_grades too.
  • There is no PyPI package, so the version you run is the commit you can read.
  • The sixty seconds on the room are a simulation, shaped by the real run: a live, Claude-backed support workload whose outcome-tagged traces were read back and graded.
next

Back to the room.

The Verdryx room has the shift, the drawing and the common questions, and the guides index has the field itself.