Logo Aegis

Aegis

Cộng đồng
antropos17

Desktop monitoring and local security reviews for AI agents, with opt-in policy-controlled execution and MCP action tools. Windows primary; macOS/Linux experimental.

Nhà phát hànhantropos17
Kho mãAegis
Ngôn ngữJavaScript
Bản fork
24
Sao
152
Công cụ có sẵn
0
Phương thức truyền tảistdio
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Aegis cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    152 sao và 24 bản fork từ kho mã được liên kết.

AEGIS helps you see what local AI agents are doing, review agent files before use, and check policies for selected actions. Monitoring records processes, file activity, TCP endpoints and attribution evidence without requiring an agent plugin.

Current source also includes opt-in policy-controlled execution and MCP tools for operator-selected actions. These routes require explicit setup; ordinary agent monitoring does not automatically intercept or block commands.

Open-source, monitor-first, no usage telemetry or cloud sync. Monitoring data is stored locally. Endpoint naming uses DNS queries. Optional AI analysis sends activity metadata to Anthropic on request; update checks contact GitHub. See privacy and key handling.

Download · Start with a task · Documentation · Local demo · Known limits · Report a bug

Current source version: 0.18.0-beta

The published release is built from its tag; later source changes require a new release.

The first beta release is 0.18.0-beta, for Windows monitoring and operator-reviewed selected actions. Beta readiness records its release gates and remaining limits. The beta label does not qualify general agent containment or the experimental VM/provider routes.

Start with a task

What you want to doWhere to start
See running agents and review their activityMonitoring, then an agent's processes, files or connections
Review a sensitive-file alertAlerts in Observatory, then inspect the captured evidence
Check a project, skill or agent profile before useLocal security: static review, inventory, comparison and offline report import
Check how a selected action matches a policyAction control: choose files and review the captured outcome
Connect selected actions to an agentMCP setup, explicitly configured from a terminal
Explore settings, reports and the other toolsStart here in the sidebar, or Commands (Ctrl K)

The guided interface keeps results above setup, uses distinct icons for each workspace and reveals technical details on request. File and action checks do not execute commands or establish safety. This describes current source; the published installer can contain an earlier UI.

AEGIS Start here guide

AEGIS local security workspace

AEGIS selected-action workspace

These views use simulated preview data. More screenshots.

What AEGIS observes

LayerCoverage
Processes112 agents (265 process-name signatures), parent-chain and IDE-host detection, with limited WSL and IDE-extension discovery
FilesChanges in configured sensitive directories and agent config paths; Windows open-handle and Restart Manager observations
NetworkTCP endpoints for detected agent PIDs, forward-confirmed reverse DNS, and allowlisted / unknown / flagged verdicts
Behavior73 sensitive-path detection rules across 8 categories, rolling 10-session baselines, anomaly scoring and sequence correlations
Local LLMsOllama and LM Studio runtime probes; other supported runtimes detected by process signature

The Observatory workspace provides a live instance radar, separate agent instances, file and network views, rules, custom agent catalog, AI analysis, reports, audit, statistics and settings. Activity can be filtered and grouped, inspected by stamped instance identity, and exported to JSON, CSV, HTML or ZIP. The agent database and contributor guide describe how to extend detection.

Monitor-first

Default monitoring observes and logs; it does not automatically block or contain agents. Kill, suspend and resume are manual actions. Monitoring presets and endpoint allowlists do not establish that an agent is safe. The opt-in routes below control only selected launches. The Windows Job route bounds the lifetime of its participating descendants. The separate AppContainer CLI route adds Windows access restrictions for one reviewed offline action in a new workspace; other execution routes retain caller privileges.

The sensitive-activity review list is scoped to the current desktop window; marking an alert reviewed does not quarantine its file or grant access.

This README describes current source; installed builds contain the features available at their release tag.

Opt-in action control

An operator can select an exact executable, working directory, arguments and environment, then route that action through AEGIS:

