# 24co35-ops/eye_of_abyss architecture

> Architecture diagram of the GitHub repository 24co35-ops/eye_of_abyss, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/24co35-ops/eye_of_abyss
- Repository: https://github.com/24co35-ops/eye_of_abyss

## Overview

Eye of Abyss is a self-hosted cybercrime investigation workstation. Investigators use the browser command center to run voice, dark-web attribution, and cryptocurrency-forensics workflows; the Case Engine collects their evidence, computes convergence, and supports review, anchoring, and dossier export. The graph preserves the three distinct forensic tracks and the case lifecycle. Service-to-service links follow the documented architecture; unsampled implementation details are not asserted.

Main entry points: [`services/case-engine/main.py`](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/case-engine/main.py) (Case API), [`services/chaineye/main.py`](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/chaineye/main.py) (Wallet Trace API), [`services/voiceguard/main.py`](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/voiceguard/main.py) (Audio Analysis API), [`services/shadowtrace/main.py`](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/shadowtrace/main.py) (Attribution API)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["Investigation Workstation"]
  node_workstation["Command Center<br/>[page.tsx]"]
  node_case_views["Case Views<br/>[page.tsx]"]
  node_voice_view["Voice Analysis View<br/>[page.tsx]"]
  node_shadow_view["Actor Attribution View<br/>[page.tsx]"]
  node_chain_view["Crypto Forensics View<br/>[page.tsx]"]
end

subgraph group_case["Case Management"]
  node_case_api["Case API<br/>[main.py]"]
  node_convergence["Signal Convergence<br/>[convergence.py]"]
  node_case_state["Case State<br/>[machine.py]"]
  node_case_db[("Case Evidence Store<br/>[db.py]")]
  node_anchoring["Evidence Anchoring<br/>[anchor.py]"]
  node_case_export["PDF Dossiers<br/>[pdf_export.py]"]
end

subgraph group_voice["VoiceGuard"]
  node_voice_api["Audio Analysis API<br/>[main.py]"]
  node_voice_preprocess["Audio Preprocessing<br/>[preprocessing.py]"]
  node_voice_model["Deepfake Inference<br/>[model.py]"]
end

subgraph group_shadow["ShadowTrace"]
  node_shadow_api["Attribution API<br/>[main.py]"]
  node_stylometry["Stylometric Fingerprints<br/>[features.py]"]
  node_temporal["Temporal Analysis<br/>[analysis.py]"]
  node_actor_graph["Actor Network<br/>[graph.py]"]
end

subgraph group_chain["ChainEye"]
  node_chain_api["Wallet Trace API<br/>[main.py]"]
  node_wallet_graph["Transaction Graph<br/>[explorer.py]"]
  node_clustering["Wallet Clustering<br/>[clustering.py]"]
  node_vasp["VASP Attribution<br/>[vasp_registry.py]"]
  node_gnn["Wallet Classification<br/>[inference.py]"]
end

subgraph group_shared["Shared Services"]
  node_shared_schemas["Evidence Schemas<br/>[schemas.py]"]
  node_auth["Shared Authentication<br/>[auth.py]"]
  node_object_storage["Artifact Storage<br/>[storage.py]"]
end

node_investigator(("Investigator"))
node_database_services[("PostgreSQL · Redis · MinIO")]
node_neo4j[("Neo4j Graph Store")]
node_blockchain{{"EVM · IPFS"}}

node_investigator -->|"uses"| node_workstation
node_workstation -->|"opens"| node_case_views
node_workstation -->|"opens"| node_voice_view
node_workstation -->|"opens"| node_shadow_view
node_workstation -->|"opens"| node_chain_view
node_case_views -.->|"manages cases"| node_case_api
node_voice_view -.->|"submits audio"| node_voice_api
node_shadow_view -.->|"requests attribution"| node_shadow_api
node_chain_view -.->|"requests trace"| node_chain_api
node_case_api -->|"computes signals"| node_convergence
node_case_api -->|"reads and writes"| node_case_db
node_case_api -->|"advances lifecycle"| node_case_state
node_case_api -->|"exports dossier"| node_case_export
node_case_api -->|"anchors evidence"| node_anchoring
node_convergence -->|"stores results"| node_case_db
node_anchoring -->|"anchors proofs"| node_blockchain
node_voice_api -->|"prepares audio"| node_voice_preprocess
node_voice_api -->|"runs inference"| node_voice_model
node_voice_api -->|"builds evidence"| node_shared_schemas
node_voice_api -->|"stores artifacts"| node_object_storage
node_shadow_api -->|"extracts fingerprints"| node_stylometry
node_shadow_api -->|"analyzes timing"| node_temporal
node_shadow_api -->|"explores actors"| node_actor_graph
node_shadow_api -->|"returns evidence"| node_shared_schemas
node_chain_api -->|"explores transactions"| node_wallet_graph
node_chain_api -->|"clusters wallets"| node_clustering
node_chain_api -->|"classifies wallets"| node_gnn
node_chain_api -->|"attributes entities"| node_vasp
node_gnn -->|"uses labels"| node_vasp
node_clustering -->|"checks entities"| node_vasp
node_chain_api -->|"syncs graph"| node_neo4j
node_case_api -->|"accepts evidence"| node_shared_schemas
node_case_api -->|"checks access"| node_auth
node_case_api -->|"persists cases"| node_database_services
node_voice_api -->|"uses shared storage"| node_database_services
node_shadow_api -->|"uses shared stores"| node_database_services
node_chain_api -->|"uses shared stores"| node_database_services

