Decision Audit Engine — Python SDK for AI agent audit trails
Project description
DAE Client — Python SDK for Decision Audit Engine
Log, query, and verify AI agent decisions with cryptographic audit trails.
from dae_client import DAE
# Auto-configure from env vars (DAE_API_URL, DAE_API_KEY)
client = DAE.from_env()
# Log a decision
client.log("my-agent",
input={"query": "approve loan"},
output={"decision": "approved", "amount": 50000},
confidence=0.95,
)
# Check system health
print(client.health())
# Verify hash chain integrity
print(client.verify())
# Get CSD early-warning diagnosis
print(client.csd("my-agent"))
# Or use the decorator
@client.log_decorator(agent_id="my-agent")
def critical_func(x):
return x * 2
Installation
pip install dae-client
Features
- Full API coverage: health, log, query, csd, kdi, verify, audit, pii
- Auto-retry (3x) + circuit breaker
- Decorator for zero-friction agent logging
- Typed response dataclasses with all fields
from_env()for zero-config setup
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dae_client-0.1.0.tar.gz
(1.8 kB
view details)
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 dae_client-0.1.0.tar.gz.
File metadata
- Download URL: dae_client-0.1.0.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
654354e9fab30f5f3cac733f00d7add5f9c0a5300ab427850a1f955fe0a0a506
|
|
| MD5 |
765a94e91fa7b7158a875a6f3499e35f
|
|
| BLAKE2b-256 |
56895b6ed58a8d608699e0bfc45ff2817011e2910d119151548eb4b14a621000
|
File details
Details for the file dae_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dae_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0aaec4633f8aacc24b1a9504f4496958f2049b3113dda7405fb8caa49ee7d39
|
|
| MD5 |
ccd91c3b7481a2a283382b8cfacebedc
|
|
| BLAKE2b-256 |
969b4dc221d1bf7ec2d6fb792a0369d5b93f7ebafe906335656af3aaf1630420
|