Authorization and evidence layer
Half the judgment is yours.
Demigard Guard is the authorization and evidence layer for AI agents that touch infrastructure. The agent proposes. Policy decides. Every action leaves a record you can defend.
01The problem
Agents already have the reach. They do not have the boundary.
-
Agents delete pods, scale deployments, rotate secrets and run cloud CLIs today.
-
Allow/ask/deny rules inside the agent are UX. The agent can still route around them.
-
What is missing is a boundary the agent cannot cross, and a record of every crossing.
02The loop
Propose, weigh, decide, record.
03Tiers
Four tiers, fixed semantics.
| Tier | What happens |
|---|---|
| T0read | allowed, logged, nobody is paged |
| T1reversible write | allowed, dry-run first, verified after |
| T2destructive | held until a human approves the blast radius |
| T3exec and secrets | denied by default, per-request approval, timeboxed |
Default deny. An unknown tool, verb or surface is T3. Approval binds to a hash, never to a description.
04Why it is different
Four claims, each one checkable.
-
Enforce where the credential lives.
Not a proxy the agent can route around — the agent holds no infrastructure credential at all.
Why it mattersA prompt is not a boundary when the process beside it holds the kubeconfig.
-
Approve the plan, enforce the step.
Approval binds to a plan hash; each step is a single-use capability with a short TTL.
Why it mattersAn edited plan no longer matches the hash, and a spent capability cannot be replayed.
-
Evidence, not logs.
Intent, dry-run, verdict, approver, result, verification, rollback — one reviewable record per action.
Why it mattersA log line says something happened. The record says who approved what, and what changed.
-
Framework-neutral.
MCP, LangGraph, ADK, Strands, Claude Code — one audit trail instead of five per-framework permission systems.
Why it mattersAdd a second framework without adding a second approval system.
05Documents
The design is written down.
- 00 Naming Why the name is Demigard, the seven rejected rounds, and the competitive landscape.
- 01 System design Architecture, plan schema, policy model, credential strategy, execution and threat model.
- 02 Dashboard Approval and audit console: seven pages, the approval card, the evidence explorer, the data model.
- 03 MCP integration The MCP surface: eight tools, annotation-to-tier mapping, OAuth 2.1, and what the MCP token is not.
06Status
Design phase. Local-first. No cloud dependency. The specification is public in the repository.
Repository