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.1.tar.gz
(3.7 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.1.tar.gz.
File metadata
- Download URL: dae_client-0.1.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0442a6562b94b3b1a06791960a7e340f05a6e42851dfb8bfcb35db069c7a26e
|
|
| MD5 |
4d668279f3a71ee3ac01d19ed90ae7d0
|
|
| BLAKE2b-256 |
b4e274355e4ec740b3c87dd9bc1a5abfe39a98a9af17fc73fcfa38a9f639fe84
|
File details
Details for the file dae_client-0.1.1-py3-none-any.whl.
File metadata
- Download URL: dae_client-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.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 |
79220cd6ce4780d2ef4c5c24463b729ddfcf67c2846452e23b2a25fffd642061
|
|
| MD5 |
035edc3efecdcaee09d2ef50387c5a4a
|
|
| BLAKE2b-256 |
37f0f4f695923292c9d8c46902ec94a46212a5fa0da7d53f12c196816de77dd9
|