How dreadnode/ares works
Ares is an autonomous security-operations platform with red-team operations and blue-team investigations. In the red workflow, an operator submits an operation; the orchestrator coordinates LLM planning and dispatches work through Redis to specialist workers, which execute tools and return results for state updates. The blue workflow coordinates investigations using log/metric evidence, detection, and reports. The README documents these flows and integrations; sampled sources confirm CLI dispatch, tool dispatch, and teardown behavior. Other subsystem links below rely on README documentation where source excerpts were unavailable.
Main entry points: mod.rs Red Orchestrator · lib.rs Tool Dispatch · runner.rs Blue Orchestrator · executor.rs Specialist Workers
Components 34
Operator Entry
- Ares CLI
ares-cli/src/main.rs - Operation Commands
ares-cli/src/ops/mod.rs - Blue Commands
ares-cli/src/blue/mod.rs
Red Operations
- Red Orchestrator
ares-cli/src/orchestrator/mod.rs - LLM Agent Loop
ares-llm/src/agent_loop/runner.rs - Attack Automation
ares-cli/src/orchestrator/automation - ACL Graph
ares-cli/src/orchestrator/acl_graph.rs - Specialist Workers
ares-cli/src/worker/task_loop/executor.rs - Tool Dispatch
ares-tools/src/lib.rs - Tool Executor
ares-tools/src/executor.rs - Recon Tools
ares-tools/src/recon.rs - ACL Tools
ares-tools/src/acl.rs - Coercion Tools
ares-tools/src/coercion.rs - Cracking Tools
ares-tools/src/cracker.rs - Tool Output Parsers
ares-tools/src/parsers/mod.rs - Teardown Engine
ares-cli/src/orchestrator/cleanup/engine.rs - Mutation Journal
ares-cli/src/orchestrator/cleanup/journal.rs - Cleanup Registry
ares-cli/src/orchestrator/cleanup/registry.rs
Blue Investigations
- Blue Orchestrator
ares-cli/src/orchestrator/blue/runner.rs - Blue Agents
ares-llm/src/tool_registry/blue/orchestrator.rs - Grafana Queries
ares-tools/src/blue/grafana/query.rs - Detection Templates
ares-cli/src/detection/mod.rs - Red-Blue Correlation
ares-core/src/correlation/redblue/engine.rs - Investigation Reports
ares-core/src/reports/blueteam/generator/mod.rs - Grafana Loki/Prometheus
Shared Platform
- Task Queue
ares-cli/src/orchestrator/task_queue.rs - Redis Connection
ares-cli/src/redis_conn.rs - Redis
- Operation Models
ares-core/src/models/operation.rs - Shared State
ares-core/src/state/mod.rs - Token Usage
ares-core/src/token_usage.rs - Operation Recovery
ares-cli/src/orchestrator/recovery/manager.rs - LLM Providers
ares-llm/src/provider/mod.rs
Other components
- Operator
Connections 37
- Operator → Ares CLI: runs commands
README.md - Ares CLI → Operation Commands: routes operations
ares-cli/src/main.rs - Operation Commands → Red Orchestrator: starts operations
- Red Orchestrator → LLM Agent Loop: coordinates with
README.md - LLM Agent Loop → LLM Providers: requests completions
- Red Orchestrator → Attack Automation: dispatches attack chains
README.md - Red Orchestrator → ACL Graph: builds ACL paths
ares-cli/src/orchestrator/acl_graph.rs - Red Orchestrator → Task Queue: dispatches tasks
README.md - Task Queue → Redis Connection: uses connection
- Redis Connection → Redis: connects to
ares-cli/src/redis_conn.rs - Task Queue → Redis: queues tasks
README.md - Redis → Specialist Workers: delivers tasks
README.md - Specialist Workers → Tool Dispatch: executes tools
README.md - Tool Dispatch → Tool Executor: dispatches execution
ares-tools/src/lib.rs - Tool Dispatch → Recon Tools: dispatches recon
ares-tools/src/lib.rs - Tool Dispatch → ACL Tools: dispatches ACL tools
ares-tools/src/lib.rs - Tool Dispatch → Coercion Tools: dispatches coercion
ares-tools/src/lib.rs - Tool Dispatch → Cracking Tools: dispatches cracking
ares-tools/src/lib.rs - Specialist Workers → Tool Output Parsers: parses tool output
- Specialist Workers → Shared State: returns results
README.md - Red Orchestrator → Shared State: updates operation state
README.md - Shared State → Operation Models: stores operation data
- LLM Agent Loop → Token Usage: records usage
- Ares CLI → Operation Recovery: recovers operations
- Operation Commands → Teardown Engine: runs teardown
ares-cli/src/orchestrator/cleanup/engine.rs - Teardown Engine → Mutation Journal: reads mutation journal
ares-cli/src/orchestrator/cleanup/engine.rs - Teardown Engine → Cleanup Registry: plans reversals
ares-cli/src/orchestrator/cleanup/engine.rs - Operator → Blue Commands: submits investigations
README.md - Blue Commands → Blue Orchestrator: starts investigations
README.md - Blue Orchestrator → Blue Agents: coordinates agents
README.md - Blue Orchestrator → Task Queue: dispatches tasks
README.md - Blue Agents → Grafana Queries: queries evidence
- Grafana Queries → Grafana Loki/Prometheus: queries logs and metrics
ares-tools/src/blue/grafana/query.rs - Blue Agents → Detection Templates: runs detections
README.md - Blue Orchestrator → Red-Blue Correlation: correlates investigations
- Blue Orchestrator → Investigation Reports: generates reports
README.md - Blue Agents → Grafana Loki/Prometheus: writes detection rules
README.md