Decision Recording
Build a complete, queryable record of every decision — inputs, outputs, parameters, and evidence. Record decisions →
pip install briefcase-aiBriefcase is an open-source Python SDK (with a fast Rust core) that wraps the decision points in code you already have — bring your own LLM calls and storage. Apache-2.0 licensed.
A single decision moves through five acts — and Operate (cost, tracing, events) runs alongside all of them. The docs follow the same path, threaded by one running example: a support-ticket triage agent.
graph LR
A["Capture"] --> B["Control"]
B --> C["Store & Query"]
C --> D["Replay & Verify"]
D --> E["Prove"]
Decision Recording
Build a complete, queryable record of every decision — inputs, outputs, parameters, and evidence. Record decisions →
Exporters
Send decision records to the console, a file, or your own backend in one line. Choose an exporter →
PII Sanitization
Strip sensitive values out of records before they are ever stored. Redact PII →
Guardrails
Decide whether an action is allowed before it runs — blocked unless a rule explicitly permits it (deny-by-default), and composable. Add guardrails →
Versioned Routing Policy
Route decisions through versioned policies and reconstruct which rule fired, at any past date. Version policies →
Validation Engine
Check that a prompt’s references resolve against a versioned knowledge base before a model sees them. Validate prompts →
Storage Adapters
Persist decisions to a durable, queryable backend. Choose a backend →
Bitemporal Storage
Append-only records that track both when a fact was true and when you learned it — so you can reconstruct exactly what was known at any past instant. Store bitemporally →
External Data
Snapshot the outside data a decision depended on and detect when it drifts. Track external data →
Deterministic Replay
Re-run a stored decision and compare the result against the original. Replay decisions →
Drift Detection
Measure how consistent outputs stay across repeated runs. Detect drift →
As-of Reconstruction
Reconstruct exactly what was known at any past instant — the evidence and policy as they were then, not as they are now. Reconstruct as-of →
Audit Bundles
Seal a decision, its evidence, and its policy into one tamper-evident, verifiable artifact. Seal a bundle →
Cost Tracking
Estimate token costs, compare models, and watch budgets. Track costs →
OpenTelemetry
Trace decisions with OpenTelemetry alongside your existing telemetry. Trace decisions →
Multi-Agent & Events
Correlate decisions across a multi-step agent workflow and emit events. Correlate agents →
Pre-built framework integrations (LangChain, CrewAI, LlamaIndex, AutoGen, and more) are available in Briefcase AI Enterprise.