Overview
Agent Control Plane (ACP) is a self-hosted control plane for AI agents that you install in your own AWS account. ACP controls agents; it never runs them. Agent code, prompts, scheduling, memory and workflow state live in workloads you build, deploy and operate. ACP registers those agents, decides whether each controlled action is allowed, records what happened and reports cost and value to the people accountable for them.
How agents and ACP work together
- You register each agent with an Agent Card: owners, purpose, risk, the models and tools it may use, and its sandbox and production workload roles.
- The agent runs on its own compute (Lambda, ECS, AgentCore or anything that can sign AWS requests) and uses the SDK to register runs and ask before controlled actions.
- ACP checks identity, release, policy and budget, then answers allow, deny or needs approval, and records the decision.
- Releases move from sandbox to production only with evaluation evidence, independent approval and verified deployment evidence submitted by your own pipeline.
- Dashboards show runs, cost, value and coverage per agent, business unit and the whole estate.
How model calls are governed
ACP never calls a model, and the control plane itself needs no model: no authorisation decision is ever made by a model. Agents call Amazon Bedrock themselves, with their own workload role. Four controls govern those calls.
- The model allowlist is IAM. For each agent stage, ACP compiles a role policy that allows
bedrock:InvokeModelandbedrock:InvokeModelWithResponseStream(which also authorise Converse and ConverseStream) only on the exact foundation-model ARNs, and inference-profile ARN, of the approved models. A model is approved for a stage when it is granted in the agent's Agent Card, enabled and approved in the catalogue (live mode, administrator-confirmed budgets, known prices, passed preflight) and allowed by current policy. Any other model is simply not in the role. A model configured with an inference profile (for example for cross-Region inference) can be invoked only through that profile (abedrock:InferenceProfileArncondition). Changing models or policy changes the desired role, so apply permissions again; until then ACP reports drift. - A permit before each call. The agent asks ACP whether it can go ahead (
POST /agent/v1/runs/{id}/model-permits), giving the model alias and its maximum input and output tokens. ACP checks identity, release, suspension, the circuit breaker, the Agent Card grant, catalogue approval, policy and per-run limits, then reserves the worst-case cost against organisation and agent-stage budgets. The permit covers one call and expires after 15 minutes. The agent calls Bedrock with the permit's model ID, output limit and request metadata, then reports the usage, which settles the reservation. An unreported permit is charged at the full reserved amount. - An independent check from Bedrock's own logs. Bedrock model invocation logging delivers a record of each call in the Region to a bucket in the installation, with metadata only (no prompts or outputs). ACP reads each record (calling role, model, token counts), matches it to its permit through the request metadata, settles permits the agent did not report, and charges usage above what was reported or permitted and calls made without a permit. Calls by roles not bound to an ACP agent are ignored.
- A circuit breaker. A call without a permit, a second call under one permit, usage above what was reported or above the permit's limits, or spend past the budget suspends that agent stage's model access. ACP refuses new permits and, for roles it owns, adds an explicit IAM deny on model invocation; roles adopted from your account cannot be changed, so for those only permits are refused. An operator resets it after investigating (see circuit breaker).
These controls do not give a hard cap on spend:
- A misbehaving agent can overspend for the few minutes it takes Bedrock to deliver logs and an IAM deny to take effect.
- The agent passes the permit's output limit to Bedrock itself; ACP checks the logged usage afterwards.
- Invocation logging is an account-wide setting per Region, and account administrators can turn it off.
pnpm ac doctorand a scheduled check detect this; they cannot prevent it. - Asking for a permit is cooperative: an agent that skips it is caught afterwards, not stopped.
None of this has yet been verified on AWS: log delivery with all content delivery switched off, IAM enforcement of the allowlist and propagation timing are untested. Models from other providers, reached over the internet, are outside these controls.
Architecture
| Entry point | Who calls it | Authentication | Purpose |
|---|---|---|---|
Console and /api/v1 | People (console, CLI) | Amazon Cognito token (JWT) | Registry, Agent Cards, configuration, releases, approvals, dashboards, audit |
/agent/v1 | Registered agent workloads | AWS Signature Version 4 (IAM) | Runs, model permits and usage reports, tool requests, telemetry |
/deploy/v1 | Your CI/CD deployment roles | AWS Signature Version 4 (IAM) | Approved release manifests, evaluation and deployment evidence |
Human tokens never grant model permits or tool calls, and workload credentials never grant administration. The route table in packages/contracts/src/routes.ts generates the OpenAPI document (packages/contracts/openapi.json), the API Gateway routes and the application router.
Everything is serverless and pay-per-use: API Gateway, Lambda (one role per function), eight on-demand DynamoDB tables (registry, config, runs, approvals, ledger, audit, aggregates, outbox), a versioned S3 bucket of immutable configuration revisions, an S3 bucket for Bedrock invocation logs (metadata only, kept 90 days), Cognito, and a CloudFront-hosted console. No ACP function holds any model invocation permission. Authoritative reads are strongly consistent; indexes are used only for listing and reporting.
| Code | Responsibility |
|---|---|
packages/contracts | Vocabularies, JSON Schemas, API types, route table |
packages/config | Safe Markdown/YAML parsing, validation, hashing |
packages/policy | Pure, deterministic policy evaluator |
packages/metrics | Metric formulas, rollups, CSV export |
packages/iam-policy-compiler | Capability grants to IAM documents; drift detection |
packages/core | Domain services and HTTP handlers |
packages/aws-adapters | DynamoDB, S3, IAM, Lambda, Cognito, SES and SQS adapters; Bedrock metadata and logging configuration |
packages/demo | Opt-in interactive demo (see demo) |
services/* | Lambda entry points |
infra/cdk | Foundation, application and console stacks |
apps/console | React console |
Decision order for a controlled request
- Resolve the workload from the API Gateway IAM context (never from headers or body).
- Map its exact IAM role to a registered binding (agent and stage); reject unknown, revoked or recreated roles.
- Check the run belongs to that agent and stage and is still running.
- Check suspension, retirement, critical IAM drift and, for a model call, the model circuit breaker.
- Resolve the eligible release and the Agent Card revision it pins.
- Read the active configuration (strongly consistent) and resolve documents by content hash.
- Derive trusted attributes (model metadata, tool capability, side effects) in server code.
- Check the model or tool is granted in the pinned Agent Card.
- Apply platform invariants, then layered policy: deny beats needs approval beats allow; no matching rule means deny.
- For a model call: check per-run limits, reserve the worst-case cost against organisation and agent-stage budgets, audit the decision and issue a permit. The agent then calls Bedrock itself and reports the usage, which settles the reservation (
not_calledreleases it). - For a tool call: audit the decision, then execute it or create an approval request, and record the outcome.
- For a model call, later match Bedrock's invocation log record to the permit and charge any difference.
Coverage levels
ACP reports what it can evidence, per agent and per capability (model calls, tool calls, approvals, telemetry). It never claims blanket compliance.
| Level | Meaning |
|---|---|
managed | Requests go through ACP (model permits, tool gateway) and the agent's scoped IAM role is verified on AWS. For model calls, Bedrock invocation logging must also be verified: metadata-only delivery to the installation's bucket. |
integrated | Requests go through ACP, but other paths may exist or cannot be detected (IAM or invocation logging not verified, or registered profile). |
observed | Only telemetry has been seen. |
unverified | No successful integration evidence yet. |
Without verified invocation logging, model coverage stays integrated with the limitation that model calls made without a permit cannot be detected. Coverage percentages use the registered estate as the denominator: ACP does not discover unregistered agents. Simulated evidence (local runs, tests, the demo) never counts as managed.
Access profiles (accessProfile in the Agent Card)
| Profile | Enforced | Not enforced |
|---|---|---|
registered | Metadata, ownership, self-reported telemetry; decisions for permits and tool requests the agent sends | No hard control; the workload may hold other credentials |
iam-managed (default) | A scoped role per stage with ACP's permissions boundary, verified by observation; the role may invoke only its approved models; explicit denies for asynchronous and batch inference, Bedrock agents and flows, IAM changes, role assumption, SES and ACP's own data | Outbound network traffic to non-AWS endpoints |
restricted-network | Intended for private networking with controlled egress | ACP collects no egress evidence, so it never claims network non-bypass |
ACP compares each role's observed state (trust policy, boundary, policies, tags, unique ID) with the compiled desired state. A removed boundary, an extra policy or a recreated role is critical and blocks new model permits and tool requests for that agent stage until reconciled. ACP repairs only roles it owns, through an explicit, audited apply.
What ACP does not guarantee
- Stopping work already in flight or reversing an action already sent: suspension stops new controlled actions.
- Exactly-once delivery to external systems: ambiguous outcomes are recorded as
outcome_unknownfor an operator. - That estimated model cost matches your AWS bill, or a hard cap on model spend: see how model calls are governed.
- Control over AWS administrators or unregistered workloads.
- Zero-downtime releases: model permits and tool requests pause while a new production binding is verified.
ACP includes no agent runner, hosting, job queue for agent work, workflow builder, arbitrary code execution, arbitrary HTTP tool, automatic discovery of agents, or multi-tenant SaaS.
Compatibility
| Item | Supported | Tested |
|---|---|---|
| Node.js (build, CLI, local server) | >=22.13 | 22.x on Linux |
| Lambda runtime | nodejs24.x | Synthesis only |
| AWS CDK | aws-cdk-lib 2.278.0, CLI 2.1149.0 | Synthesis only |
| AWS regions | Any commercial region with the services you use and your agents' chosen Bedrock models | Not yet on AWS |
| Agent runtimes | AWS Lambda (reference example); ECS and AgentCore recipes | Local harness; ECS and AgentCore unverified |
| SDK | @acp/sdk-js 0.1.0 with API v1 | In-process API tests |
| Configuration | schemaVersion: 1 for every document | Yes |
| Console browsers | Current Chromium, Firefox, Safari | Chromium |
Not yet verified on AWS: the full installation, IAM enforcement of the model allowlist, Bedrock invocation log delivery with content delivery off, IAM propagation timing and Cognito sign-in. The interactive demo runs on AWS with synthetic data only.
Docs version: 2abf6af98023 · Source: docs/overview.md · Edit on GitHub