Complete trace analysis
See what your agent exposes on the way to the answer.
AgentLeak replays the whole execution trace and follows every sensitive value through 8 normalized channels. A clean final answer no longer hides a leak in a tool call, shared memory, a log or a generated file.
8 channels, one schema
Traces from any framework normalize to one AgentLeak schema, so the analysis is identical whatever produced the run.
- User input and final output
- Tool calls and tool responses
- Inter-agent messages and shared memory
- Logs and generated files
Severity you can defend
Every finding gets a level from L1 to L4 based on how sensitive the exposed value is and where it went, not a vague red/yellow/green badge.
- L1 to L4 severity per finding
- The exact channel where exposure happened
- Reconstructed leak path across events
- Canary matching for realistic vaults
A fix, not just a flag
Each finding carries a remediation hint: prose for your team and a structured, machine-readable hint an agent can apply on its own.
- Ready-to-paste code fixes
- Per-channel redaction advice
- Priority-sorted next steps
- Structured hints for autonomous agents
How it works
From raw trace to a fix, in four steps.
1Capture the trace
Record events at trust boundaries: user input, tool calls and responses, memory, logs and the final output. Any framework works.
2Normalize to 8 channels
LangChain, LangGraph, CrewAI, MCP, OpenTelemetry and generic OpenAI-style logs all map to the same AgentLeak schema before analysis.
3Replay and match
Each channel is scanned with regex, Presidio, entropy and de-obfuscation detectors, matched against the vault, and reconstructed into a leak path.
4Read the report
Every finding lists the exact channel, a severity from L1 to L4, and a fix, in the CLI, the dashboard or a JSON report.
Analyze a trace from the CLI
agentleak run --trace run.json --output ./reports --format html
open ./reports/run_0001.html
Read the complete implementation guide →