百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

Aegis

> AI 编程
开源

AI 代理的运行时策略执行。加密审计记录、人员参与的批准和关闭机制。零代码更改。

370 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

AI 代理的运行时策略执行。加密审计记录、人员参与的批准和关闭机制。零代码更改。


Your agent just called DROP TABLE users because the prompt said "clean up old records." Your agent just exfiltrated 2 GB because "the user asked for a report." Your agent just ran rm -rf / because the model hallucinated a tool name.

Not hypotheticals. Every agent framework lets AI decide which tools to call, with what arguments, at machine speed. There is no human in the loop. There is no undo.

AEGIS is the missing layer: a pre-execution firewall that sits between your agent and its tools, classifies every call in real time, enforces policies, blocks violations, and writes a tamper-evident audit trail — with one line of code and zero agent changes.


See it run


Inside the Compliance Cockpit

Six operator views cover the end-to-end lifecycle: what agents did, who did it, what got blocked, and what your MITRE-style threat coverage looks like.

01 Overview

Rolling 24-hour activity curve for every agent. Four load-bearing KPIs at the top: actions, agents, blocked, pending review. The lower panel streams recent agent actions and traces so ops always sees the last thing that happened without leaving the page.

02 Activity

Forensic audit trail of every tool call. Filterable list on the left; on the right, a per-trace explainer with What it tried, Result, Quality tabs. Every blocked action shows the exact policy that fired and the DSL condition that matched — no guessing which rule caught it.

03 Agents

The agent registry: every agent that has ever touched the gateway, with the human owner, the operational scope (PRODUCTION / STAGING / RESTRICTED), a hashed secret, and last-seen timestamp. Status filters for Active / Unregistered / Suspended / Deprecated so out-of-lifecycle agents can't slip through unnoticed.

04 Violations

Every block, grouped by the policy that fired: no-privileged-file-access, no-arbitrary-shell-execution, no-destructive-sql, block-personal-email-in-checkout, and any custom rule you write. Severity chips (CRITICAL / HIGH / MEDIUM / LOW) let a compliance lead triage by risk in one glance.

05 Threat coverage

MITRE-ATLAS-style coverage: how many of the 40 agent-attack techniques you've written a detector for. Per-tactic bars for Initial Compromise · Execution · Privilege Escalation · Credential Access · Data Exfiltration · Persistence · Discovery · Impact · Defense Evasion · Lateral Movement. Green = fully closed, sand = open, red = uncovered — so gaps are impossible to miss.

06 Memory & Cross-Agent

The signals that don't fit an activity row: tainted memory recall (agent retrieved a poisoned item from its knowledge base), undeclared agent-to-agent data crossings, and pre-instruction PII (personal data present in tool arguments before any prompt mentioned it). Each event carries a severity and a concrete fix hint (Quarantine the memory item, Reset the agent's short-term memory window, …).


Deploy in 30 seconds

 

 

Prefer Fly.io? fly launch from the repo root — fly.toml ships in-tree. Or use Helm: helm install aegis ./charts/aegis.

Each button reads the platform-specific config we ship (render.yaml, railway.json, .do/app.yaml) and stands up a public gateway + cockpit on the host's free tier in ~30 seconds. No CLI needed.

Or run it locally (one command)

bash
curl -fsSL https://raw.githubusercontent.com/Justin0504/Aegis/main/scripts/install.sh | bash

The installer clones the repo into ./aegis, writes .env, runs docker compose up -d, waits for the gateway to become healthy, and prints your dashboard URL + bootstrap API key. Set AEGIS_DIR, AEGIS_BRANCH, or AEGIS_NO_START=1 to customize.

Or do it manually:

bash
git clone https://github.com/Justin0504/Aegis
cd Aegis
docker compose up -d
Service URL What it does
Compliance Cockpit localhost:3000 (Docker) · localhost:13003 (dev) Dashboard — traces, policies, approvals, costs
Gateway API localhost:8080 Policy engine — classifies, checks, blocks

Then add one line to your agent:

python
import agentguard
agentguard.auto("http://localhost:8080", agent_id="my-agent")

# Your existing code — completely unchanged
import anthropic
client = anthropic.Anthropic()
response = client.messages.create(model="claude-sonnet-4-20250514", tools=[...], messages=[...])

For supported Python integrations, importing agentguard once is enough to enable auto-instrumentation:

bash
python -c "import agentguard; agentguard.auto('http://localhost:8080', agent_id='my-agent')"

That's it. Every tool call is now classified, policy-checked, and recorded in a tamper-evident audit trail before execution.


Recently shipped (last batch)

