What problem does it solve?
Audit logging is essential for forensic investigations of AI systems, ensuring that the full sequence of prompts, model responses, tool invocations, and retrievals is captured and protected from tampering. Without a complete audit trail, incidents are untraceable and attackers can obfuscate activity.
Core Features & Use Cases
- Structured event schema for LLM interactions including timestamp, session_id, user_id, model_id, prompt, response, tool_calls, retrievals, latency, and token counts.
- Tamper-resistance and retention through append-only storage, separate write/read credentials, and defined retention policies with integrity checks.
- End-to-end lifecycle coverage from request reception to output delivery, including blocked outputs and safety events for secure incident response.
Quick Start
Add a logging middleware wrapper around every LLM call today to begin capturing essential fields such as timestamp, session_id, prompt and response counts, model_id, and latency.