Autonomous graph-native incident command system that grounds vulnerability triage and automated containment in verified Neo4j topology and episodic incident memory.
Modern AI agents for SecOps and DevOps suffer from two critical flaws:
- Context Blindness: Vector databases retrieve isolated text snippets by keyword similarity. They cannot traverse structural relationships—such as whether a compromised Kubernetes node has IAM permissions or network access to reach a crown-jewel database. Without graph topology, agents either miss multi-hop attack vectors or hallucinate ungrounded remediations.
- Episodic Amnesia: Agents lose context between sessions. An agent will repeatedly attempt the same failing runbook procedure (e.g., dropping all ingress traffic and causing outage) because it has no structured memory connecting past incident failures to operational decisions.
Reachability solves this by putting Neo4j at the center of the agent lifecycle: every decision must be grounded in an executable Cypher graph path, and every past resolution or failure is indexed in graph-native episodic memory.
+-------------------------------------------------------------+
| Interactive Operations Deck |
| (Interactive Canvas · Threat Radar · Telemetry Terminal) |
+------------------------------+------------------------------+
|
v
+-------------------------------------------------------------+
| FastAPI Engine (src/api/) |
| (REST Endpoints · OpenAPI /docs · CORS) |
+--------+---------------------+---------------------+--------+
| | |
v v v
+-----------------+ +-----------------+ +-----------------+
| Security Agent | | Code Impact | | Commander Agent |
| (Blast Radius) | | Agent (Repo/Dev)| | (Actions/Memory)|
+--------+--------+ +--------+--------+ +--------+--------+
| | |
+---------------------+---------------------+
| Grounded Cypher Tools
v
+-------------------------------------------------------------+
| Neo4j Graph |
| +-----------------------+ +-----------------------+ |
| | Structural Context | | Episodic Memory | |
| | (Topology/IAM/Code) | | (Past Incidents) | |
| +-----------------------+ +-----------------------+ |
+-------------------------------------------------------------+
# Copy example configuration
cp .env.example .envDefault connection parameters in .env:
NEO4J_URI=bolt://localhost:7687 NEO4J_USERNAME=neo4j NEO4J_PASSWORD=reachability123 NEO4J_DATABASE=neo4j
docker compose up -d
Note: Reachability also includes an automatic simulated graph mode, so the full web UI and API work seamlessly even when Docker is offline.
python run.py
- Interactive Operations Deck: http://localhost:8000
- Interactive OpenAPI Documentation: http://localhost:8000/docs
The Neo4j graph schema captures full-stack enterprise context:
Service: Software service (e.g.,payments-api)Asset: Infrastructure hosts and databases (e.g.,k8s-node-payments-prod-01,rds-pg-payments-master)Vulnerability: Known CVEs (e.g.,CVE-2024-3094)CrownJewel: High-value data targets (e.g.,CustomerPIIStore,PaymentLedger)Identity&Permission: IAM principals and policies (e.g.,role-payments-executor)Repo,File,Function: Code exposure hierarchyOwner&OnCall: Engineering ownership and paging rotationsIncident,Action,RunbookStep: Incident state and audit logsMemoryEpisode: Historical incident outcomes and lessons learned
(Service)-[:RUNS_ON]->(Asset)(Asset)-[:REACHES]->(CrownJewel)(Asset)-[:HAS_VULN]->(Vulnerability)(Asset)-[:USES_IDENTITY]->(Identity)-[:HAS_PERMISSION]->(Permission)-[:GRANTS_ACCESS_TO]->(CrownJewel)(Service)-[:HAS_REPO]->(Repo)-[:CONTAINS]->(File)-[:DEFINES]->(Function)(Service)-[:OWNED_BY]->(Owner)-[:ON_CALL]->(OnCall)(Incident)-[:AFFECTS]->(Service)(Incident)-[:HAS_ACTION]->(Action)(Incident)-[:SIMILAR_TO]->(Incident)(Incident)-[:RESOLVED_BY]->(MemoryEpisode)
Run unit and integration tests across database connectors, REST APIs, and mock actions:
pytest tests/