# funnywolf/agentic-soc-platform architecture

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

- Interactive diagram: https://gitdiagram.com/funnywolf/agentic-soc-platform
- Repository: https://github.com/funnywolf/agentic-soc-platform

## Overview

Agentic SOC Platform turns SIEM and webhook signals into actionable security records, then supports AI-assisted case investigation, enrichment, playbook automation, and knowledge capture. Analysts and administrators work through the web application; harness agents can use the CLI/API. The graph preserves these documented product branches, plus governance and collaboration. Source excerpts show selected service calls; other subsystem connections are omitted where implementation was not sampled, and dashed links mark documented or unverified integration paths.

Main entry points: [`backend/apps/agentic/runtime/base.py`](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/agentic/runtime/base.py) (Agent runtime), [`frontend/src/App.tsx`](https://github.com/funnywolf/agentic-soc-platform/blob/master/frontend/src/App.tsx) (Web workspace), [`backend/apps/cases/models.py`](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/cases/models.py) (Cases), [`backend/apps/agentic/services/playbooks.py`](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/agentic/services/playbooks.py) (Playbooks)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workspace["Analyst workspace"]
  node_webapp["Web workspace<br/>[App.tsx]"]
  node_cli["ASP CLI<br/>[main.py]"]
  node_agentapi["Agent API<br/>[views.py]"]
  node_cases[("Cases<br/>[models.py]")]
  node_dashboard["Dashboard<br/>[Dashboard.tsx]"]
end

subgraph group_ingest["Signal intake"]
  node_alerts[("Alerts<br/>[models.py]")]
  node_artifacts[("Artifacts<br/>[models.py]")]
  node_webhook["Webhook intake<br/>[service.py]"]
end

subgraph group_investigation["Investigation automation"]
  node_agentruntime["Agent runtime<br/>[base.py]"]
  node_analysis["Case analysis<br/>[analysis.py]"]
  node_playbooks["Playbooks<br/>[playbooks.py]"]
  node_enrichments[("Enrichments<br/>[models.py]")]
  node_knowledge[("Knowledge<br/>[models.py]")]
end

subgraph group_integrations["Security integrations"]
  node_siem["SIEM search<br/>[service.py]"]
  node_siemconfig["SIEM backends<br/>[models.py]"]
  node_threatintel["Threat intelligence<br/>[service.py]"]
  node_cmdb["CMDB lookup<br/>[service.py]"]
  node_llm["LLM providers<br/>[llmapi.py]"]
end

subgraph group_platform["Platform services"]
  node_accounts["Accounts and access<br/>[views.py]"]
  node_settings[("Runtime settings<br/>[runtime_config.py]")]
  node_collaboration["Inbox and comments<br/>[services.py]"]
  node_realtime["Realtime events<br/>[events.py]"]
  node_audit[("Audit trail<br/>[models.py]")]
end

node_analyst(("Analyst"))
node_harness(("Harness agent"))

node_analyst -->|"uses"| node_webapp
node_harness -->|"uses"| node_cli
node_cli -->|"requests"| node_agentapi
node_webapp -->|"authenticates"| node_accounts
node_webapp -->|"views"| node_dashboard
node_webhook -.->|"ingests"| node_alerts
node_siem -->|"uses"| node_siemconfig
node_siem -.->|"finds signals"| node_alerts
node_alerts -.->|"correlates"| node_cases
node_cases -.->|"starts analysis"| node_agentruntime
node_agentruntime -.->|"runs"| node_analysis
node_agentruntime -->|"dispatches"| node_playbooks
node_agentruntime -.->|"requests analysis"| node_llm
node_agentruntime -->|"creates"| node_enrichments
node_agentruntime -->|"updates"| node_artifacts
node_playbooks -.->|"enriches indicators"| node_threatintel
node_playbooks -.->|"looks up assets"| node_cmdb
node_playbooks -.->|"extracts"| node_knowledge
node_cases -.->|"discusses"| node_collaboration
node_collaboration -->|"publishes"| node_realtime
node_webapp -.->|"subscribes"| node_realtime
node_settings -.->|"configures"| node_siemconfig
node_settings -->|"configures"| node_llm
node_cases -.->|"records activity"| node_audit

click node_webapp "https://github.com/funnywolf/agentic-soc-platform/blob/master/frontend/src/App.tsx"
click node_cli "https://github.com/funnywolf/agentic-soc-platform/blob/master/cli/src/asp_cli/main.py"
click node_agentapi "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/agent_api/views.py"
click node_cases "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/cases/models.py"
click node_alerts "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/alerts/models.py"
click node_artifacts "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/artifacts/models.py"
click node_webhook "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/webhook/service.py"
click node_siem "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/integrations/siem/service.py"
click node_siemconfig "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/integrations/siem/models.py"
click node_agentruntime "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/agentic/runtime/base.py"
click node_analysis "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/agentic/analysis/analysis.py"
click node_playbooks "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/agentic/services/playbooks.py"
click node_enrichments "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/enrichments/models.py"
click node_knowledge "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/knowledge/models.py"
click node_threatintel "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/integrations/threat_intel/service.py"
click node_cmdb "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/integrations/cmdb/service.py"
click node_llm "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/integrations/llm/llmapi.py"
click node_accounts "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/accounts/views.py"
click node_settings "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/settings/runtime_config.py"
click node_collaboration "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/inbox/services.py"
click node_realtime "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/realtime/events.py"
click node_audit "https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/audit/models.py"
click node_dashboard "https://github.com/funnywolf/agentic-soc-platform/blob/master/frontend/src/pages/Dashboard.tsx"

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_webapp,node_cli,node_agentapi,node_cases,node_dashboard toneBlue
class node_alerts,node_artifacts,node_webhook toneAmber
class node_agentruntime,node_analysis,node_playbooks,node_enrichments,node_knowledge toneMint
class node_siem,node_siemconfig,node_threatintel,node_cmdb,node_llm toneRose
class node_accounts,node_settings,node_collaboration,node_realtime,node_audit,node_analyst,node_harness toneIndigo
```

## Components

### Analyst workspace

- [Web workspace](https://github.com/funnywolf/agentic-soc-platform/blob/master/frontend/src/App.tsx): `frontend/src/App.tsx`
- [ASP CLI](https://github.com/funnywolf/agentic-soc-platform/blob/master/cli/src/asp_cli/main.py): `cli/src/asp_cli/main.py`
- [Agent API](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/agent_api/views.py): `backend/apps/agent_api/views.py`
- [Cases](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/cases/models.py): `backend/apps/cases/models.py`
- [Dashboard](https://github.com/funnywolf/agentic-soc-platform/blob/master/frontend/src/pages/Dashboard.tsx): `frontend/src/pages/Dashboard.tsx`

### Signal intake

- [Alerts](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/alerts/models.py): `backend/apps/alerts/models.py`
- [Artifacts](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/artifacts/models.py): `backend/apps/artifacts/models.py`
- [Webhook intake](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/webhook/service.py): `backend/apps/webhook/service.py`

### Investigation automation

- [Agent runtime](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/agentic/runtime/base.py): `backend/apps/agentic/runtime/base.py`
- [Case analysis](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/agentic/analysis/analysis.py): `backend/apps/agentic/analysis/analysis.py`
- [Playbooks](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/agentic/services/playbooks.py): `backend/apps/agentic/services/playbooks.py`
- [Enrichments](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/enrichments/models.py): `backend/apps/enrichments/models.py`
- [Knowledge](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/knowledge/models.py): `backend/apps/knowledge/models.py`

### Security integrations

- [SIEM search](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/integrations/siem/service.py): `backend/integrations/siem/service.py`
- [SIEM backends](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/integrations/siem/models.py): `backend/integrations/siem/models.py`
- [Threat intelligence](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/integrations/threat_intel/service.py): `backend/integrations/threat_intel/service.py`
- [CMDB lookup](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/integrations/cmdb/service.py): `backend/integrations/cmdb/service.py`
- [LLM providers](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/integrations/llm/llmapi.py): `backend/integrations/llm/llmapi.py`

### Platform services

- [Accounts and access](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/accounts/views.py): `backend/apps/accounts/views.py`
- [Runtime settings](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/settings/runtime_config.py): `backend/apps/settings/runtime_config.py`
- [Inbox and comments](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/inbox/services.py): `backend/apps/inbox/services.py`
- [Realtime events](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/realtime/events.py): `backend/apps/realtime/events.py`
- [Audit trail](https://github.com/funnywolf/agentic-soc-platform/blob/master/backend/apps/audit/models.py): `backend/apps/audit/models.py`

### Other components

- **Analyst**
- **Harness agent**

## Connections

- Analyst → Web workspace: uses (evidence: `frontend/src/App.tsx`)
- Harness agent → ASP CLI: uses (evidence: `README.md`)
- ASP CLI → Agent API: requests
- Web workspace → Accounts and access: authenticates (evidence: `frontend/src/App.tsx`)
- Web workspace → Dashboard: views (evidence: `frontend/src/App.tsx`)
- Webhook intake → Alerts: ingests
- SIEM search → SIEM backends: uses (evidence: `backend/integrations/siem/service.py`)
- SIEM search → Alerts: finds signals
- Alerts → Cases: correlates
- Cases → Agent runtime: starts analysis (evidence: `README.md`)
- Agent runtime → Case analysis: runs
- Agent runtime → Playbooks: dispatches (evidence: `backend/apps/agentic/runtime/base.py`)
- Agent runtime → LLM providers: requests analysis
- Agent runtime → Enrichments: creates
- Agent runtime → Artifacts: updates
- Playbooks → Threat intelligence: enriches indicators (evidence: `README.md`)
- Playbooks → CMDB lookup: looks up assets (evidence: `README.md`)
- Playbooks → Knowledge: extracts (evidence: `README.md`)
- Cases → Inbox and comments: discusses (evidence: `README.md`)
- Inbox and comments → Realtime events: publishes (evidence: `backend/apps/inbox/services.py`)
- Web workspace → Realtime events: subscribes (evidence: `README.md`)
- Runtime settings → SIEM backends: configures
- Runtime settings → LLM providers: configures (evidence: `backend/integrations/llm/llmapi.py`)
- Cases → Audit trail: records activity (evidence: `README.md`)
