Developer-first compliance
You're building AI agents. Your compliance team needs proof they're safe. Agent Ledger bridges that gap — with a single REST endpoint.
One HTTP call
Every time your agent makes a decision, log it:
curl -X POST https://api.agentledgerhq.com/logs \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent_id": "credit_decision_bot",
"decision": "approved",
"input": {
"credit_score": 760,
"income": 85000,
"age": 35
},
"reasoning": "Score > 750 AND income > 75k",
"confidence": 0.98,
"model_version": "v2.1",
"timestamp": "2026-04-03T14:22:15Z"
}'
That's it. Your agent logs its decisions. We generate compliance reports automatically.
What you get back
🔍 Audit logs
Every decision logged. Searchable, filterable, tamperproof.
⚠️ Risk detection
We flag suspicious patterns (bias, drift, anomalies) automatically.
📊 Compliance reports
Auto-generated EU AI Act reports ready for auditors.
🔔 Webhooks
Real-time alerts when risk is detected. Integrate with your monitoring stack.
Framework agnostic
Compatible with everything:
- 🐍 Python (FastAPI, Django)
- 🟨 Node.js (Express, Nest.js)
- 🔴 Go (Gin, Echo)
- ☕ Java (Spring)
- 🦀 Rust (Actix, Rocket)
- 📦 Any REST client
Example: Python agent
import requests
import json
class ComplianceLogger:
def __init__(self, api_key):
self.api_key = api_key
self.base_url = "https://api.agentledgerhq.com"
def log_decision(self, agent_id, decision, reasoning, **metadata):
payload = {
"agent_id": agent_id,
"decision": decision,
"reasoning": reasoning,
**metadata
}
response = requests.post(
f"{self.base_url}/logs",
headers={"Authorization": f"Bearer {self.api_key}"},
json=payload
)
return response.json()
# Usage
logger = ComplianceLogger("your-api-key")
result = logger.log_decision(
agent_id="loan_bot",
decision="approved",
reasoning="Credit score + income meet criteria",
credit_score=750,
amount_requested=25000
)
Real benefits
For you (CTO)
- Minimal integration: 5 lines of code to add logging
- No dependencies: Just HTTP. No SDKs, no bloat
- Performance: Async logging doesn't slow your agents
- Control: You decide what to log. Full flexibility
For your compliance team
- Real data: Logs come straight from production
- Automated reports: No manual audits, no spreadsheets
- Risk visibility: We detect problems early
- Proof of compliance: Ready for regulators
For your business
- De-risk AI deployment: Log decisions → confidence goes up
- Speed to market: Not "compliance later" but "compliance built in"
- Cost-effective: €99–499/month, not €1500+
- Scalable: Works for 1 agent or 100 agents
How it works: 3 steps
1. Get API key (2 minutes)
Sign up, get your API key.
2. Add logging (5 minutes)
Add one POST request to your agent code after each decision.
3. View reports (instant)
Dashboard shows all decisions, risks, compliance status. Download reports for the board.
Security & compliance
- 🔐 API key auth (Bearer token)
- 🔒 HTTPS only (TLS 1.3)
- 📋 GDPR compliant (EU data centers)
- ✅ Built for audit readiness
- 📜 Audit trail preserved for 5 years
Ready to move fast?
Agent Ledger takes compliance off your plate. You focus on building great agents. We focus on compliance.