One decision point between the agent and everything else
Registry makes all decisions through Cedar. The other components are off the shelf: Holdfast does not invent identity, a model gateway or a sandbox, but ties them together with policy.
Components and who talks to whom
- Employee → Registry: launch, requests, cabinet.
- Registry ↔ Keycloak: who signed in, which roles, which consents, exchange of a token for a narrow one.
- Registry ← Fleet: laptop state goes into the Cedar decision.
- Registry → LiteLLM and OpenShell: a key per session and a sandbox with the selected skills.
- MCP servers → Registry: every tool call is checked (dashed line).
From command to log entry in seven steps
- agentctl login
Sign-in and consent
The person signs in through Keycloak (PKCE; device flow for remote sandboxes). The consent page explains in plain language what the agent will get. The consent is visible in the cabinet and revoked there.
- agentctl plan --profile code-review --harness codex --skills pr-review
Launch plan
A preview without launching: which services are granted, which are closed, and under which rule. Selecting skills narrows the set to what is needed; the profile remains the ceiling.
- service · role · consent · exception · device → allowed / denied
Decision
Registry asks Cedar about every service: the person’s role, consent, exception, revocation, device state from Fleet. The result is a session manifest with a digest; it is stored and visible to the owner and the auditor.
- the gateway key is blocked when the session stops
Narrow tokens
The agent gets not the rights of the person but a narrow token via RFC 8693 exchange and a separate LiteLLM model key per session: budget, term, limit on parallel requests.
- agentctl start --profile code-review --harness codex --gateway cybermdm
Sandbox
OpenShell starts a microVM. The harness configuration and only the selected skills, as standard SKILL.md files, are delivered into it. The network is closed by default, and the proxy substitutes service tokens: they are not in the sandbox.
- tool-outside-session-scope · tool-descriptor-drift · jira-write-needs-approval
Working with tools
The agent calls MCP tools. The MCP server asks Registry, and Cedar decides on every call: whether the tool is in scope, whether its descriptions have changed, whether a write requires the consent of a person.
- agentctl timeline <session> · agentctl verify <session>
Audit log and stop
Every decision is written to the log with a hash chain. A session can be stopped from the cabinet, by a security officer, or automatically when the device stops being compliant; agentctl verify compares the sandbox files with the recorded hashes.
Commands used to verify this on the stand
The stand is deployed from the repository with one command on one computer. All the commands below are real; results are written to the log and visible in the cabinet.
Working prototype: Registry on SQLite, ports via port-forward. The production profile refuses to start with dev values.
# sign in and plan
agentctl login
agentctl plan --profile code-review --harness codex --skills pr-review
# launch, observe, stop
agentctl start --profile code-review --harness codex --gateway cybermdm
agentctl timeline <session>
agentctl stop <session>
# for security and audit
agentctl admin policy diff
agentctl admin evidence --from 2026-11-01 --to 2026-12-01 --out evidence.jsonWhat we take off the shelf and why
| Component | Role | What it sees |
|---|---|---|
| Keycloak | sign-in, consents, token exchange | logins, roles, consents |
| Registry (ours) | decision, catalog, requests, log | metadata of launches and decisions; no secret values |
| Cedar | the only decision language | attributes of the request and the person |
| LiteLLM | model gateway, keys and budgets | requests to models and responses |
| OpenShell | agent sandbox | code and data inside the sandbox |
| Fleet | device state (MDM) | laptop state, binding to a person |