CapabilityImplemented scope
Exact execution policyExplicit CLI launch on allow; ask, deny and preparation failures do not launch
Windows AppContainer launchExplicit terminal approval for one bounded offline action in a new retained workspace; private-file access checks, zero capabilities and Job cleanup
Windows Job lifetime routeAn approved selected Windows action starts inside a private Job; confirmed cleanup ends ordinary Job-member descendants. External brokers and actions outside this route remain outside its control
Terminal confirmationReview the complete effective action and confirm one launch attempt; policy deny cannot be overridden
Selected-action MCP catalogUp to eight operator-selected actions with empty tool arguments; optional terminal review broker requires fresh confirmation per eligible call
Route and catalog checksInspect selected configuration and current-process prerequisites without executing; a completed check grants no permission
MCP connection statusRead-only counters for the current connection's admitted calls, pending work and cancellation requests
Action control workspaceNative file selection and nonexecuting route/catalog checks in Observatory; shows captured policy outcomes, explicit unverified coverage and a configuration-check link when setup is missing
Live route observationOpt-in desktop observation of one running MCP owner; self-reported client metadata, bounded counters and coverage loss; blocking and provider identity remain unverified

These routes do not cover other agent tools, arbitrary MCP traffic or activity outside the selected actions. Allowed programs retain the caller's account privileges. Terminal previews can expose secrets in local scrollback; terminal automation does not establish human identity. Client settings are not changed automatically. The linked contracts explain configuration, limits and verification.

After creating a catalog, generate a client configuration from the source checkout (PowerShell 7 example):

powershell
node src/main/main.js --action-mcp-config-json catalog "X:/private/actions/catalog.json" > aegis-mcp.json

The configuration generator prints an mcpServers.aegis entry using the current Node executable and absolute source entry path. Load the generated file explicitly in a client that accepts this configuration format; client setup requirements vary. The output intentionally contains local paths, so keep it private. Generation does not read or validate the catalog, start a server or install settings; run the appropriate route/catalog check separately.

Download

Windows installer

Get the current prerelease from GitHub Releases. A Windows release is ready to install when its .exe, manifest.json and manifest.json.sig are all available. Download them from the same release and follow offline installer verification. Check that release's notes for the features it contains; this README describes current source, which may be ahead of the installer.

When upgrading from 0.14.1-alpha or older, install 0.15.0-alpha or newer manually before using signed in-app updates. The published 0.17.0-alpha updater cannot discover beta releases: install the first beta manually after verifying its installer. The source updater keeps beta installations on newer beta or stable releases.

From source

Requires Node.js 24.x. Windows 10/11 is the primary platform; macOS/Linux support is experimental.

bash
git clone https://github.com/antropos17/Aegis.git
cd Aegis
npm ci
npm start

Try without AI agents

After installing dependencies, build and preview the browser demo:

bash
npm run dev
# open http://127.0.0.1:8770

The preview uses simulated data and an isolated host. It shares the desktop components, never calls the real preload, and disables native exports and provider requests. npm run frontend:build:preview creates a static preview; npm run build:renderer creates the desktop artifact without fixtures.

For the complete history, see GitHub Releases.

VersionDateHighlights
v0.17.0-alpha2026-09-27Selected-action review and MCP route binding, local security reviews, API-key boundary and private-report hardening
v0.16.0-alpha2026-09-26Windows setup wizard, monitoring performance work, scoped local security inventory, direct selected-action and MCP routes
v0.15.0-alpha2026-09-12Observatory desktop, signed Windows updates, Linux process-generation identity and bounded ETW diagnostics
v0.14.1-alpha2026-09-07Evidence-file watchers moved off the main thread; dependency maintenance
v0.14.0-alpha2026-09-07Sequence rules, observation-gap records, audit indexing and sensor-health work
v0.13.0-alpha2026-08-23Signed release manifests for offline installer verification
v0.12.0-alpha2026-08-22Monitoring and renderer updates; see release notes
v0.11.0-alpha2026-08-11Windows installer, Event Schema v1 attribution, endpoint verdicts, sensor health records, WSL & IDE-extension detection
v0.10.0-alpha2026-03-09Code cleanup, security hardening, command palette
v0.9.1-alpha2026-03-09Dropdown dedup, skill paths, aegis-context optimized
v0.9.0-alpha2026-03-08categoryIndex, prompt-craft skill, TS migration stores
v0.8.2-alpha2026-03-08formatBytes TS extraction, meaningful tests, branch cleanup
v0.8.1-alpha2026-03-08Patch release
v0.8.0-alpha2026-03-05Launch readiness: CSP hardened, OpenClaw integration, README overhaul
v0.7.0-alpha2026-03-04YAML rulesets, 68 rules, hot-reload, 568 tests
v0.5.0-alpha2026-03-03Fancy UI redesign, VisTimeline, AgentGraph
v0.4.0-alpha2026-03-03TypeScript infrastructure, perf, refactoring

