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.2.tar.gz
(1.9 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.2.tar.gz.
File metadata
- Download URL: dae_client-0.1.2.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f4df814cad2fcfc8f3b36cc9a5e2dc5d7a59aa7ad936c7836ebd1b65b6bf046
|
|
| MD5 |
44f99bb152d721a6aad4b4e5f09b232a
|
|
| BLAKE2b-256 |
d8ffe77cf1fcafefe7d81e6e36f289e5affa78f0e24dadede0e80337d9bda672
|
File details
Details for the file dae_client-0.1.2-py3-none-any.whl.
File metadata
- Download URL: dae_client-0.1.2-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 |
7d82c127487e7dc55fcbf9a2ab812fcf082b8e2561039c47af96f3619b59c93f
|
|
| MD5 |
54d975c6a332da1e4a241984c667242a
|
|
| BLAKE2b-256 |
56aa394cc06b30e8378eccbf8ae16573d5f557ae7da17471526469904e803661
|