All work

AEGIS.

A policy gateway that checks AI agent actions before execution and records the evidence behind each decision.

Focus
AI security / Agent governance
Development status
Prototype · Phase 3 work merged
Source reviewed
Policy decision pathsAGENT REQUESTASSET POLICYEVALUATEALLOWREVIEWDENYPOLICY DECISION PATHSFIG. 01
Architecture illustration

The problem.

An agent can propose an action with real consequences. The model’s confidence alone gives an operator no reliable authorization decision and little evidence to inspect later.

Who it serves
AI platform engineers and security teams experimenting with agent controls.
The approach
AEGIS places a deterministic policy gateway between an agent and its tools. Requests can be allowed, denied, or held for human approval. A hash-chained audit trail supports evidence-backed incident review.
My verified contribution
Aswin-Times owns the repository. Attributed commits cover the Phase 3 governance review and decision flow, versioned policies, and internal audit anchoring for reviews.

Technology stack

  • Python
  • FastAPI
  • PostgreSQL
  • Next.js
  • TypeScript
  • Tailwind CSS

How it works.

Select a step to see its responsibility.

Step 01

Agent request

A registered agent submits a structured action to the gateway.

The main branch also contains a governance workflow for risk assessments, policy versions and asset reviews. Optional model-generated investigation hypotheses sit outside the enforcement path.

What’s built.

  • Agent and asset registry
  • Versioned runtime policies and human approval
  • Hash-chain verification
  • Security event projection and deterministic incident correlation
  • Role and tenant controls
  • Governance policies, risk assessment and review endpoints

Engineering decisions

Make enforcement repeatable

The gateway evaluates structured inputs against deterministic rules so authorization has a recorded, inspectable reason.

Keep hypotheses downstream

Investigation assistance can propose explanations after evidence is collected. The runtime decision path does not require model output.

What the source supports.

The source includes API contracts and tests for authorization, tenant isolation, audit integrity, policy decisions and governance approvals. The Phase 3 merge adds governance capabilities beyond the Phase 2 README status table.

Security, reliability and known limits

  • Coverage is limited to actions routed through the gateway, and registered tools are synthetic.
  • External audit anchoring, OIDC and login rate limiting remain documented gaps.
  • Optional LLM hypotheses have yet to be validated against a real provider.

What’s next

Extend identity controls, independently anchor audit history and verify the optional investigation model with a real provider.

Repository evidence.

Next projectREDFIRST