auditant
Compliance system-of-record for AI agents: every action your agents take, hash-chained, policy-checked, externally countersigned — and verifiable offline by someone who doesn't trust you.
Two lines
import auditant
auditant.init(api_key="ak_…", log_id="t_…/prod", agent_id="underwriter")
With OpenTelemetry present, init() registers a span processor and
activates whichever OpenInference instrumentors are installed (LangChain,
OpenAI, Anthropic) — LLM calls and tool executions become chained audit
events automatically: hashes, never payloads; token counts reported as
observed-not-priced, never as $0. Install the extras for full capture:
pip install "auditant[openinference]"
Without OpenTelemetry, init() still gives you a session on the chain
(lifecycle + heartbeats, so a quiet agent is distinguishable from a dead
emitter), the manual record() API, and the synchronous policy check:
handle = auditant.init(api_key="ak_…", log_id="t_…/prod", agent_id="underwriter")
verdict = await handle.client.decide({
"logId": "t_…/prod", "agentId": "underwriter",
"action": "wire_transfer", "amount": 50_000, "sessionId": handle.session_id,
})
# {'effect': 'pending_approval', ...} → a human approves in the dashboard
# or from Slack, and the same call then returns 'allow'.
Evidence writes never block your agent (queued, batched, spilled to disk on outage), and the policy service failing means a recorded enforcement gap, never a silent allow.
The examiner's side
Every exported bundle is self-verifying: it embeds a dependency-free
verifier (node verify.mjs bundle.json) that recomputes the chain and
validates every countersignature — no account, no network, nothing from us.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file auditant-0.2.0.tar.gz.
File metadata
- Download URL: auditant-0.2.0.tar.gz
- Upload date:
- Size: 27.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b8046302eb66c28eff8b08b58b78495ebfdbaa50218c639e92554803d06c5b9
|
|
| MD5 |
d77c9d1ffa6d48a34754a01aca408b77
|
|
| BLAKE2b-256 |
6a994973509587e9c8533a6e3223d309dbc14a94c7329ce8b4be3477cd59dc8c
|
File details
Details for the file auditant-0.2.0-py3-none-any.whl.
File metadata
- Download URL: auditant-0.2.0-py3-none-any.whl
- Upload date:
- Size: 25.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5565bddf292609ffe64b46badad2d3657922f08c580c04599975139d2296047b
|
|
| MD5 |
2790010fc75ba6d30c668a1046a42193
|
|
| BLAKE2b-256 |
3b924ecf07b098125fce8d6c85a2b952951172bb5f820e7c125c7f41c5742f09
|