Developers / AAES Govern

Govern your existing agents.

Use the service and client contracts supported by your Govern deployment.

This page describes AAES Govern’s controls. AAES Operate has private-work permissions, operational reviews and recorded-spend limits; it does not include Govern. About AAES Govern

Choose your interface

AAES Govern runs independently of AAES Operate. Its daemon API and language clients govern supported activity from your existing agents. Connect an existing agent to Operate to give it work, and to Govern to control its actions and model calls. The agent keeps running where it runs today and can route its model calls through Govern with its own gateway credential. The Connected agents guide, supplied with the evaluation package, lists the connection steps. Operator administration uses a separate authenticated console listener.

Two more entry points need no AAES SDK. The model gateway accepts Anthropic Messages, OpenAI Responses and OpenAI chat completions at /model/v1 with a Govern-issued token. Frameworks that let you set a base URL and an API key can point at it; Claude Code and Codex have been tested. The MCP bridge exposes registered capabilities as MCP tools, each with an argument schema from which Govern derives the spend.

Model gateway and MCP bridge

Model gateway. Govern accepts Anthropic Messages, OpenAI Responses and OpenAI chat completions, streamed or not, and answers in the format the agent called with. Each call is decided and sealed before it is forwarded, and the estimated maximum spend is reserved in a model budget. Govern then settles the reservation from the provider’s reported usage and puts the settled tokens and cost on the sealed receipt. The provider key stays in Govern; the agent holds only a Govern-issued token. A refusal reaches the agent as an ordinary provider error that carries Govern’s reason. A model budget can require a person’s approval at its cap; the approval admits that one call and no other. Govern never retries a call, and a call whose outcome is unknown keeps its reservation.

What the gateway adds. For any agent that sends its model calls through it, Govern’s model gateway applies model policy, holds your provider keys, checks spend before each call and seals a record after it. It translates Anthropic Messages and OpenAI Responses calls for sources that accept only chat completions. Codex agents that use Govern’s MCP tools need a source that accepts OpenAI Responses calls. AAES Operate and AAES Govern connect to your model-provider accounts. Govern can also forward model calls to a qualified AAES Infer route. Configure an Infer endpoint, project key and jurisdiction in Govern to send calls to a qualified AAES Infer route.

Model sources. Routes choose the provider by model name. AAES ships reviewed presets for 29 sources: model vendors, cloud platforms, gateways and self-hosted servers. The Models page lists each one with its test evidence. Upstream credentials can be an API key in the source’s own header, an AWS SigV4 signature, a Microsoft Entra token or a Google OAuth token, and they stay in Govern custody. Live calls through the gateway have passed for 8 sources, some only for certain call formats; the rest are tested against recorded responses or not verified by AAES. The Models page shows each result. Test each source with your own agents before you rely on it. Cursor, Meta’s Muse agent and GitHub Copilot take no base URL, so only standalone Operate admits them and their model calls are not governed. GitHub Copilot is not Microsoft Copilot Studio: Govern governs the actions that Copilot Studio agents route through it.

MCP bridge. Register Govern as a remote MCP server. Each tool it exposes maps to one registered capability, version and action, with an argument schema. Govern derives the amount and currency from the arguments and refuses a call whose spend it cannot derive; missing spend is never read as zero. Every call is bound to a Govern task, and a call that maps to none is refused. When policy requires an approval, Govern raises it and refuses the call with the approval’s id. A person decides it through Govern’s approval API under their own identity, and the agent retries the same request.

Priced actions. On other paths, Govern needs evidence for an amount from the capability’s registration: a cost ceiling or a money binding. See how a decision treats each registration.

Metering. Govern counts governed decisions from its own sealed journal: permits, refusals and deferrals, with a retried request counted once in a period. Model-gateway calls are not counted. The signed usage report and the license file are both checked offline. An expired or exceeded license raises warnings and never changes a decision.

Adding AAES Operate

AAES Operate + Govern keeps the two products' stores and permissions independent. Existing Operate history does not become governed evidence. Operate's agents reach Govern through the model gateway and the MCP bridge, each with its own Govern credential; an unavailable Govern service cannot authorize fallback execution.

The shared workspace presents each product's modules according to your access. Each product keeps its own authentication and endpoint contracts; do not send a token issued for one product or resource to another.

Read the Operate integration scope and prepare an evaluation.