How nebulock-inc/agentic-threat-hunting-framework works
ATHF is a threat-hunting memory and automation framework: analysts document hunts in LOCK format, retain and search hunt and research records, and use AI agents and integrations to enrich that work. The graph shows the documented CLI/MCP entry points, hunt and investigation handling, research, ATT&CK coverage, and supporting verdict and metrics capabilities. Automation is shown as a separate repository subsystem. Some links rely on README claims or SOURCE INDEX references; unsampled implementations and their internal call paths are not inferred.
Main entry points: hunt.py Hunt commands · cli.py ATHF CLI · tools MCP tool sets · hunt_researcher.py Hunt researcher
Components 29
User interfaces
- ATHF CLI
athf/cli.py - MCP server
athf/mcp/server.py - Automation loop
automation/loop.ts - GitHub operations
automation/github.ts - Issue classifier
automation/classifier.ts - Issue implementer
automation/implementer.ts
Hunt lifecycle
- Hunt commands
athf/commands/hunt.py - Hunt records
athf/core/hunt_manager.py - LOCK parser
athf/core/hunt_parser.py - Hunt templates
athf/core/template_engine.py - Investigations
athf/commands/investigate.py - Investigation parser
athf/core/investigation_parser.py
Research and AI
- Research commands
athf/commands/research.py - Hunt researcher
athf/agents/llm/hunt_researcher.py - Hypothesis agent
athf/agents/llm/hypothesis_generator.py - Research records
athf/core/research_manager.py - Web search
athf/core/web_search.py - Similar hunts
athf/commands/similar.py
Tools and integrations
- MCP tool sets
athf/mcp/tools - Splunk client
athf/core/splunk_client.py
Shared analysis
- ATT&CK coverage
athf/core/attack_matrix.py - Verdict validation
athf/core/verdicts.py - Evidence provenance
athf/core/provenance.py - Input validation
athf/utils/validation.py - Metrics recording
athf/metrics/__init__.py - Metrics event log
athf/metrics/__init__.py
Other components
- Analyst
- GitHub
- Web search service
Connections 34
- Analyst → ATHF CLI: runs commands
- ATHF CLI → Hunt commands: routes hunts
athf/cli.py - ATHF CLI → Research commands: routes research
athf/cli.py - ATHF CLI → Investigations: routes investigations
athf/cli.py - Hunt commands → Hunt records: manages records
athf/commands/hunt.py - Hunt commands → LOCK parser: parses hunts
athf/commands/hunt.py - Hunt commands → Hunt templates: renders templates
athf/commands/hunt.py - Hunt commands → Verdict validation: uses verdicts
athf/commands/hunt.py - Hunt commands → Input validation: validates input
athf/commands/hunt.py - Hunt records → LOCK parser: parses files
athf/core/hunt_manager.py - Hunt records → ATT&CK coverage: computes coverage
athf/core/hunt_manager.py - LOCK parser → Verdict validation: validates findings
athf/core/hunt_parser.py - LOCK parser → Evidence provenance: checks evidence
athf/core/hunt_parser.py - Investigations → Investigation parser: parses investigations
athf/commands/investigate.py - Research commands → Hunt researcher: runs research
athf/commands/research.py - Research commands → Research records: saves research
athf/commands/research.py - Hunt researcher → Web search: searches sources
athf/agents/llm/hunt_researcher.py - Hunt researcher → Research records: checks related work
athf/agents/llm/hunt_researcher.py - Research records → Hypothesis agent: builds context
athf/core/research_manager.py - Hunt researcher → Web search service: queries externally
athf/agents/llm/hunt_researcher.py - Similar hunts → Hunt records: searches hunt records
athf/commands/similar.py - Analyst → MCP server: uses assistant tools
- MCP server → MCP tool sets: registers tools
athf/mcp/server.py - MCP tool sets → Hunt records: exposes hunt operations
athf/mcp/tools/hunt_tools.py - MCP tool sets → Research records: exposes research operations
athf/mcp/tools/research_tools.py - MCP tool sets → Hunt researcher: runs AI research
athf/mcp/tools/research_tools.py - MCP tool sets → Investigation parser: handles investigations
athf/mcp/tools/investigate_tools.py - ATHF CLI → Splunk client: offers Splunk commands
athf/cli.py - Metrics recording → Metrics event log: appends events
athf/metrics/__init__.py - Automation loop → Issue classifier: classifies issues
automation/loop.ts - Automation loop → Issue implementer: dispatches work
automation/loop.ts - Automation loop → GitHub operations: uses GitHub operations
automation/loop.ts - GitHub operations → GitHub: accesses repository
automation/github.ts - Issue implementer → GitHub: updates issues
automation/implementer.ts