The evidence graph

The Local security workspace reviews selected project/profile files, commands, scripts and instruction patterns, compares content snapshots, and imports offline Cisco results. It keeps incomplete coverage and unverified claims visible. See the workspace guide for inputs, evidence and limitations.

  • Instance identity: Windows uses PID and OS birth time; Linux uses boot identity and kernel process start ticks. Missing witnesses and synthetic discoveries provide weaker identity.
  • Attribution: Records distinguish confirmed, inferred and unattributed ownership. Identity or attribution can be null when unknown or not applicable.
  • Audit trail: Hash-chained JSONL records rotate daily and have 30-day retention. Chain verification detects edits relative to a trusted chain state; it does not guarantee that no events were lost.

See the architecture, correctness audit and dated measurements for implementation details and evidence.

Known limits

  • Incomplete coverage: Unknown signatures and processes that start and exit between polling ticks can be missed. Default monitoring does not parse MCP traffic or individual tool calls; the explicitly configured MCP routes handle only their published AEGIS tools.
  • Platform gaps: macOS lacks a process-generation witness. Linux generation identity depends on accessible /proc data; its fallback has no start-time witness. Missing identity limits process-control guarantees. Measured Claude Code usage requires a process start-time witness and a readable matching session registry/transcript. Windows is the verified primary path; native Linux token collection remains unverified.
  • Bounded UI history: Retained event windows can differ from aggregate totals; Statistics shows renderer eviction counters; Audit provides persisted history.
  • Sensor and audit gaps: Health status does not prove complete capture. A fully lost file-watch plan gets up to three retry attempts per confirmed outage; the budget resets after a healthy plan is observed. Exited watch workers count as lost roots. Partially degraded roots need separate repair. Audit loss markers require a successful flush; process-scan overruns lack a dedicated counter.
  • Sensitive metadata: Logs and exports contain paths, agent names and endpoints. Configuration and diagnostic exports omit the configured API key. Local key encryption depends on safeStorage availability. See SECURITY.md.
  • Unmeasured claims: No general detection rate, false-positive rate, startup-time guarantee or whole-app overhead figure has been established.
  • Token subtotals: Bounded transcript reads can lag a backlog; records above 512 KiB are skipped with a fixed diagnostic. Historical token records and transcript deduplication state remain in memory for the application lifetime (#637). See token accounting limits, including incomplete coverage and estimated dollar amounts.

Development and roadmap

Inspect a project's AI component files without starting agents or MCP servers:

powershell
node src/main/main.js --inventory-json "X:/path/to/project"
node src/main/main.js --inventory-profile-json codex-user "X:/copied-codex-profile"

This produces a bounded local inventory with fingerprints, not a security verdict. See scope, privacy and exit codes and the AI agent protection plan.

The monitoring engine uses CommonJS JavaScript; the Svelte renderer and shared types use TypeScript. See development setup, the development reference and package.json for the stack and commands.

CI runs build, lint, type checks, tests and dependency auditing. npm run counts:check verifies selected inventory declarations. npm run verify:gate checks identity-witness behavior with fault injection (4 mutants); npm run verify:seq-gate checks sequence behavior. Run npm test for current suite results.

The roadmap tracks Windows ETW experiments and remaining discovery/platform work. Source changes and isolated experiments are not automatically available in released installers.

Contributors

CONTRIBUTING.md · SECURITY.md · CODE_OF_CONDUCT.md

Support and license

Feature requests · Private vulnerability reports · MIT license

Local monitoring requires no account or subscription. Optional Anthropic analysis uses your own API key and is subject to that service's charges.

Navigation icons use a curated Tabler Icons subset under the MIT notice. Pinned source URLs and hashes are recorded in the icon provenance.

Star history

Star History Chart

Dùng MCP Aegis với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Aegis, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Aegis làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Aegis.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "aegis": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Aegis, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Aegis.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Aegis giúp tôi làm việc này không?
Aegis
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Aegis.

Câu hỏi thường gặp

Máy chủ MCP Aegis dùng để làm gì?

Aegis là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Aegis với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Aegis với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Aegis với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Aegis, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Aegis với TypingMind?

Aegis hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Aegis cung cấp những công cụ nào trong TypingMind?

Aegis cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Aegis không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Aegis yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