Guides¶
Task by task, from an agent you have built to signed evidence about how it behaves. Every
command and output on these pages was produced by running it
(scripts/gen_doc_examples.py), and every example agent is a file in examples/ that the
test suite runs.
Test the agent you already have¶
- Test your agent in five minutes:
credencestack test, no code changes, any framework or a deployed service. - What gets tested, by what your agent does: payments, sanctions, KYC and KYB, document checking.
- Check an automated test and adjust it: the tool map, the packs, set-up notes and narrow reruns.
Connect your agent¶
To choose the connector, packs, profile and epochs yourself, use credencestack run with
a connector:
| Your agent is built with | Guide | Extra | Native approvals | Kill switch |
|---|---|---|---|---|
| LangChain / LangGraph | LangChain and LangGraph | langchain |
yes (HITL middleware) | when the agent installs SuspensionMiddleware |
| OpenAI Agents SDK | OpenAI Agents SDK | openai-agents |
yes (needs_approval) |
always |
| Microsoft Agent Framework (Python) | Microsoft Agent Framework | msaf |
yes (approval_mode) |
always |
| AWS Strands Agents | AWS Strands | strands |
yes (interrupts) | always |
| Google ADK | Google ADK | adk |
yes (tool confirmation) | always |
| Claude Agent SDK | Claude Agent SDK | claude-agent-sdk |
yes (PreToolUse hook and can_use_tool) |
always |
| CrewAI | CrewAI | crewai |
no (request_approval tool) |
always |
| Anything that speaks MCP | MCP | mcp |
no (request_approval tool) |
through a control endpoint |
| Plain Python, or a service | Python or HTTP | none | no | Python: always |
Every connector passes the conformance kit. HITL is human-in-the-loop: the framework pauses for a person to approve an action.
Your rules and your scenarios¶
- Write a profile: your delegation of authority as YAML.
- A sanctions alert-review agent and a KYC onboarding agent: the domain policies for financial crime and KYC.
- Write scenarios and keep your own confidential.
Generated scenarios and the environment¶
- Generate scenarios with Forge.
- Write your own mutator.
- Measure brittleness.
- Use the environment for evaluation or training.
In production¶
- CI gating, including fresh generated scenarios with a pinned seed.
- Send telemetry to your observability platform, and trace generation, environments and benchmarks.
- Share and verify evidence.
- Run a benchmark round yourself.
- Runtime logs (Atryum) and AP2 mandates.
- Release checklist and troubleshooting.
Prerequisites¶
Python 3.12 or later and a checkout of this repository (to run the example agents as they are). No API key: every guide runs offline with a scripted model; a key is needed only for the optional live runs.