EDR for AI Agents
Aegis is an open-source endpoint detection and response (EDR) tool that monitors AI agent processes, file access, network activity, and behavioral anomalies in real time. Built with Electron 33, Svelte 5, and TypeScript, it provides the same class of oversight for autonomous AI agents that CrowdStrike provides for traditional endpoints. No telemetry. No cloud. Everything stays local.
"Kaspersky found 512 bugs in OpenClaw. So we built an EDR to monitor it."
Download · Report Bug · Feature Request · Contributing
.ssh, .aws, .gnupg, .env, cloud configs) and 27 AI agent config paths for unauthorized access.| 512 | vulnerabilities found in OpenClaw by Kaspersky — autonomous agents ship with real security risks |
| 0 | open-source EDR tools existed for AI agents before Aegis |
| 107 | AI agent signatures in the detection database, from Claude Code to AutoGPT |
| 68 | behavioral detection rules across 8 categories, with hot-reload and custom overrides |
| 707 | tests passing, 0 failures — the monitoring engine is verified on every commit |
| <2s | cold boot to full dashboard — lightweight enough to run alongside the agents it monitors |
AI agents now have deep access to your machine — files, commands, network. Every existing AI security tool is enterprise SaaS that monitors what humans send to AI. Nobody monitors what AI agents do on local machines. Aegis is the open-source answer.
| Layer | How |
|---|---|
| Processes | 107 known AI agent signatures, parent-child tree resolution, IDE host detection |
| Files | Watches .ssh, .aws, .gnupg, .env*, cloud configs, 27 AI agent config dirs |
| Network | Outbound TCP per agent PID, reverse DNS, known API endpoints vs unknown |
| Behavior | Rolling 10-session baselines, 4-axis anomaly scoring (Network/FS/Process/Baseline) |
| Local LLMs | Ollama, LM Studio, vLLM, llama.cpp runtime detection |
| AEGIS | Lasso / Prompt Security / PromptArmor | |
|---|---|---|
| Runs locally | Yes | Cloud |
| Open source | MIT | No |
| Free | Yes | Enterprise |
| Monitors file access | Yes | No |
| Detects local LLMs | Yes | No |
AEGIS is the only open-source, local-first AI agent monitor.
git clone https://github.com/antropos17/Aegis.git
cd Aegis
npm install
npm start
Requires Node.js 18+ and npm 9+. Windows 10/11 recommended. macOS/Linux experimental (#37).
Don't have AI agents running? Demo mode lets you explore the full dashboard with simulated data — no real monitoring, no real processes.
npm run build:demo && npm start
Demo mode runs a scenario engine that cycles through four threat phases — calm → elevated → critical → reset — with up to 12 simulated AI agents (Claude Code, Copilot, Cursor, and more). File access events, network connections, anomaly scores, and risk assessments are all generated in real time so every tab and feature is fully functional.
Use it to evaluate AEGIS before deploying, demo the UI to your team, or develop new features without needing a live Windows environment.
Pre-built .exe installer is coming in a future release. Track progress in Releases.
| Version | Date | Highlights |
|---|---|---|
| v0.10.0-alpha | 2026-03-09 | Code cleanup, security hardening, command palette |
| v0.9.1-alpha | 2026-03-08 | Dropdown dedup, skill paths, aegis-context optimized |
| v0.9.0-alpha | 2026-03-08 | categoryIndex, prompt-craft skill, TS migration stores |
| v0.8.2-alpha | 2026-03-08 | formatBytes TS extraction, meaningful tests, branch cleanup |
| v0.8.1-alpha | 2026-03-07 | Patch release |
| v0.8.0-alpha | 2026-03-05 | Launch readiness: CSP hardened, OpenClaw integration, README overhaul |
| v0.7.0-alpha | 2026-03-04 | YAML rulesets, 68 rules, hot-reload, 568 tests |
| v0.5.0-alpha | 2026-03-03 | Fancy UI redesign, VisTimeline, AgentGraph |
| v0.4.0-alpha | 2026-03-03 | TypeScript infrastructure, perf, refactoring |
Detection — 107 agent signatures, parent chain resolution, config dir protection, per-agent risk scoring with trust grades (A+ through F), HTTP/User-Agent scoring, local LLM detection, false positive marking
Analysis — Behavioral baselines with rolling averages, multi-dimensional anomaly detection, AI threat assessment via Anthropic API (opt-in), printable HTML threat reports
Dashboard — Bento grid dashboard — RiskRing gauge, Sparklines, TrustBadge, agent stats, activity feed with filters, session timeline, agent cards with expandable details, protection presets (Paranoid/Strict/Balanced/Developer), dark/light theme, toast notifications, OOM protection, keyboard shortcuts (Ctrl+1-4)
Export — JSON, CSV, HTML reports, one-click ZIP archive, JSONL audit logging (daily rotation, 30-day retention)
i18n — Internationalization with English base (110+ strings), community translations welcome
CLI — --scan-json for scripting, --version, --help
rules/custom/ directory
┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Process │ │ File │ │ Network │ │ LLM │
│ Scanner │ │ Watcher │ │ Monitor │ │ Detector │
│ (tasklist) │ │ (chokidar) │ │ (NetTCP+DNS)│ │(Ollama/LMS) │
└──────┬───────┘ └──────┬──────┘ └──────┬──────┘ └──────┬──────┘
│ │ │ │
└───────────┬───────┴──────────┬───────┘ │
│ │ │
┌──────▼──────┐ ┌──────▼──────┐ │
│ Baseline │ │ Anomaly │◄──────────────────┘
│ Engine │ │ Detector │
│(10-session) │ │ (4-axis) │
└──────┬──────┘ └──────┬──────┘
│ │
┌──────▼──────┐ ┌──────▼──────┐ ┌─────────────┐
│ Risk │ │ Audit │ │ CLI │
│ Engine │ │ Logger │ │ (--scan-json│
│(time-decay) │ │ (JSONL/30d)│ │ --version) │
└──────┬──────┘ └──────┬──────┘ └─────────────┘
│ │
┌──────▼──────┐ ┌──────▼──────┐
│ Dashboard │ │ ZIP Writer │
│ (Svelte IPC)│ │ (export) │
└─────────────┘ └─────────────┘
Stack: Electron 33, Svelte 5, Vite 7, TypeScript, Vitest (707 tests across 44 files)
107 agents in src/shared/agent-database.json:
Coding — Claude Code, GitHub Copilot, Cursor, Windsurf, Tabnine, Amazon Q, Cody, Aider Autonomous — OpenClaw, Devin, Manus AI, OpenHands, SWE-Agent, AutoGPT, BabyAGI, CrewAI Desktop — Anthropic Computer Use, Google Gemini, Apple Intelligence, Microsoft Copilot Frameworks — LangChain, Semantic Kernel, AutoGen, MetaGPT, TaskWeaver Local LLMs — Ollama, LM Studio, vLLM, llama.cpp, LocalAI, GPT4All, Jan
Add custom agents via the UI or edit the JSON. See AGENTS.md.
Aegis is an open-source endpoint detection and response (EDR) tool purpose-built for monitoring AI agents. It tracks processes, file access, network activity, and behavioral anomalies in real time using Electron 33, Svelte 5, and TypeScript. All data stays local — no telemetry, no cloud dependency.
Autonomous AI agents like OpenClaw, AutoGPT, and Devin have deep access to local files, credentials, and shell commands — yet run with minimal oversight. Kaspersky's analysis found 512 bugs in OpenClaw alone. Aegis provides the missing observability layer so you can see exactly what agents do on your machine.
Traditional EDR tools (CrowdStrike, Sentinel One) monitor human-driven threats — malware, ransomware, phishing. Aegis is built specifically for AI agent behavior: it ships with 107 agent profiles, 68 detection rules tuned for agent-specific patterns, and behavioral baselines that track how each agent's activity changes over time.
Yes. Aegis monitors any AI agent process running on your machine, including tools connected via the Model Context Protocol (MCP). If an MCP-connected tool spawns processes, accesses files, or makes network calls, Aegis will detect and score that activity.
No. Aegis is an observability layer, not a restriction layer. Sandboxes limit what agents can do; Aegis shows you what agents are doing. They are complementary — use sandboxing for enforcement and Aegis for visibility, auditing, and anomaly detection.
Aegis ships with 107 agent signatures across five categories: coding assistants (Claude Code, Copilot, Cursor), autonomous agents (OpenClaw, AutoGPT, CrewAI, Devin), desktop AI (Gemini, Apple Intelligence), frameworks (LangChain, AutoGen, MetaGPT), and local LLMs (Ollama, LM Studio, llama.cpp). You can add custom agents via the UI or JSON config.
Aegis is currently at v0.10.0-alpha and is recommended for development and testing environments. The core monitoring engine is stable with 707 tests passing, but production deployment features (auto-update, OS-level enforcement) are on the roadmap for v1.0.
Yes. Aegis is released under the MIT license with no telemetry, no cloud requirements, and no paid tiers. The full source code is available on GitHub.
![]() Antropos7 |
![]() Elshad Humbatli |
![]() Steven Melendez |
![]() travisbreaks |
![]() raye-deng |
![]() KJyang-0114 |
CONTRIBUTING.md · SECURITY.md · CODE_OF_CONDUCT.md
If Aegis is useful to you, consider giving it a star on GitHub — it helps others discover the project.
Teams & Enterprise — Need centralized dashboards, SIEM integration, or managed deployment? We're building it. Get notified