Instrument every model interaction
Trace prompts, outputs, latency, token cost, retrieval behavior, and human review events in one event model built for agentic systems.
SpanForge is an AI audit SDK. It gives compliance teams a signed, ready-to-submit evidence bundle for every AI decision — without slowing the engineers who build them.
Most teams spend weeks assembling evidence after an AI incident. SpanForge captures proof continuously at the SDK layer — so your compliance team always has a signed bundle ready for auditors, from day one.
Trusted by compliance teams at financial services, healthcare, and regulated tech · Free to start · No contract required
Add SpanForge to any Python project with zero runtime dependencies.
Wrap AI actions with @spanforge.trace to capture every decision event.
Apply PII redaction, secrets scanning, and drift policies before output persists.
Every event is cryptographically chained — giving regulators verifiable, tamper-proof proof of every decision.
Hand your compliance team a signed evidence bundle they can give directly to auditors — no spreadsheets, no chasing engineers.
Independently verifiable
Why SpanForge?
EU AI Act enforcement began August 2025. HIPAA and GDPR apply to every AI system handling personal data. Compliance is no longer optional.
Regulators expect machine-readable records with framework mappings — not screenshots and manually assembled spreadsheets. SpanForge generates them automatically.
Unlike custom logging or manual evidence assembly, SpanForge captures cryptographically signed proof at the SDK layer from day one — before a regulator ever asks.
Our mission: make AI compliance infrastructure as automatic as security scanning.
After years leading enterprise AI programs, I kept seeing the same gap: teams built capable AI but couldn’t prove it was safe, compliant, or auditable. SpanForge closes that gap — at the SDK layer, before production.
Founder, SpanForge (est. 2024) · 5+ years enterprise AI program leadership
Instrument, enforce, and audit AI actions from a single SDK surface. Zero required dependencies.
Explore the SDK →Compliance TeamsGet auditor-ready evidence bundles mapped to EU AI Act, GDPR, HIPAA, SOC 2, and more.
Explore Advisory →Enterprise LeadersGoverned AI deployment with architecture reviews, evidence walkthroughs, and deployment planning.
Talk to us →Instrument every AI action, enforce policy automatically, and generate evidence your auditors can verify — all from a single SDK surface with zero required dependencies.
Trace prompts, outputs, latency, token cost, retrieval behavior, and human review events in one event model built for agentic systems.
Block secrets, redact sensitive data, catch drift, and route low-confidence decisions to humans before records are persisted.
Generate signed bundles with framework mappings, chain verification, and auditor-friendly artifacts without manual spreadsheet work.
SpanForge turns AI operations into a traceable ledger of actions. That means better incident response, cleaner reviews with compliance stakeholders, and fewer blind spots when a model starts behaving differently in production.
Operations teams need proof, not screenshots and institutional memory.
Telemetry, redaction, secrets policy, and human escalation live in the same chain of record.
sf_audit and sf_cec are the foundation — instrument one action and your compliance team gets a signed, auditor-ready bundle. Nine supporting services extend from there.
sf_audit
Tamper-evident HMAC-SHA256 audit chains with WORM storage patterns, retention support, and chain verification.
sf_cec
Evidence bundles with clause mapping, attestations, and exportable artifacts for audits and enterprise reviews.
sf_pii
Sensitive-data detection and redaction pipelines across GDPR, HIPAA, CCPA, DPDP, and PIPL-aligned policies.
sf_secrets
Pattern and entropy-based secret scanning with SARIF output, vault migration hints, and policy-driven blocking.
sf_identity
Keys, JWT, magic links, SAML, SCIM, OIDC PKCE, session delegation, and brute-force lockout controls.
sf_observe
OpenTelemetry-aligned tracing with exporter support for Datadog, Grafana, Splunk, Elastic, and OTLP backends.
sf_alert
Alert routing for Slack, Teams, PagerDuty, OpsGenie, and signed webhook automation with deduplication.
sf_gate
A governance pipeline that turns policy into release criteria across code review, testing, provenance, and compliance checks.
sf_trust
A configurable T.R.U.S.T. scorecard spanning transparency, reliability, user trust, security, and traceability.
sf_rag
RAG tracing with retrieval scoring, grounding metrics, and auto-instrumentation for LlamaIndex and LangChain.
sf_feedback
Structured feedback collection — NPS, CSAT, thumbs, Likert — linked to T.R.U.S.T. dimensions and audit records.
SpanForge intercepts real failure modes before they reach storage, downstream systems, or your audit record — with full context preserved for incident response.
Blocked secret exposure
sk_live_4xK9mR2p8vB3nQ...A live Stripe key appeared in model output and was blocked before persistence, audit insertion, or downstream storage.
Entropy score: 5.1 bits/char | Confidence: 0.97
PII redaction applied
user@company.com -> [REDACTED:email]Email content was detected in a response and rewritten before the event entered the evidence chain.
GDPR Article 5(1)(f) aligned | Metadata recorded
Behavioral drift escalated
drift_score: 0.31 (threshold: 0.20)A distribution shift crossed the policy threshold, triggered an incident workflow, and paused the affected agent.
3.1 sigma from baseline | PagerDuty fired in 847ms
Map your AI operations to article-level obligations across six regulatory frameworks. Signed evidence packages ready for auditor hand-off — no manual spreadsheet work.
| Framework | Coverage focus | Relevant SDK surface |
|---|---|---|
| EU AI Act | Risk management, data governance, record-keeping, transparency, human oversight, and accuracy monitoring. | sf_gate / sf_audit / sf_cec |
| GDPR | Data minimization, right to erasure, records of processing, and processor accountability support. | sf_pii / sf_audit / sf_cec |
| HIPAA | Safe Harbor redaction patterns, access logging, and audit trail support for regulated workloads. | sf_pii / sf_audit / sf_identity |
| SOC 2 | Logical access, system operations monitoring, and risk mitigation controls tied to evidence artifacts. | sf_audit / sf_gate / sf_cec |
| ISO 42001 | Risk assessment, impact assessment, monitoring, and continuous improvement controls for AI systems. | sf_cec / sf_trust |
| NIST AI RMF | Govern, map, measure, and manage workflows backed by telemetry, policy, and trace evidence. | sf_gate / sf_cec / sf_trust |
sf_cec.build_bundle(project_id, date_range, frameworks=["eu_ai_act", "iso_42001", "soc2"])Generate a signed evidence bundle with chain proof, framework mappings, and attestation artifacts. View the SDK documentation.
If you have a question not answered here, reach out directly.
Do I need to change my AI provider or LLM setup?
No. SpanForge wraps your existing model calls at the SDK layer. You keep your current provider, prompts, and infrastructure. Nothing changes in production except every decision now has a signed record.
How is SpanForge different from standard application logging?
Standard logs are mutable and context-free. SpanForge creates HMAC-SHA256 chained records with framework mappings, PII redaction, and cryptographic signatures — the format auditors and regulators actually accept.
We are not yet subject to regulation. Do we still need this?
EU AI Act enforcement began August 2025. HIPAA and GDPR already cover most AI systems processing personal data. Instrumenting from day one costs a fraction of the retroactive compliance work that follows an audit notice.
Does SpanForge add latency to production workloads?
SpanForge has zero required runtime dependencies and is built for production. Actions are wrapped asynchronously where possible — no external call sits on your critical path.
Can I try it without involving procurement?
Yes. SpanForge is MIT licensed and on PyPI. Run pip install spanforge and generate your first signed evidence bundle in under five minutes — no contract, no credit card required.
Products
Everything your team needs to implement AI governance from day one — master policies, risk assessments, model cards, incident response plans, inventory registers, and a 30-day roadmap. Ready-to-use documents built for compliance teams, legal, and AI program leads.
Explore AI Governance Kit →Open source · MIT licensed · pip install spanforge · GA v1.0.4 · Released May 2026
Install the SDK, instrument an AI action, and generate a signed evidence bundle — before you involve procurement. Community support on GitHub. Enterprise teams get priority response.
Questions? hello@getspanforge.com · Docs · View pricing