Repository navigation
v0.3.0
Added
The Phase 5 enforcement points and consent flows. They were declared in 0.1.x (the
agentic-auth-gateway and agentic-auth-boundary commands existed) but their code never
reached this repository, so those commands could not start.
- Gateway (
agentic-auth-gateway,agentic_auth.gateway). A shared, central enforcement
point that runs the sameenforce()as the sidecar, so it reaches the same decisions.- It fails closed when the control plane is unreachable or past its decision deadline.
- It supports observe mode, and runs as several stateless instances.
- Boundary adapters (
agentic-auth-boundary,agentic_auth.boundary), for agents you
cannot modify:- Resource-server guard (
RequireAgenticAuthmiddleware): the tool admits only a
grant plus identity. - MCP connector proxy (
agentic-auth-boundary mcp-proxy): filterstools/listto
what the manifest declares, and decides everytools/call. - Each labels its decisions with the guarantee level it can actually give.
- Resource-server guard (
- Step-up consent. A recoverable refusal (
SCOPE_NOT_CONSENTED) carries a challenge.- The consenting human approves it at
/v1/consent/step-up/completewith their own
credential. The session's grant is not enough, so an agent cannot approve its own
widening. - The blocked hop then resumes, with its hop budget intact.
client.step_up(),client.approve()andclient.resume()now have a server to call.
- The consenting human approves it at
- Cold start. A first-time agent can be registered with no manifest. It then authorizes
nothing. To give it a manifest:- Record what it does under test with
agentic-auth drift record. - Run
agentic-auth sandbox propose-local <trace> --agent <name>, which proposes a manifest
covering exactly what was observed. - A person reviews the proposal, filling in data classes and marking privileged tools,
then registers it. That review is the ratification: nothing governs until then.
- Record what it does under test with
- Consent to a subset (
consent(data_classes=...)), behind
AGENTIC_AUTH_CONSENT_GRANULARITY_ENABLED. - Feature flags. Each new control is off by default:
CONSENT_GRANULARITY_ENABLED,
STEP_UP_ENABLEDandSANDBOX_ENABLED. With them off, no new route is advertised and
every decision is unchanged. - Contracts and testing:
docs/contracts/conformance.mdand
docs/contracts/stepup.openapi.yaml. A conformance test holds the SDK, sidecar and gateway
to the same decisions. - The embedded control plane serves step-up and sandbox too. The embedded/remote conformance
suite now runs the full step-up flow: refused, approved by the human, resumed.
Not yet included
- Server-side sandbox observation.
/v1/agents/{id}/sandboxandagentic-auth sandbox runopen an observation run. Nothing yet feeds a run the agent's calls, so a run ends
empty and its proposal is markedcovers_no_behaviour. Usesandbox propose-local(above)
until then. Ratifying a server-side proposal works. - The egress proxy (network mode).
agentic-auth-boundary egress-cagenerates the
certificate authority, and the connection-inspection logic is in place and tested.
egress-proxyitself does not run yet: it needs a CONNECT-capable listener, and it says
so and exits rather than starting a proxy that cannot enforce.
Fixed
- The OpenAPI document reports the package's version instead of a hard-coded
0.1.0.