A test set that never runs out.
Forge generates new, correctly labelled finance scenarios from any seed, with a difficulty dial. Use them to find where an agent breaks, to measure how brittle it is, or as an environment to train it.
$ credencestack generate --pack all --n 2000 --seed 42 --difficulty 1-5 Generated 2,000 scenarios in [X.X]s adversarial 365 docintegrity 361 fincrime 436 kyc 410 payments 279 resilience 44 thirdparty 105 rejected 1249 (redrawn: ambiguous, invalid or duplicate) ✓ Labelled by the pack graders ✓ credencestack-out/generate-[ID]/manifest.json
Change the scenario. Keep the right answer.
- 01 · Seed
Start from a real scenario
Any public scenario in any pack, or your own.
- 02 · Mutate
Apply small changes
An amount at the limit, an attack in a new field, a fault after the payment, an owner one layer deeper.
- 03 · Label
Recompute the answer
The pack's grader works out the correct decision and the rules behind it.
- 04 · Validate
Drop anything unclear
Ambiguous, invalid or duplicate scenarios are rejected and redrawn. Same seed, same output.
Five levels, from one nudge to a pile-up.
Each level sets how many changes stack, how hard they push and which combinations are allowed. Every scenario records the difficulty it actually reached.
| Level | Label | Changes | Intensity | Heaviest mutator | Families mixed |
|---|---|---|---|---|---|
| 1 | mild | 1 | 20% to 40% | weight 1 | no |
| 2 | moderate | 1 to 2 | 30% to 60% | weight 2 | no |
| 3 | compound | 2 to 3 | 40% to 70% | weight 2 | yes |
| 4 | hard | 3 to 4 | 60% to 90% | weight 3 | yes |
| 5 | adversarial | 4 to 5 | 80% to 100% | weight 3 | yes |
44 mutators across seven packs.
Each one is a small, documented change the graders can judge exactly. Write your own as a plugin, and keep it confidential if you need to.
Payments, attacks, outages and partner agents
21
Limit edges, splits, monthly totals, new payees, single approvers, currency, hidden batch items; injection phrasing, placement and format; fault timing, rate limits, outages, kill-switch timing, stale data; credential state, request velocity, scope creep.
Sanctions and financial crime
10
Aliases, transliteration, look-alike characters, ownership layers, vessel and bank identifiers.
KYC and KYB onboarding
6
Hidden owners, PEP directors, registry conflicts, missing documents, risk-rating edges.
Document integrity
7
Totals that don't add up, page inconsistencies, dates, duplicates, bank details that differ from the master.
How much of your pass rate survives a small change?
One command runs your agents on fixed and generated scenarios at every level, with repeats and intervals, and produces four charts and a write-up. Published rounds use a fresh seed.
Pass rate by level, per agent and model. [CHART]
The gap, with an interval on the difference. [CHART]
Drop in pass rate by kind of change. [CHART]
So refusing everything doesn't look like safety. [CHART]
# offline sample with scripted agents, no API keys
credencestack bench brittleness -c bench/sample_brittleness.yaml The simulated back office, as an environment.
The same worlds and graders, exposed with reset and step, for evaluation loops and agent training.
- Terminal reward from the graders, or an optional shaped reward
- Deterministic: same seed and actions, same result
- Batch helpers (GeneratedScenarios, make_env_batch, rollout, run_batch) and an optional Gymnasium adapter
- JSONL task export for external training tools
- Any CredenceStack connector can act as the policy
credencestack env export -p payments --n 1000 --seed 42 from credencestack.env import CredenceEnv, GeneratedScenarios
env = CredenceEnv(GeneratedScenarios(["payments"], levels=(3,)), seed=7)
obs, info = env.reset() # task text, inputs, tools as JSON Schema
while True:
action = policy(obs, info) # {"tool": ..., "args": ...} or {"final": ...}
obs, reward, done, cut, info = env.step(action)
if done or cut:
break The ideas behind current agent research, applied to authority.
Simulated worlds with real tool interfaces, grading a program can check, freshly generated tasks on a difficulty curriculum, reliability over repeated attempts, and red-teaming before release.
Verifiable grading
Deterministic graders, never a model, decide every label and every reward.
Procedural tasks
New scenarios from fresh seeds, at five levels, so a score measures generalisation, not memory.
Reliability, not luck
Every scenario repeated over epochs, with intervals and flaky scenarios named.
Open and fair
Everything is open
The generator, every mutator, the environment and the benchmark code, under Apache-2.0.
Open source →Fair benchmark rounds
Each round draws a fresh seed, recorded so anyone can reproduce it. Your own mutators can stay confidential as plugins.
Run a round →"Your finance agent passed the test. Then we changed the invoice."
What happened when we ran [N] agent configurations through generated scenarios.