gust — Test what happens when your agent meets a world that doesn’t behave.

Reproducible testing for probabilistic agents

gust is test infrastructure for LLM-driven agents that do not give the same answer twice — offline analysis, fixture replay, and statistical CI gates over agent behavior.

It is not a final-answer LLM evaluation library. It measures agent behavior (tool choice, arguments, sequences, safety constraints, latency) and treats correctness as a statistical pass rate with confidence intervals.

A trace is not a test. A captured AgentRun is evidence of what happened once. A TestScenario (task + fixtures + independent assertions) is the test artifact. gust never auto-fills assertions from observed behavior.

Start here

Goal Guide
First useful gate in ~15 minutes Getting started
Prove live-eval adoption (trigger→fetch→HTML) demo/live-agent integration
What Gust is (and is not) What Gust is
Wire Gust into an agent you already run Integrate your app
Embed Analyze in Go tests Go library
Live N-sample eval against your agent Test your agent
Run the live-agent Mode 3 demo (N=20 Wilson) Live-agent demo
Learn Analyze / Replay / Test / Compare Modes cookbook
Tune policy, criticality, and CI knobs Tuning the gate
Copy YAML for retail, RAG, SRE, PR review, clinic, SQL Scenario examples
See self-benchmark (AEE + Validation Suite) Benchmarks
Convert OpenTelemetry traces OTel ingestion
Put a gate in GitHub Actions (gust on CI; agent in the job or QA) CI integration
Add a custom evaluator or runner Extending gust
Understand the design Architecture

Three execution modes

Mode What it does Network / LLM
Analyze Evaluate assertions against a captured AgentRun Offline
Replay Re-drive recorded tool I/O via fixtures Offline
Test Run the real agent against mocked tools, N times Dev/QA or in-CI agent — not production
go build -o gust ./cmd/gust
./gust analyze testdata/runs/golden_cancel.json --policy testdata/policy.yaml
./demo/run.sh                 # synthetic MVP CLI demo
./demo/live-agent/run.sh      # Mode 3: exec + trigger/IT ingest + HTML (N=20)
./demo/live-eval/run.sh       # adoption subset (integration,integration-unsafe)

Source & contributing