Runtime security for AI agents.
Every agent action gets a decision before it executes: ALLOW, BLOCK or ESCALATE.
Evidence · Security policy · Architecture · Threat model · Changelog · Live demo · Discord
Aegisora sits between an AI agent and the systems it can act on. It evaluates a tool call before it runs, applies policy, permissions and risk checks, and records the outcome as audit evidence.
| Decision | Meaning |
|---|---|
ALLOW |
The action satisfies policy and may run. |
BLOCK |
The action violates policy and must not run. |
ESCALATE |
The action needs review before it can run. |
Agent --> tool call --> Aegisora (identity, policy, permission, risk) --> decision --> execution --> audit evidence
- A runtime enforcement gate that decides before provider and tool execution.
- An enterprise approval registry and runtime approval engine. A requester cannot approve their own request (separation of duties).
- An evidence ledger and audit trail for decisions.
- A security test suite, an agent security benchmark and a runnable LangGraph example.
The hosted dashboard at aegisora.org is developed in a separate repository. The tests listed here do not cover it.
Requirements: Node.js 22 or later and pnpm 11 (see packageManager in package.json).
git clone https://github.com/aegisora-ai/aegisora.git
cd aegisora
pnpm install --frozen-lockfile
pnpm build
pnpm testpnpm test runs the runtime suite, the core suite (CORE_TESTS_PASSED=N/N) and the LangGraph example (EXAMPLE_RESULT=PASS). To run only the example:
pnpm --filter @aegisora/example-langgraph-agent-governance testEach claim, the test behind it and the command to reproduce it are listed in the evidence index.
Adapters in the runtime source: OpenAI, Anthropic, Gemini and Groq.
Verified against the real APIs so far: Gemini and Groq. OpenAI and Anthropic were skipped in the live matrix. See the pilot evidence report.
| Package | Purpose |
|---|---|
@aegisora/core |
Core types, enterprise approvals, evidence ledger |
@aegisora/runtime |
Runtime governance engine and enforcement gate |
Other packages live in core/packages: audit, observability, plugins, policy-engine, sdk, security-engine and storage.
Read this before relying on Aegisora.
- No independent security audit or certification. We make no SOC 2, ISO/IEC 27001, HIPAA or GDPR claim. See compliance readiness.
- Results are produced by the maintainers. Nothing here has been independently verified yet.
- The prompt-injection guard is pattern-based. Paraphrased payloads can bypass it, and broad patterns can block harmless text.
- Rate limiting is in-memory and per gate instance. It resets on restart.
- In the live provider matrix,
ESCALATEis triggered by a caller-supplied review flag, not by automatic detection. - The vehicle-security scenario suite is partly executed: see
mobility/README.mdfor what ran and what did not.
Report vulnerabilities privately by following SECURITY.md. Do not open public issues for security-sensitive findings.
Read CONTRIBUTING.md. Tests are required for security-sensitive changes.
Security researchers: Challenge #28, break the agent execution boundary. Other work is tracked in Issues. Questions go to Discord.