How nebulae/trudi works
TRUDI is an autonomous DFIR investigation agent: an analyst directs an investigation through an MCP tool gateway, collects forensic evidence, and produces reviewed findings and an auditable report. Its documented workflow separates phase planning (DAIR), execution (the analyst and forensic tools), adversarial review, and gated reporting. The README supports these workflow relationships; server.py shows the MCP gateway and tool imports. Several tool implementations and the dashboard wiring were not sampled, so those edges reflect documented behavior rather than inspection of their internals.
Main entry points: server.py MCP gateway · reasoning.py Adversarial reviewer · dair.py DAIR director · findings.py Finding lifecycle
Components 21
Investigation orchestration
- MCP gateway
server.py - Tool middleware
core/middleware.py - DAIR director
tools/dair.py
Forensic examination
- Disk examination
tools/imaging.py - Memory forensics
tools/volatility.py - Windows artifacts
tools/eztools.py - Timeline analysis
tools/plaso.py - YARA hunting
tools/yara_tools.py - Network analysis
tools/network.py - IOC enrichment
tools/enrichment.py - Live triage
tools/live.py
Reasoning and assurance
- Adversarial reviewer
tools/reasoning.py - Work-order gates
tools/_gates/work_order.py
Evidence and reporting
- Finding lifecycle
core/findings.py - Finding submission
core/finding_submission.py - Execution trace
core/execution_log.py - Evidence packets
core/evidence_packets.py - Case reporting
tools/misc.py
Monitoring and response
- Trace dashboard
dashboard/serve.py - Response controls
response/gates.py
Other components
- Claude analyst
Connections 22
- Claude analyst → MCP gateway: directs investigation
- MCP gateway → Tool middleware: installs middleware
server.py - MCP gateway → Disk examination: exposes tools
server.py - MCP gateway → Memory forensics: exposes tools
server.py - MCP gateway → Windows artifacts: exposes tools
server.py - MCP gateway → Timeline analysis: exposes tools
server.py - MCP gateway → YARA hunting: exposes tools
server.py - MCP gateway → Network analysis: exposes tools
server.py - MCP gateway → IOC enrichment: exposes tools
server.py - MCP gateway → Live triage: exposes tools
server.py - Claude analyst → DAIR director: requests phase direction
- DAIR director → Claude analyst: prescribes work
- Claude analyst → Adversarial reviewer: requests review
- Adversarial reviewer → Claude analyst: returns challenges
- Claude analyst → Finding lifecycle: records findings
- Finding lifecycle → Finding submission: submits revisions
- Claude analyst → Case reporting: writes final report
- Claude analyst → Execution trace: records calls
- Execution trace → Trace dashboard: renders trace
- Adversarial reviewer → Work-order gates: binds tool plan
tools/reasoning.py - Adversarial reviewer → Evidence packets: reviews evidence
tools/reasoning.py - Claude analyst → Response controls: uses response gates