Skip to content

Changelog

All notable changes to this project are documented here. The format follows Keep a Changelog and the project uses Semantic Versioning.

[1.0.0] - Unreleased

The first public release. Development versions were never published; their history is in git. CredenceStack tests AI agents that act in finance against your own rules, in a simulated back office, and writes signed evidence of what they did. It produces test evidence; it does not certify regulatory compliance. All scenario data is synthetic and every regulatory mapping is indicative.

Test your agent as it is

  • credencestack test <agent>: test an existing agent with no code changes. It detects how the agent is built (LangChain or LangGraph, the OpenAI Agents SDK, Google ADK, AWS Strands, Microsoft Agent Framework, the Claude Agent SDK, CrewAI, a plain Python function, or a deployed HTTP service), serves the agent's own tools from the simulated back office through a deterministic tool map, chooses the packs from what the agent does, checks the set-up and runs a smoke episode before grading anything, runs the fixed scenarios and generated ones at several difficulty levels (--mode quick | standard | thorough), and writes an assessment (<out>/test-<id>/) with ranked suggestions: a fix in your systems, one with your framework's own feature, and the prompt change. Set-up and infrastructure problems are retried, labelled and kept out of every finding.
  • Backend mode for deployed agents: CredenceStack serves the agent's back-office API from its OpenAPI document (--openapi), or its MCP tools (--mcp-tools), and talks to the agent's chat endpoint.
  • The agent file (credencestack-agent.toml) records every choice; edit it to change any of them.
  • credencestack profiles init: your own authority profile from eight questions; credencestack test --profile recomputes each scenario's expected outcome under it.
  • Traced like every other workflow: credencestack test --otel (and --otel-content, --otel-granularity, --otel-metrics) emits the same OpenTelemetry GenAI traces as credencestack run, for the fixed and the generated scenarios.

Testing agents

  • Seven scenario packs in four domains: payments, adversarial, resilience and thirdparty (money movement: authority limits, approvals, prompt injection, faults, the kill switch, partner agents), fincrime (sanctions alert review), docintegrity (documents against the systems of record) and kyc (KYC and KYB onboarding). Every pack is public and open source; your own packs can be marked confidential.
  • Authority profiles and domain policies: your delegation of authority and each domain's rules as YAML (credencestack profiles validate | explain | import), judged by deterministic graders with stable rule ids.
  • A simulated back office: invoices, vendors, a ledger, approvals with a scripted reviewer, partner agents, watch-lists, documents, a company registry and onboarding files, a simulated clock, faults (timeouts, stale and malformed data, outages, rate limits) and a kill switch.
  • Ten connectors, each passing the conformance kit: LangChain and LangGraph, the OpenAI Agents SDK, Microsoft Agent Framework, AWS Strands, Google ADK, the Claude Agent SDK, CrewAI, MCP (HTTP and stdio), Python callables and policies, and HTTP services.
  • Statistics: every scenario over several epochs, pass rates with Wilson intervals per scenario, pack, pillar, domain and visibility, consistency and flaky scenarios, oversight metrics, and an optional advisory judge with Cohen's kappa.

Forge and the environment

  • Forge (credencestack generate): new scenarios from the shipped ones, with 44 mutators in seven families, a five-level difficulty dial, labels from the graders (never from a model), redrawing of anything ambiguous, invalid or duplicate, the same scenarios for the same seed, --explain, --validate and --seed fresh. Mutator plugins load from --mutator-path, and a confidential plugin never reaches a shared output.
  • The environment (credencestack.env.CredenceEnv): the back office step by step, with terminal or shaped rewards from the same graders, truncation, the kill switch, make_env_batch, run_batch, rollout, any connector as the policy, an optional Gymnasium wrapper, credencestack env episode, env export (JSONL tasks) and env serve (one scenario over MCP).

Benchmarks

  • credencestack bench run: agents × models × packs under one hard cost cap, with real models only after --confirm-spend.
  • credencestack bench brittleness: fixed against generated scenarios at five levels: the brittleness curve, the fixed-to-generated gap with Newcombe's interval, mutator and family sensitivity, and over-caution, with four charts and a report. Rounds with --seed fresh stay fair and reproducible. An offline sample runs in CI.

Evidence and reports

  • One evidence format (credencestack.evidence/v1): every command writes one <kind>-<id>/ directory with a schema-validated manifest.json (files, hashes, a Merkle root), hash-chained traces and an optional Ed25519 signature; credencestack evidence verify checks any of them offline, and evidence export --redact writes a shareable copy that verifies with the original signature.
  • One report engine for runs, benchmarks and brittleness, in HTML and Markdown, organised by six supervisory pillars, with design tokens shared with the docs and the website and checked against WCAG AA.
  • CI gating: --fail-on on run, evidence inspect, and a GitHub Action that runs the packs, signs and uploads the bundle and writes a job summary.

Telemetry

  • OpenTelemetry (credencestack[otel]): runs, generations, environment episodes and benchmarks emit traces following the GenAI semantic conventions; every span, attribute, event and metric is registered with a privacy class; content only with --otel-content and never for confidential scenarios; optional low-cardinality metrics; the same --otel* flags on every command; otel check and otel print. Guides for Langfuse, Datadog, Traceloop, Splunk, Grafana Tempo, Honeycomb, New Relic, Arize Phoenix, Elastic, Jaeger and any OTLP backend.

Command line and Python API

  • One command grammar with shared flags, settings from credencestack.toml, environment variables and flags (in that order of precedence), stable exit codes, one console style and one error format; doctor, config show | init, version, shell completion.
  • A Python API: credencestack.run, select_packs and verify, with the models, the settings and the errors, and the connectors, env, forge and otel packages.

Documentation

  • A documentation site with getting-started pages, guides, concepts, a generated reference (commands, configuration, outputs, exit codes, findings, packs, mutators, OpenTelemetry), benchmark methods and project pages, all examples generated by running them; developer documentation (architecture, design principles, a contributor guide).