Capability Endpoint / file What it solves
Agent registry + identity POST /api/v1/agents · agent-registry.ts agent_id was a free-form string anyone could pass. Now it's first-class identity with status (active/suspended/deprecated/unregistered), declared tool scope, per-agent budget, optional Ed25519 / shared-secret authentication.
AEGIS Agent Threat Ontology v1 GET /api/v1/ontology · agent-threats.ts 10 tactics × 40 techniques (AAT-T*) — a published, versioned taxonomy of agent-specific threats. Coverage at GET /coverage shows which nodes this deployment defends against; tenant detectors automatically extend it.
Detector plugin contract Detector interface Customer security teams or 3rd parties register a Detector against the live registry — same signal type, same decision merger, same audit / sink / transparency-log fan-out as built-ins.
LLM egress proxy /api/v1/llm-proxy/{openai,anthropic}/* · proxy/ Customer changes one env var (OPENAI_BASE_URL=…aegis…/openai/v1) — every LLM call now flows through the detector chain, audit, transparency log, and sinks. Works for any language / any closed-source agent platform.
Universal SIEM sinks tenant_config.sinks[] · sinks/ Declarative http / syslog / stdout sinks for Splunk HEC, Datadog Logs, Sumo, QRadar, Graylog — customer integrates by config write, not code release. Bounded DLQ + retry + field-mapping templates.
RFC 6962 transparency log GET /api/v1/transparency-log/proof/:idx · transparency-log.ts Append-only Merkle tree over audit + evidence-pack events. Signed roots + inclusion proofs let customers verify "this audit row existed at this date" offline — defeats the "you control the key" objection.
Per-framework compliance bundles POST /api/v1/compliance/bundle/:fw · compliance-bundle.ts One POST → signed JSON bundle mapping SOC 2, ISO 27001, NIST AI RMF, EU AI Act controls to live AEGIS evidence. Hands the auditor a verifiable artifact, not screenshots.
Budget guard tenant_config.budget · budget-guard.ts Daily / monthly / per-agent / per-session USD limits with warn / block actions. Coverage of AAT-T8002.
OTLP trace export tenant_config.observability.otlp · otlp-exporter.ts Per-tenant push to any OTLP/HTTP backend (Datadog, Honeycomb, Grafana Tempo, New Relic). Customers see AEGIS spans alongside their non-LLM infra traces.
Cross-agent + IPI + memory-poison + sensitive-exfil detectors detectors/built-in/ Coverage of AAT-T10001 (trust abuse), T1001 (indirect prompt injection), T6001 (memory poisoning), T5001 (sensitive-context exfiltration).
Ed25519-signed release artifacts tools/release-sign/ + .well-known/aegis-release-pubkey.pem Every npm tarball + PyPI wheel ships with a signature manifest verifiable offline against the AEGIS-pinned public key. Defeats mirror tampering / in-transit forgery.

Ontology coverage at the time of this batch: 28/40 (70%) across the 10 tactics. See live status at GET /api/v1/ontology/coverage or in the Cockpit's /coverage page.


Why AEGIS?

The agent-guardrail category is consolidating around two camps: closed enterprise platforms (Cisco AI Defense, Palo Alto Prisma AIRS), and narrow open-source libraries (LlamaFirewall, NeMo, Guardrails AI). AEGIS is the open-source platform that ships the full vertical — gateway, cascade, DSL, dashboard, audit trail, approvals — in one repo.

The rows below are AEGIS's load-bearing differentiators — capabilities that don't ship in the incumbent guardrail libraries. Full 22-row matrix at aegistraces.com/compare.

Lakera NeMo Cisco AI Defense Guardrails AI AEGIS
Open source / self-hostable paid tier ✅ ❌ ✅ ✅
Pre-execution blocking ✅ ✅ ✅ ✅ ✅
Agent identity + secret rotation ❌ ❌ ❌ ❌ ✅
Per-agent declared tool scope ❌ ❌ ❌ ❌ ✅
Per-agent / per-tenant budget guard ❌ ❌ ❌ ❌ ✅
Agent Threat Ontology + coverage map ❌ ❌ ❌ ❌ ✅
Per-tenant Policy DSL (fail-safe) ❌ Colang ❌ ❌ ✅
RFC 6962 transparency log (offline-verifiable) ❌ ❌ ❌ ❌ ✅
Cross-agent compromise correlator ❌ ❌ ❌ ❌ ✅
Human-in-the-loop approval flow ❌ ❌ ❌ ❌ ✅
Reversible actions (compensator + saga) ❌ ❌ ❌ ❌ ✅

If your point of comparison is observability (LangFuse, Helicone, Arize) — those tell you what happened. AEGIS prevents it from happening by sitting on the execution path itself.


How it works

An agent's SDK — Python, TypeScript, Go — wraps every tool call. The call goes to the AEGIS Gateway before it goes to the tool. The gateway runs a 5-stage pipeline, decides, and either lets the call through, pauses for human review, or blocks it. Every allowed call lands in a tamper-evident audit log on the way back.

The pipeline

# Stage What it does
1 Classify Tags the call by kind — database · file · network · shell · prompt-injection · supply-chain — from the tool name + arguments. Works on any tool, no annotations.
2 Anomaly Baseline deviation + spike detection against this agent's history (Mahalanobis + isolation forest).
3 Evaluate JSON-Schema (AJV) policies + injection / exfiltration detectors.
4 Match DSL Per-tenant policy rules; fail-safe (missing config = block, not allow).
5 Decide Strictest signal wins. Emits allow / pending / block.

The outcome

  • allow — Tool executes. SDK emits a signed, hash-chained trace to the RFC 6962 Merkle log.
  • pending — Agent pauses. The call surfaces in the Compliance Cockpit's approval queue; a human clicks Approve or Reject.
  • block — SDK raises AgentGuardBlockedError back into the agent with the exact reason. The tool never runs.

Zero-config classification — works on any tool name, any argument shape:

Your tool call AEGIS detects How
run_query(sql="SELECT...") database SQL keyword in args
my_tool(path="/etc/passwd") file Sensitive path pattern
do_thing(url="http://...") network URL in args
helper(cmd="rm -rf /") shell Command injection signal
`custom_fn(prompt="ig

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptai-agentsai-safetyanthropicaudit-trail

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类AI 编程
定价开源

> 相关工具

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.