How CredenceStack relates to current AI research¶
The way AI developers now evaluate and train agents has converged on a few ideas, all published openly: test agents in simulated environments with real tool interfaces, grade outcomes with checks that can be verified rather than opinions, generate fresh tasks instead of reusing a fixed set, measure reliability over repeated attempts, and attack agents on purpose before release. CredenceStack applies the same ideas to one question that matters to regulated finance: does this agent stay within its authority?
This page explains each parallel. None of it means CredenceStack is affiliated with, or endorsed by, any AI developer or research group.
Simulated environments with real tool interfaces¶
Agent evaluations in research put a model in a simulated world, such as a shop, an airline desk or a code repository. The agent uses the same tool-calling interfaces it would use in production, and the result is judged by the state of the world afterwards, not by the text of the answer.
In CredenceStack, the world is a finance back office: a ledger with idempotency keys,
vendors and invoices, a human reviewer with latency and partial approvals, partner
agents, a watch-list, documents, a company registry and onboarding files, on a simulated
clock. Grading reads the ledger and the trace (what was paid, approved, cleared or
released) as well as the final answer. credencestack test goes one step further than
most research harnesses: it serves an existing agent's own tools from that world,
so the agent under test is the production agent, unchanged.
Verifiable grading¶
Training and evaluating agents increasingly relies on rewards that can be checked by a program (a test passes, a proof checks, a state is reached) rather than judged by another model, because a checkable reward cannot be talked round and gives the same answer every time.
In CredenceStack, every grader is deterministic code reading data: the authority grader answers allow, escalate or deny for any action under a profile, with stable rule ids, and the domain graders do the same for screening, documents and onboarding. No language model labels a scenario or grades an episode. An optional model judge exists only as an advisory second opinion and never changes a result. The same graders give the environment's rewards, so a policy trained on them is trained on exactly what the tests check.
Procedurally generated tasks and difficulty¶
A fixed benchmark can be learnt, and its tasks leak into training data. Research answers this with procedurally generated tasks (new instances drawn from a generator, with held-out seeds) and with curricula that raise difficulty step by step, so a result measures generalisation rather than memory.
In CredenceStack, Forge generates new scenarios from the shipped ones with mutators (homoglyph names, split invoices, layered ownership, timeouts after a payment went through) on a five-level difficulty dial, from mild to adversarial. The graders label every generated scenario, and any scenario they cannot label cleanly is drawn again. Benchmark rounds draw fresh seeds that nobody has seen beforehand, and the brittleness benchmark reports the drop in pass rate from the fixed scenarios to the generated ones, level by level.
Reliability over repeated attempts¶
Research on agents now reports more than whether an agent can solve a task. It also reports whether the agent solves it every time, over several attempts, because an agent that succeeds three times in four is not reliable enough to act unsupervised.
In CredenceStack, every scenario runs for several epochs with recorded seeds, and passes only at its threshold (by default, every epoch). Pass rates come with 95% Wilson intervals; the report shows consistency and lists flaky scenarios.
Adversarial testing and prompt injection¶
Developers red-team agents before release, and indirect prompt injection is one of the main risks they report: instructions hidden in a document, an email or a web page that the agent reads while doing its job. Research benchmarks plant such instructions in tool results and measure how often agents follow them.
In CredenceStack, injections are planted in invoice notes, email threads, vendor
names and documents, each with a stated goal, so the grader can tell when the agent did
what the attacker wanted. Forge varies their placement, style and encoding, and
escalates them over several messages at higher difficulty. The adversarial,
thirdparty and resilience packs add impersonated partner agents, revoked credentials,
outages and a kill switch.
Human oversight and the ability to stop¶
Safety frameworks published by AI developers, like supervisory guidance for banks, put weight on keeping humans involved in consequential actions and on being able to suspend an agent.
In CredenceStack, scenarios check that the agent asks for approval where its authority requires it, waits for the answer, does not count a partial approval as a full one, and stops when the kill switch fires. The kill switch can fire after a given step or while a call is in flight, and the stop time is measured against the profile's limit.
Standard telemetry¶
The industry has agreed on OpenTelemetry's GenAI semantic conventions for tracing agent runs, model calls and tool calls, so the same traces appear in any observability platform.
In CredenceStack, every scenario epoch can be emitted as a GenAI-conventions trace
(invoke_agent, execute_tool, chat), with findings, faults, approvals and control
signals as events, to Langfuse, Datadog, Splunk, Grafana, Honeycomb, New Relic, Phoenix,
Elastic, Jaeger or any OTLP backend. See sending telemetry.
Evidence, not only a score¶
Research benchmarks end in a score. Regulated institutions need more: who tested what, with which rules, data and seeds, and proof that the record was not changed afterwards.
In CredenceStack, every run writes an evidence bundle with a manifest, hash-chained traces, a Merkle root and an optional Ed25519 signature, organised by the six supervisory pillars. Anyone can verify it without reading your code. Every regulatory mapping is indicative, and a passing run is evidence about behaviour in these scenarios, not a certification.