Skip to main content

Tactus

Evaluations

Stop Shipping Lucky Demos

A behavior spec tells you whether one run is right. An evaluation tells you how often it is right across real inputs - so you can compare changes, catch drift, and ship with a reliability number instead of a vibe.

From “It Works” to “It Works 98% of the Time”

Two engineers build an agentic procedure to flag compliance risks in emails. Both can give a great demo. Both can show you a run where it “works.”

Then you run an evaluation: 100 realistic emails, scored the same way every time. One implementation is right 48% of the time. The other is right 98% of the time. Those are not “both fine.” They are different systems.

Specs let you decide what “right” means. Evaluations take that definition and turn it into a statistic: success rate, latency, tokens, and “did it break in the messy cases?”

Think of evals as a gauge, not a gate: specs are pass/fail guardrails; evals tell you whether your change made the system better or worse. Pair evals with validation to fail fast at the boundary, and with behavior specifications to lock in what must not change. See Guardrails and Guiding Principles.

First-Class Evaluations (Inline, Like Specs)

Tactus treats evaluation as part of the procedure file, not a separate test project. You declare an evaluation dataset and evaluators inline, next to the code they measure.

If you want the background on why Tactus is opinionated about this, start with behavior specifications. Evals build on the same idea: define “right,” then measure it across realistic inputs.

Run this against 50 or 500 cases. Tactus handles parallel execution, error catching, and aggregating results into a report you can track over time.

Run Evals (and Compare to Specs)

Run once to see detailed results, then run multiple times to measure consistency. Keep specs in the loop too: specs are great at catching hard invariant violations; evals are great at quantifying quality and reliability.

Run once

tactus eval path/to/procedure.tac

Measure consistency

tactus eval path/to/procedure.tac --runs 10
tactus eval path/to/procedure.tac --runs 10 --no-parallel

Repeat specs

tactus test path/to/procedure.tac
tactus test path/to/procedure.tac --runs 10

Treat evals as a scoreboard and a gate: if success rate drops after a change, you have an objective regression report instead of a debate (or a production incident).

Start measuring

Don’t guess. Know. Learn how to set up your first evaluation suite.

Get Started