CredenceStack¶
Prove your finance AI agent respects its authority.
CredenceStack is an open-source test harness and evidence engine for AI agents that move money, screen customers, onboard businesses and check documents. You describe what your agent may do, as an authority profile and, for the other domains, a domain policy. CredenceStack runs the agent many times in a simulated finance back office, with planted prompt injections, failing tools, a kill switch and as many generated variations as you want, judges every action with deterministic graders, and writes a signed, tamper-evident evidence bundle that model risk, audit and examiners can verify without reading your code.
Define authority
Limits, approvals, segregation of duties and screening rules, as a short YAML policy.
Run scenario packs
Payments, attacks, outages, sanctions, onboarding and documents, plus generated variants.
Grade every step
Every action checked against your rules, repeated across epochs, with confidence intervals.
Sign the evidence
A tamper-evident bundle and report, organised by six supervisory pillars, that anyone can verify.
Test your agent¶
pip install credencestack
credencestack test my_app.agent:agent
Point it at the agent you already have, built with LangChain or LangGraph, the OpenAI Agents SDK, Google ADK, AWS Strands, Microsoft Agent Framework, the Claude Agent SDK, CrewAI, from scratch, or deployed as a service. You change none of its code. CredenceStack serves the agent's own tools from a simulated back office, chooses the scenarios from what the agent does, checks the set-up before grading anything, and writes a report that ends with what to fix first. Test your agent in five minutes.
The two-minute demo¶
credencestack demo
No model and no API key: a naive and a safe scripted agent run the same packs, side by side, and each gets an evidence bundle and a report. The demo page walks through it step by step.
Where to go next¶
Test your agent
Your agent as it is, any framework, in five minutes, with what to fix first.
Get started
Install, the demo, your first real agent, your first report.
Connect your agent
LangChain, OpenAI Agents SDK, Microsoft Agent Framework, Strands, ADK, Claude Agent SDK, CrewAI, MCP, Python, HTTP.
Generate scenarios
Forge: new, correctly labelled scenarios from the shipped ones, at five difficulty levels.
Measure brittleness
How pass rates change from the fixed scenarios to generated ones.
Use the environment
Step by step, for evaluation or training, with rewards from the same graders.
Gate your CI
Fail the build on findings at or above a severity, with signed evidence kept.
Send telemetry
OpenTelemetry GenAI traces to Langfuse, Datadog, Splunk, Grafana and more.
Understand the concepts
How CredenceStack works, end to end.
Look things up
Commands, configuration, outputs, findings, mutators, telemetry, Python API.
What it is not¶
- Not a certification. A passing run is evidence about behaviour in these scenarios, in a simulated environment. Every regulatory mapping is indicative.
- Not a runtime control. It tests agents before release and in CI; it can compare its results with your runtime control layer's logs, but it does not sit in front of production systems.
- Not a model evaluation. It tests an agent (model plus prompt, tools and guardrails) against your rules, not a model's general capability.
Everything in CredenceStack is open source under Apache-2.0, and all scenario data is synthetic.