Vigil is an open source, agentic AI SOC released under Apache 2.0. Your playbooks are plain-text Markdown files, your agent logic is readable code, and your integrations use an open standard (MCP). It is a capability you own, not a black box you rent.
Vigil runs on its own: a local clone, Docker, and any supported LLM provider (a local Ollama model works). LogLM, DeepTempo's cybersecurity foundation model for behavioral anomaly detection, is an optional MCP integration you enable in Settings, not a prerequisite. Docs and community: vigilsoc.org.
Vigil 1.0 is coming. We believe it will be the first AI SOC built for a human on the loop rather than in it. Join the upcoming office hours for a preview.
The project draws on the founders' experience building StackStorm and supporting teams, including Netflix, that used it to reach high levels of automation carefully. One lesson carries through: the system can only demote its own autonomy, and only humans can promote it. Vigil checks projected cost and confidence before acting, and asks a human when either looks off.
Vigil rests on three parts — agents you can read, fork, and rewire; workflows defined as Markdown files you edit directly; and integrations connected over MCP — plus the most important one: you. Contribute feedback, code, a star, or memes on Discord.
Vigil ships a set of built-in specialist agents covering the core SOC roles — triage, investigation, threat hunting, correlation, response, reporting, ATT&CK mapping, forensics, threat intel, compliance, malware and network analysis — and you can add your own from the console. The set grows and changes with the project; the built-in definitions live in core/agents/builtins.py and are described at vigilsoc.org/docs/agents.
Every agent can call Vigil's backend tools (findings, cases, approvals, detections, ATT&CK, threat intel, memory, skills) and the tools of whichever MCP integrations you have connected. Each agent's tool list, prompt, model, and extended-thinking budget are visible in its definition.
Response actions are proposed as approval requests. A request from the Response agent always waits for an analyst. The daemon's auto-responder routes by confidence: by default, at or above 0.90 is auto-approved, 0.85–0.90 gets a quick review, 0.70–0.85 needs analyst review, and below 0.70 escalates (configurable). The approval pipeline records isolate_host actions but does not execute them; host isolation or quarantine happens only when an agent calls an EDR integration's tool directly.
A workflow is a WORKFLOW.md file: YAML frontmatter that says what runs, and a Markdown body that explains it. Built-in workflows live under core/workflows/definitions/; edit them there, build your own from the Workflows screen, or disable the ones you don't use.
A workflow's run_kind decides how it executes:
run_kind |
How it runs | Built-in examples |
|---|---|---|
compose (default) |
Walks the declared phases in order, each phase handled by the named agent with the listed tools |
Your custom workflows |
investigate |
A single lead agent works the objectives and narrative; no phases | Incident Response, Full Investigation, Forensic Analysis, Cloud Incident |
root_cause |
A single agent traces a confirmed compromise backward, step by step | Root Cause Analysis |
hunt / adjudicate |
A lead runs a hypothesis loop, dispatching worker agents and deciding each next move from the evidence | Threat Hunt, Shadow Adjudication |
Start one from chat, for example "Run incident response on finding f-20260215-abc123", or from the Workflows screen.
---
name: phishing-triage
description: "Triage and investigate phishing reports from user submissions."
use_case: "A user reports a suspicious email and the SOC needs to assess, investigate, and contain."
trigger_examples:
- "Run phishing triage on finding f-20260401-abc123"
objectives:
- "Decide whether the reported mail is malicious"
- "Contain it without waiting on a second report"
phases:
- id: assess
agent: triage
name: "Assess the Report"
tools: [get_finding, list_findings]
instructions: |
Fetch the finding, extract sender/domain/URLs, score severity, check for
known-bad indicators. Hand on the verdict and the indicators you found.
- id: investigate
agent: investigator
name: "Investigate"
tools: [get_finding, search_detections]
instructions: |
Correlate with detection rules. Build an evidence timeline. Hand on the
timeline and related findings.
- id: contain
agent: responder
name: "Contain"
tools: [get_case, update_case]
approval_required: true
instructions: |
If confirmed malicious: block the sender domain, quarantine matching emails,
and plan remediation with confidence scores.
---
# Phishing Triage Workflow
An overview for whoever reads this file. The `phases` above are what actually
runs, in the order written.approval_required: true holds a phase for a human before it acts. Scaffold a new file with:
python scripts/create_workflow.py phishing-triage --agents triage,investigator,responder
# creates core/workflows/definitions/phishing-triage/WORKFLOW.mdVigil connects agents to your existing tools through MCP. Integrations span SIEM and log search, EDR/XDR, cloud security (AWS, Azure, GCP), identity, threat intel, sandboxes, detection engineering, ticketing, chat and paging, network security, and data pipelines. The catalogue changes as vendors ship official MCP servers and contributors add new ones; mcp-config.json is the current list, and vigilsoc.org/docs/integrations describes each one.
An integration is one of two things:
- An upstream MCP server: a vendor's or community's own server, pinned to a version in
mcp-config.json(npx, uvx, Docker, or a remote endpoint). - A vendor slice: a server Vigil maintains at
core/integrations/<vendor>/tool.py, used where no suitable upstream server exists. See vendor slices.
What an integration can do depends on its server: some are read-only lookups, others can act (for example, Microsoft Defender isolation or Carbon Black quarantine). The integrations docs list each one's tools.
Enable and configure integrations under Settings → Integrations, or generate one from API docs with the Custom Integration Builder. If you build an integration you find useful, someone else will too. Please contribute it.
Vigil's own MCP server. Vigil serves its SOC operations (findings, cases, approvals, hunts) at /mcp, the same tools its agents use. The finding, case, and approval tools that mirror frozen /api/v1 operations are frozen: their names and input schemas are pinned in tools/mcp/frozen_tools.snapshot.json. The rest are served under the 0.x terms in SECURITY.md.
Detection rules. The detection-engineering integration (security-detections-mcp) indexes community rule sets (Sigma, Splunk ESCU, Elastic, KQL) for search, coverage analysis, and gap identification. Vigil does not ship the rules; fetch them with ./scripts/setup_detection_repos.sh (or SETUP_DETECTION_REPOS=1 ./setup_dev.sh).
git clone https://github.com/Vigil-SOC/vigil.git
cd vigil
cp env.example .env # set AGENT_INTERNAL_TOKEN (see below)
./start.shThen open http://localhost:6988 and create the admin account on the bootstrap screen.
start.sh provisions the pinned Python with uv, installs dependencies, starts PostgreSQL, Redis, and the Bifrost LLM gateway in Docker, starts a host Ollama if one is installed (optional), initializes the schema and reference data, and launches the API, the agent layer, and the frontend. No LogLM or cloud API key is needed to reach a running UI.
AGENT_INTERNAL_TOKENlets the agent layer talk to the API. Generate one withpython -c "import secrets; print(secrets.token_urlsafe(48))". Without it the stack still starts, but workflow runs stay queued.- Authentication is on by default. No account or default password ships; the first visit creates the admin.
start.shcreates the JWT signing secret at~/.vigil/jwt_secret. For an unauthenticated instance on your own machine, setDEV_MODE=truein.env; the backend announces the bypass on every startup.
Stable vs. development build:
mainis the active development branch. For a tested build, check out a release tag (git checkout v<version>) or pull a published image (docker pull ghcr.io/vigil-soc/vigil-backend:<version>). Releases are listed on the releases page.Released images are signed keyless by
.github/workflows/release.yml. To verify (the image tag drops the leadingv; the certificate identity uses the git tag):cosign verify \ --certificate-identity https://github.com/Vigil-SOC/vigil/.github/workflows/release.yml@refs/tags/v<version> \ --certificate-oidc-issuer https://token.actions.githubusercontent.com \ ghcr.io/vigil-soc/vigil-backend:<version>
- Docker (running): PostgreSQL, Redis, and Bifrost run in containers.
- Node.js 20+: runs the agent layer and the frontend. Without Node, neither starts and workflows cannot run.
- Git.
- No system Python needed:
start.shprovisions the version pinned in.python-versionwith uv, independent of any Python you already have. - An LLM provider (optional to reach the UI): Anthropic (default), OpenAI, Google Vertex, or Ollama (local, no key). Configure it under Settings → AI models → Providers & Keys; see the Bifrost notes. With no provider key,
scripts/local_model.shserves a small local model Bifrost can reach and prints the model id to use.
./start.sh # interactive; Ctrl+C to stop
./start.sh -d # background: logs/ + pidfiles, also starts the SOC daemon
./start.sh --with splunk # add a profiled service (splunk, kafka, pgadmin, jaeger,
./start.sh --all # prometheus, grafana, otel-collector), or all of themCore services come from .vigil-autostart (or $AUTOSTART_SERVICES), defaulting to postgres redis bifrost ollama.
| URL | |
|---|---|
| Frontend | http://localhost:6988 |
| API | http://localhost:6987 |
| API docs | http://localhost:6987/docs |
./shutdown_all.sh # stop native processes; containers keep running
./shutdown_all.sh -d # stop everything; data is kept
./shutdown_all.sh -d --full # stop everything and PERMANENTLY DELETE all data volumes-d --full runs docker compose down -v, which deletes every named volume in the compose file: postgres_data (database), bifrost_data (Bifrost config and keys), vigil_home (the Compose State Directory, including master.key), vigil_investigations, redis_data, backup_repo (the default on-box backup repository), and any optional-profile volumes. Keep backups outside the compose volumes (VIGIL_BACKUP_REPO) first. See ./shutdown_all.sh --help.
Manual install (separate terminals)
# Python environment (uv fetches the interpreter in .python-version)
uv python install
uv venv --python "$(cat .python-version)" --python-preference only-managed venv
source venv/bin/activate
uv pip install -r requirements.lock
cp env.example .env # set AGENT_INTERNAL_TOKEN
export PYTHONPATH="${PWD}:${PYTHONPATH}"
# 1. Containers
docker compose -f infra/docker/docker-compose.yml up -d postgres redis bifrost
# 2. Schema and reference data (no admin is seeded)
python scripts/init_schema.py
python scripts/seed_reference_data.py
# 3. API
uvicorn services.api.main:app --host 127.0.0.1 --port 6987 --reload
# 4. Agent layer (drains the queue workflow runs are enqueued to)
scripts/agent_up.sh
# optional: python -m services.worker (ARQ LLM worker)
# 5. Frontend
cd clients/web && npm install && npm run devdocker compose --env-file .env -f infra/docker/docker-compose.yml up -dPass the repo-root .env explicitly, or AGENT_INTERNAL_TOKEN reaches the containers empty. The backend container refuses to start without JWT_SECRET_KEY. Set it in .env, for example export JWT_SECRET_KEY="$(cat ~/.vigil/jwt_secret)" if start.sh has run before, or openssl rand -base64 48.
The default set runs the database, cache, gateway, backup, API, and agent layer: everything a chat-driven workflow needs. Opt-in profiles add more: daemon (the SOC daemon plus the ARQ worker, for headless 24/7 monitoring), dev, observability, splunk, kafka, elastic, and misp:
docker compose --env-file .env -f infra/docker/docker-compose.yml --profile daemon up -dOn the host, ./start.sh -d also runs the daemon (services/daemon/main.py), or run it alone against a running stack with python services/daemon/main.py.
helm install vigil ./infra/helm/vigil \
--namespace vigil --create-namespace \
--set secrets.anthropicApiKey="$ANTHROPIC_API_KEY" \
--set secrets.postgresPassword="$(openssl rand -hex 24)" \
--set secrets.jwtSecretKey="$(python -c 'import secrets; print(secrets.token_urlsafe(64))')"See the Helm guide for values, external Postgres/Redis, ingress, and troubleshooting.
The desktop app packages the stack without a source tree. It runs the backend and agent images from an offline tarball, alongside a bundled Bifrost gateway, so Docker must be installed and running. Bifrost reaches a host Ollama through host.docker.internal.
bash clients/desktop/scripts/bundle-image.sh linux/arm64 # tarball is arch-specific
cd clients/desktop && npm run dist # macOS DMG / Linux AppImageLocal builds are ad-hoc signed, not notarized, so macOS may report the app as "damaged". Clear the quarantine with xattr -dr com.apple.quarantine /Applications/Vigil.app, or use System Settings → Privacy & Security → Open Anyway.
source venv/bin/activate
pytest tests/unit tests/security -m "not external_service" # same invocation as CI; no LLM key neededvigil-support.sh writes one redacted tar.gz you can attach to a support request. It is POSIX sh, runs on Linux and macOS, and uploads nothing.
sh scripts/vigil-support/vigil-support.sh # from a checkoutWithout a checkout, download vigil-support-<version>.tar.gz and its .sha256 from the release, verify it, extract it, and run sh vigil-support/vigil-support.sh. Vigil Desktop shows the exact command under Support Bundle Command… in the tray menu. For a Helm install, run it from your own machine with your current kubectl context: --mode helm [--release NAME --namespace NS].
Re-run with sudo to include system logs that need elevation; the bundle still examines, and belongs to, the invoking user's install. sudo resets VIGIL_DIR, so pass --state-dir for a non-default State Directory.
DATA NOTICE: the bundle holds host information: hostname, the full process list with command lines, system logs, and disk usage. Known credential formats are redacted, but secrets in free log text cannot be guaranteed caught. Review it before you share it.
When it finds a Vigil install, the bundle also collects its configuration, health output, container status, and logs. Secrets, keys, and database contents are never included; SUMMARY.txt lists what was left out. See scripts/vigil-support/README.md.
┌──────────────────────────────────────────────────────────────────┐
│ Web console (React) · Chat · Desktop app · /mcp clients │
└──────────────────────────────────────────────────────────────────┘
│
▼
┌──────────────────────────────────────────────────────────────────┐
│ API (Python / FastAPI) │
│ Findings · Cases · Approvals · Detections · ATT&CK · Workflows │
└──────────────────────────────────────────────────────────────────┘
│ enqueue runs (BullMQ / Redis) ▲ backend tools
▼ │
┌──────────────────────────────────────────────────────────────────┐
│ Agent layer (TypeScript) │
│ Workflow runtimes: compose · investigate · root cause · hunt │
│ Agents call backend tools and MCP integration tools │
└──────────────────────────────────────────────────────────────────┘
│ model calls │ tool calls
▼ ▼
┌──────────────────────────┐ ┌────────────────────────────────────┐
│ Bifrost LLM gateway │ │ MCP integrations │
│ Anthropic · OpenAI · │ │ SIEM · EDR · cloud · identity · │
│ Vertex · Ollama │ │ intel · sandbox · ticketing · … │
└──────────────────────────┘ └────────────────────────────────────┘
PostgreSQL: findings, cases, approvals, runs, settings
SOC daemon (optional): alert polling and auto-enrichment
vigil/
├── core/ # Shared Python library: domains (findings, cases, llm,
│ │ # integrations, …) over a storage/platform tier
│ ├── agents/ # Built-in agent definitions
│ ├── integrations/ # Vendor slices and the MCP registry
│ └── workflows/definitions/ # Built-in WORKFLOW.md files
├── services/
│ ├── api/ # FastAPI backend
│ ├── agent/ # TypeScript agent layer (workflow runtimes, worker + serve)
│ ├── daemon/ # Headless autonomous SOC
│ └── worker/ # ARQ LLM worker
├── clients/
│ ├── web/ # React + Tailwind frontend
│ └── desktop/ # Desktop app
├── tools/mcp/ # Vigil's own MCP server and frozen tool snapshot
├── mcp-config.json # MCP integration catalogue
└── infra/ # Docker Compose, Helm chart, DB init
Guides live at vigilsoc.org/docs:
| Doc | Contents |
|---|---|
| Agents | Built-in agents and how to customize them |
| Integrations | MCP integrations and setup |
| Detection engineering | Rule search, coverage, and gaps |
| Chat-driven case management | Building cases in natural language |
| Configuration | Environment variables, secrets, deployment |
| Helm | Chart values, secrets, install |
| Splunk testing · Postgres → Splunk | Test data and export scripts |
| Contributing | How to contribute, DCO |
| SECURITY.md | Vulnerability reporting, supported versions, disclosure |
| VERSIONING.md | What is frozen, what is not, and how the contract changes |
Contributions are welcome: bug fixes, integrations, agent prompts, workflows, or new agents. Join the community on Discord.
- Fork the repo and create a feature branch.
- Make your changes and test them.
- Open a pull request with a clear description.
See the contributing guide for the full process.
Apache 2.0. See LICENSE.
- Vigil: project homepage
- DeepTempo: Vigil sponsor; LogLM connects via MCP as an optional detection layer
- Model Context Protocol: MCP specification
- SOCBench: open benchmark for AI in cybersecurity operations