What it answers
The project frames one investigation question: who instructed which AI agent or subagent to perform what action, through which tool, MCP server or identity, against which resource, and what evidence proves it.
Method
AgentDFIR collects activity from Claude Code, Claude Cowork, Codex, Cursor, Gemini CLI, Copilot and other agents. Sources include a live machine, a Windows, macOS or Linux disk image, an AI-service account export, or a forensic suite’s export. Collection produces a sealed, hash-chained evidence package.
Model output is never treated as proof that something ran. Every action gets an evidence state: asked, claimed, recorded, partly confirmed, confirmed, disproved or unknown. An agent that says it ran a command, with no matching tool call, stays at claimed. A second witness, such as auditd, Sysmon or EDR exports, cloud audit logs or an MCP gateway log, is what moves a finding up.
The workflow, as documented in the README:
agentdfir detect # 1. what AI agents are on this machine (never runs them)
agentdfir collect --product claude # 2. sealed, hash-chained evidence package
agentdfir analyze CASE-2026-042.adfir # 3. every analysis stage, one command
agentdfir serve CASE-2026-042.adfir --open # 4. browse: overview, findings as stories, activity, MCP, search
Detections map to MITRE ATLAS and ATT&CK, and the coverage report is published in the repository.
Limits
The README states its limits plainly. The rules decide no intent. A schema mismatch is not a compromise, and a missing approval record is not an unauthorized action. When a parser did not record a field, the rule stays silent, which is missing evidence, not a clean result. A technique marked as covered means a rule is mapped, not that every variant is detected.
Evidence
- Source code and documentation: github.com/efij/AgentDFIR
- Release history: AgentDFIR releases
- Project site: agentdfir.com
- MITRE coverage: detection coverage document