AiSOC — Open-Source Self-Hosted AI Security Operations Center
Open-source, self-hostable AI SOC with alert fusion, purple-team drills, agent-assisted triage, and MITRE ATT&CK investigation.
- Source repo
- beenuar/AiSOC
- Stars
- ★ 8.8k
- Last updated
- today v24.1.0
- FARS reviewed
- Nov 07, 2026 +19 new
- License
- AGPL-3.0
- Primary language
- Python
- FA score
- 84/100 · Good
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Cost
- Free software; you pay for model usage
- Pricing
- | Pricing | $0 (self-host) | $0 (self-host) | per ingest GB | enterprise | per README
- Models
- Ollama · local models per README Compare model cost & benchmarks →
- OS / editors
- macOS · Linux · Cursor per README
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- Security teams wanting an auditable, replayable AI investigation process with self-hosting for compliance.
- Not a fit if
- Teams that need a fully air-gapped setup (hosted LLM sends evidence out by default)
- Users wanting zero-infrastructure setup without Docker, Kafka, and ClickHouse
- Teams needing fully autonomous response (copilot/read-only by default)
- Website
- beenuar.github.io/AiSOC ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release v24.1.0 (2026-12-02)+139.7 ★/day over 7 days
- Source review
- 84/100 · Good
What does this agent do, and when should you use it?
AiSOC is an open-source, self-hosted AI Security Operations Center (SOC) released under the MIT license. It integrates security event ingestion, correlation, AI-driven investigation, and a unified SOC console. Its core is a ~600-line LangGraph orchestrator that is readable and patchable. Every step of the agent (prompts, tool calls, rationale) is logged in the Investigation Ledger, which is replayable. It ships with 83 click-and-connect data connectors, 947 executable detection rules (869 native), and a 6,000-rule provenance-tracked imported library. Deployment is documented for Docker Compose, Kubernetes, and Terraform, and it provides three quickstart paths: a Python-based aisoc-sandbox simulator, in-browser GitHub Codespaces, and a Docker-based install script for the full environment. It includes an MCP server for IDE integrations and a public CI-gated benchmark harness for evaluation.
AiSOC operates as an end-to-end security operations platform: it ingests events via connectors (Python, 78 vendors) or osquery-tls, normalizes them to OCSF in a Go ingest service, enriches with IOC and Shodan, and publishes to an Apache Kafka event spine. Detection engines (Sigma, YARA, KQL) process the stream through Fusion (ML), UEBA (baseline), and a rule engine, with fused alerts. The LangGraph agent performs autonomous investigation in an LLM tool-calling loop with real tools (IOC enrichment, MITRE lookup, graph blast radius). Results are recorded in the Investigation Ledger and surfaced in a web console with an /explore data explorer, a /hunt natural-language workbench, and a marketplace for plugins and detections. Response execution is policy-governed with copilot mode as default and prompt-injection guarding. The platform also offers federated search (Splunk SPL, Sentinel KQL, Elastic ES|QL, QRadar AQL), stateful/windowed detections (brute-force, password-spray, port-scan), and cost-governed LLM routing with per-tenant budgets and circuit breakers.
- Security teams wanting an auditable, replayable AI investigation process with self-hosting for compliance.
- Security engineers who need to validate alert reduction with public eval tooling and CI-gated benchmarks.
- Analysts who want to write natural-language hypotheses and get ES|QL / SPL / KQL queries back from the /hunt workbench.
- Investigators who want to explore the event lake from a single surface with pivots to identity/graph/intel via /explore.
- MCP users who want to manage alerts and replay investigations from within IDEs like Claude, Cursor, or Cody.
- Purple teams leveraging AiSOC's detection-as-code lifecycle and automated response policies for security drills.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install -e packages/aisoc-sandboxcurl -fsSL https://raw.githubusercontent.com/beenuar/AiSOC/main/install.sh | bashnpx aisoc triage --demonpx aisoc
- Runtime
- Python 3.10+
- Install notes cover
- Docker
How do you install or deploy this agent?
Several installation paths are documented, depending on what you have:
- Zero-dependency quickstart (Python 3.10+, no Docker):
pip install -e packages/aisoc-sandbox
aisoc-sandbox demo
- Full local stack (Docker and pnpm):
git clone https://github.com/beenuar/AiSOC && cd AiSOC && pnpm aisoc:demo
- Bootstrap on a clean machine:
curl -fsSL https://raw.githubusercontent.com/beenuar/AiSOC/main/install.sh | bash
- Production deployment: refer to
apps/docs/docs/installation.md(Render, Fly.io, Docker Compose, Kubernetes, Terraform). Helm charts are ininfra/helm/, Terraform ininfra/terraform/.
Note: npx aisoc is not available until v8.0; today it builds from packages/aisoc-lite/.
How do you use this agent?
After the quickstart (full stack), open http://localhost:3000 in your browser to see the console. The console shows the seeded LockBit 3.0 case (INC-RT-001) with the agent's investigation streaming prompts, tool calls, and rationale in the Investigation Ledger. Stop the stack with pnpm aisoc:demo:down.
For production usage: configure connectors (via console or code), ingest events, and detections/alerts will appear. Use /explore for data exploration and /hunt to create hunt queries in natural language. The MCP server (services/mcp/) exposes 13 tools for direct IDE usage.
CLI quickstart (should be available after v8.0):
npx aisoc triage --demoSafety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- least-privilege scoping
- confirmation before acting
- data-flow disclosure
- sensitive-data handling
- disclosed external effects
What are this agent's strengths and limitations?
- MIT license and self-hostable with no vendor- cloud callbacks; fully air-gapped possible with local models (Ollama/vLLM) and pseudonymized evidence for hosted LLMs.
- Complete audit trail: the Investigation Ledger records every prompt, tool call, and evidence chunk, replayable and shareable as redacted public permalinks.
- Strong evaluation culture: public CI-gated benchmarks for alert reduction and substrate self-consistency checks, backing product claims (46 gated).
- Highly extensible: plugin SDK (Python, TypeScript, Go), detection-as-code, MCP server, and a three-model (Semantic, Behavioral, Knowledge) architecture.
- Cost-governed LLM routing with per-tenant budgets, content-addressed caching, and multi-model gateway fallbacks.
- Installation complexity: the full local stack requires Docker, pnpm, and Node.js, and manages many services (Kafka, ClickHouse, etc.).
- Some components are still marked preview or planned for v8.0: e.g., the
npx aisocCLI is not yet available, and the MCP server is not yet published to npm. - Autonomous response is limited to copilot/read-only by default, so full automation requires policy configuration.
- Detection count (947) may be smaller than some commercial SIEMs, though a 6,000-rule imported library exists.
- Some screenshots and videos in the docs are placeholders, which may hinder UI evaluation.
How does this agent compare with similar options?
The README compares AiSOC against Wazuh, Splunk ES, and closed-source AI SOCs. Key advantages include a more permissive open-source license (MIT vs GPL-2 or proprietary), autonomous AI investigation, a public Investigation Ledger, CI-gated evaluations, and full self-hosting capabilities.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| AiSOC — Open-Source Self-Hosted AI Security Operations Center This agent | 84 · Good | CLIFree + model costs | ★ 8.8k | today | Python | — |
| AegisOps (御枢) | 54 · Major gaps | — | ★ 208 | 2d ago | Python | — |
| SecurityClaw SOC Automation Framework | 51 · Major gaps | Self-hosted serviceFree + model costs | ★ 281 | 4mo ago | Python | OpenAI API · Claude API |
| Anthropic Cybersecurity Skills | 47 · Major gaps | CLIFree | ★ 37k | 3mo ago | Python | ChatGPT · Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
The README, SECURITY.md, and roles and permissions document describe tenant isolation, encrypted credentials, least privilege roles, human approvals, response actions that are off by default, and auditable evidence. The automatic closure remediation document also records a defect and its default-deny fix. These support high scores. Dependency security is supported only by limited evidence such as lockfiles and version overrides, without a complete account of dependency risk handling. Rollback examples are concrete but do not cover the whole product. Attribution and reporting paths are documented, but publisher identity is unverified and maintenance ownership is only partly specified, so these criteria do not receive full marks.
The materials describe CI gates, validation against real infrastructure, negative controls, and a clean-install record, supporting strong dependency availability and failure-message scores. Self-consistency is reduced because README, AGENTS.md, and the install record differ on service and smoke-stage counts (for example, 16/21/22 services and 8/10 stages). Static materials also cannot guarantee dependency availability.
Documentation addresses security operators, deployers, and developers; distinguishes core/full/demo profiles; covers several cloud-log sources; and explains local and external model options. Permission boundaries and response authorization are specific. Trigger precision is not full because the packet describes alert-triggered actions, optional schedulers, and environment switches without completely defining every trigger condition and scope.
The repository provides architecture navigation, organized documentation, detailed installation and troubleshooting guidance, common cases, known limitations, an MIT license, and a changelog. Naming stability scores low because version and service-count descriptions in the packet are not fully consistent. Changes are traceable, but this sample does not show a complete release-maintenance history. Security response windows and reporting paths are provided, but named maintenance ownership is limited and publisher identity is unknown.
The product combines alert fusion, investigation, an evidence ledger, threat intelligence, and governed response, with usable alert, investigation, and audit outputs described in the materials. Cost-benefit receives a moderate score: a local model and credential-free core reduce external-service dependence, while installation requires substantial memory, disk, and a multi-service stack, and the model has stated capability limits.
Many claims point to specific code paths, documents, CI workflows, gates, or recountable commands, and the materials distinguish real from synthetic data and measured from unmeasured results. Cross-source corroboration is reduced because this packet contains only a sample of files, so most referenced implementation details cannot be independently checked here. The materials clearly label limits and untested provider paths, supporting strong separation of fact from inference.
- This assessment uses only the supplied static file sample; no code was run or independently reproduced, so confidence is low.
- The materials disagree on service counts and smoke-stage counts; check the actual configuration and commands at the target revision before deployment.
- The documentation describes a local model for core deployments while also stating its limitations; configure automated response and closure under explicit policy and review them operationally.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v24.1.0 AiSOC v24.1.0
Release notes excerpt
Added - The console caught up to its own marketing page (the world-class UI program, phases 0–4 in one pass). One motion vocabulary (apps/web/src/lib/motion.ts: duration/easing/spring tokens, shared variants, and a collapseToOpacity() reduced-motion projection asserted in CI so no variant can ship movement to someone who opted out), one ambient tier (aurora wash + blueprint grid + a tokenized glow scale + surface.glass, all plain CSS), and one density primitive (VirtualDataTable in packages/ui: sticky header, density toggle, …View on GitHub ↗ -
v24.0.1 AiSOC v24.0.1
Release notes excerpt
Security - **An MSSP parent could read another tenant's detection rule by linking it into their own pack** (GHSA-269m-hc43-wpqm, CWE-639, reported by @benchmeister). POST /mssp/rule-packs/{pack_id}/rules checked pack ownership and then only that the supplied rule id *existed* — nothing tied the rule to the caller — so a parent who learned a foreign rule's UUID could link it, assign the pack to their own child, and read the rule back: name, severity and category through the child's effective-rules preview, …View on GitHub ↗ -
v24.0.0 AiSOC v24.0.0
Release notes excerpt
BREAKING - The licence changed from MIT to AGPL-3.0. No code, API, schema or configuration changed in this release — the break is legal, and the major version exists so that anyone redistributing or embedding AiSOC sees it rather than inheriting it through a patch bump. - Upgrading an unmodified self-hosted deployment needs no action. Run make upgrade as usual. You may run AiSOC in production, commercially, for any number of users, under the AGPL exactly as you did under MIT. - If you run a _modified_ AiSOC as a service others use, those users are …View on GitHub ↗
FAQ
Does AiSOC call external APIs?
What credentials are required to run AiSOC?
How does AiSOC protect against prompt injection?
Is multi-tenancy supported?
Is it difficult to add custom detections or connectors?
detections/ with positive/negative fixtures. Connectors are implemented by subclassing BaseConnector and registering. CI validates these changes on every PR.Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.