Skip to main content

ATB vNext (engine)

A verifiable, offline, multi-mode evaluation harness for payment agents. Built on the live ATB Keystone binding: every step, score, and verdict is a content-addressed reference (sha256: + SHA-256(RFC 8785 JCS)), so a result recomputes byte-for-byte and is Falcon-signable, exactly like the ATB Pass Certificate.

What is here (Phase 1, staged, local)

  • atb_vnext/refs.py — the trace model: step_ref (alias execution_ref) -> journey_ref (alias trust_query_ref) -> run_ref (atb_run_v2, the signed/diffable unit) + score_ref.
  • atb_vnext/schema.pyatb-fixture-1 strict fixture schema + dependency-free validator.
  • atb_vnext/graders.py — the five scores: outcome, trace, trust (judge hook), cost_latency, and the headline severity_weighted (unsafe success penalised by blast radius).
  • atb_vnext/runner.pyrun_fixture(fixture, transcript) -> recomputable atb_run_v2.
  • atb_vnext/packs/ — priority-one fixtures: tool-misuse (3) + aml-edgecase (1).
  • tests/ — 16 conformance tests (schema, determinism, byte-for-byte recompute, tamper divergence, severity weighting, REFER-as-safe-block, judge hook). All pass.
  • goldens/ — per-fixture golden run_ref baselines (nightly regression anchor).

Modes and scores

See DESIGN.md for the full matrix (unit / workflow / persona / redteam / runtime / regression), the six scenario packs, the fixture schema, and the pass/fail rules.

Run

PYTHONPATH=. python -m pytest tests/ -q

Full feature set (all built + tested; live on VM4)

  • 6 modes: unit, workflow, persona, redteam, runtime, regression.
  • 7 packs, 15 fixtures: tool-misuse, aml-edgecase, persona, long-context, multi-agent, data-protection, runtime. All 7 OWASP LLM Top-10 categories the bench maps are covered.
  • 5 scores: outcome, trace, trust (deterministic RubricJudge, or plug an LLMJudge), cost_latency, and the headline severity_weighted.
  • Agent-driven run loop (client.py): run_agent / run_and_report drive any AgentAdapter through the fixtures, threading conversation history so stateful agents are testable. Reference adapters in agents.py (HeuristicPolicyAgent, NaiveProceedAgent, LiteralInjectionAgent).
  • Runtime kill-switch (runtime.py): scores in-flight, halts on a severity breach.
  • Replay from production (replay.py): turn a real bench_events session into a fixture.
  • Dynamic persona simulation (persona_sim.py): an adversary that escalates on the agent's reply.
  • Mutation testing (mutate.py): obfuscate an attack (base64 / zero-width / leetspeak) to expose brittle detection.
  • Suite analysis (analysis.py): coverage report, flakiness detector, regression diff, cross-cutting safety invariants, differential agent comparison.
  • Configurable risk policy (RiskPolicy): per-deployment severity weights + tolerances.
  • Signed corpus (corpus/, verify with verify_corpus.py): 15 positives + 15 negatives, Ed25519-signed under the same trust root as the main JCS corpus.
  • Live API (/agent-trust-bench/vnext/): packs, coverage, fixture/{id}, score (returns a Falcon-1024-signed, recomputable atb_run_v2 with the trust score populated).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

algovoi_atb_vnext-0.1.0-py3-none-any.whl (55.2 kB view details)

Uploaded Python 3

File details

Details for the file algovoi_atb_vnext-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for algovoi_atb_vnext-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 465ce8e36fac4701646416a1183c09fa924c668e166725df81b82ff5ed683202
MD5 2e909abcf6d11683c5c3c17f3904a29c
BLAKE2b-256 ef2f5e9865cc6918381a056e78202edd685b429fec7b04597e5bc420e6ba2c0d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page