click node_workstation "https://github.com/24co35-ops/eye_of_abyss/blob/main/frontend/app/page.tsx"
click node_case_views "https://github.com/24co35-ops/eye_of_abyss/blob/main/frontend/app/cases/page.tsx"
click node_voice_view "https://github.com/24co35-ops/eye_of_abyss/blob/main/frontend/app/voiceguard/page.tsx"
click node_shadow_view "https://github.com/24co35-ops/eye_of_abyss/blob/main/frontend/app/shadowtrace/page.tsx"
click node_chain_view "https://github.com/24co35-ops/eye_of_abyss/blob/main/frontend/app/chaineye/page.tsx"
click node_case_api "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/case-engine/main.py"
click node_convergence "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/case-engine/convergence.py"
click node_case_state "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/case-engine/state_machine/machine.py"
click node_case_db "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/case-engine/db.py"
click node_anchoring "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/case-engine/anchoring/anchor.py"
click node_case_export "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/case-engine/pdf_export.py"
click node_voice_api "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/voiceguard/main.py"
click node_voice_preprocess "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/voiceguard/preprocessing.py"
click node_voice_model "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/voiceguard/inference/model.py"
click node_shadow_api "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/shadowtrace/main.py"
click node_stylometry "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/shadowtrace/stylometry/features.py"
click node_temporal "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/shadowtrace/temporal/analysis.py"
click node_actor_graph "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/shadowtrace/network/graph.py"
click node_chain_api "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/chaineye/main.py"
click node_wallet_graph "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/chaineye/graph/explorer.py"
click node_clustering "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/chaineye/graph/clustering.py"
click node_vasp "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/chaineye/attribution/vasp_registry.py"
click node_gnn "https://github.com/24co35-ops/eye_of_abyss/blob/main/services/chaineye/gnn/inference.py"
click node_shared_schemas "https://github.com/24co35-ops/eye_of_abyss/blob/main/shared/schemas.py"
click node_auth "https://github.com/24co35-ops/eye_of_abyss/blob/main/shared/auth.py"
click node_object_storage "https://github.com/24co35-ops/eye_of_abyss/blob/main/shared/storage.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_workstation,node_case_views,node_voice_view,node_shadow_view,node_chain_view toneBlue
class node_case_api,node_convergence,node_case_state,node_case_db,node_anchoring,node_case_export,node_database_services,node_neo4j toneAmber
class node_voice_api,node_voice_preprocess,node_voice_model toneMint
class node_shadow_api,node_stylometry,node_temporal,node_actor_graph toneRose
class node_chain_api,node_wallet_graph,node_clustering,node_vasp,node_gnn,node_investigator,node_blockchain toneIndigo
class node_shared_schemas,node_auth,node_object_storage toneTeal
```

## Components

### Investigation Workstation

- [Command Center](https://github.com/24co35-ops/eye_of_abyss/blob/main/frontend/app/page.tsx): `frontend/app/page.tsx`
- [Case Views](https://github.com/24co35-ops/eye_of_abyss/blob/main/frontend/app/cases/page.tsx): `frontend/app/cases/page.tsx`
- [Voice Analysis View](https://github.com/24co35-ops/eye_of_abyss/blob/main/frontend/app/voiceguard/page.tsx): `frontend/app/voiceguard/page.tsx`
- [Actor Attribution View](https://github.com/24co35-ops/eye_of_abyss/blob/main/frontend/app/shadowtrace/page.tsx): `frontend/app/shadowtrace/page.tsx`
- [Crypto Forensics View](https://github.com/24co35-ops/eye_of_abyss/blob/main/frontend/app/chaineye/page.tsx): `frontend/app/chaineye/page.tsx`

### Case Management

- [Case API](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/case-engine/main.py): `services/case-engine/main.py`
- [Signal Convergence](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/case-engine/convergence.py): `services/case-engine/convergence.py`
- [Case State](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/case-engine/state_machine/machine.py): `services/case-engine/state_machine/machine.py`
- [Case Evidence Store](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/case-engine/db.py): `services/case-engine/db.py`
- [Evidence Anchoring](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/case-engine/anchoring/anchor.py): `services/case-engine/anchoring/anchor.py`
- [PDF Dossiers](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/case-engine/pdf_export.py): `services/case-engine/pdf_export.py`

### VoiceGuard

- [Audio Analysis API](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/voiceguard/main.py): `services/voiceguard/main.py`
- [Audio Preprocessing](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/voiceguard/preprocessing.py): `services/voiceguard/preprocessing.py`
- [Deepfake Inference](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/voiceguard/inference/model.py): `services/voiceguard/inference/model.py`

### ShadowTrace

- [Attribution API](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/shadowtrace/main.py): `services/shadowtrace/main.py`
- [Stylometric Fingerprints](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/shadowtrace/stylometry/features.py): `services/shadowtrace/stylometry/features.py`
- [Temporal Analysis](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/shadowtrace/temporal/analysis.py): `services/shadowtrace/temporal/analysis.py`
- [Actor Network](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/shadowtrace/network/graph.py): `services/shadowtrace/network/graph.py`

### ChainEye

- [Wallet Trace API](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/chaineye/main.py): `services/chaineye/main.py`
- [Transaction Graph](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/chaineye/graph/explorer.py): `services/chaineye/graph/explorer.py`
- [Wallet Clustering](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/chaineye/graph/clustering.py): `services/chaineye/graph/clustering.py`
- [VASP Attribution](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/chaineye/attribution/vasp_registry.py): `services/chaineye/attribution/vasp_registry.py`
- [Wallet Classification](https://github.com/24co35-ops/eye_of_abyss/blob/main/services/chaineye/gnn/inference.py): `services/chaineye/gnn/inference.py`

### Shared Services

- [Evidence Schemas](https://github.com/24co35-ops/eye_of_abyss/blob/main/shared/schemas.py): `shared/schemas.py`
- [Shared Authentication](https://github.com/24co35-ops/eye_of_abyss/blob/main/shared/auth.py): `shared/auth.py`
- [Artifact Storage](https://github.com/24co35-ops/eye_of_abyss/blob/main/shared/storage.py): `shared/storage.py`

### Other components

- **Investigator**
- **PostgreSQL · Redis · MinIO**
- **Neo4j Graph Store**
- **EVM · IPFS**

## Connections

- Investigator → Command Center: uses
- Command Center → Case Views: opens
- Command Center → Voice Analysis View: opens
- Command Center → Actor Attribution View: opens
- Command Center → Crypto Forensics View: opens
- Case Views → Case API: manages cases
- Voice Analysis View → Audio Analysis API: submits audio
- Actor Attribution View → Attribution API: requests attribution
- Crypto Forensics View → Wallet Trace API: requests trace
- Case API → Signal Convergence: computes signals (evidence: `services/case-engine/main.py`)
- Case API → Case Evidence Store: reads and writes (evidence: `services/case-engine/main.py`)
- Case API → Case State: advances lifecycle (evidence: `services/case-engine/main.py`)
- Case API → PDF Dossiers: exports dossier (evidence: `services/case-engine/main.py`)
- Case API → Evidence Anchoring: anchors evidence (evidence: `services/case-engine/main.py`)
- Signal Convergence → Case Evidence Store: stores results (evidence: `services/case-engine/convergence.py`)
- Evidence Anchoring → EVM · IPFS: anchors proofs
- Audio Analysis API → Audio Preprocessing: prepares audio (evidence: `services/voiceguard/main.py`)
- Audio Analysis API → Deepfake Inference: runs inference (evidence: `services/voiceguard/main.py`)
- Audio Analysis API → Evidence Schemas: builds evidence (evidence: `services/voiceguard/main.py`)
- Audio Analysis API → Artifact Storage: stores artifacts (evidence: `services/voiceguard/main.py`)
- Attribution API → Stylometric Fingerprints: extracts fingerprints (evidence: `services/shadowtrace/main.py`)
- Attribution API → Temporal Analysis: analyzes timing (evidence: `services/shadowtrace/main.py`)
- Attribution API → Actor Network: explores actors (evidence: `services/shadowtrace/main.py`)
- Attribution API → Evidence Schemas: returns evidence (evidence: `services/shadowtrace/main.py`)
- Wallet Trace API → Transaction Graph: explores transactions (evidence: `services/chaineye/main.py`)
- Wallet Trace API → Wallet Clustering: clusters wallets (evidence: `services/chaineye/main.py`)
- Wallet Trace API → Wallet Classification: classifies wallets (evidence: `services/chaineye/main.py`)
- Wallet Trace API → VASP Attribution: attributes entities (evidence: `services/chaineye/main.py`)
- Wallet Classification → VASP Attribution: uses labels (evidence: `services/chaineye/gnn/inference.py`)
- Wallet Clustering → VASP Attribution: checks entities (evidence: `services/chaineye/graph/clustering.py`)
- Wallet Trace API → Neo4j Graph Store: syncs graph
- Case API → Evidence Schemas: accepts evidence (evidence: `services/case-engine/main.py`)
- Case API → Shared Authentication: checks access (evidence: `services/case-engine/main.py`)
- Case API → PostgreSQL · Redis · MinIO: persists cases
- Audio Analysis API → PostgreSQL · Redis · MinIO: uses shared storage
- Attribution API → PostgreSQL · Redis · MinIO: uses shared stores
- Wallet Trace API → PostgreSQL · Redis · MinIO: uses shared stores
