ACS is a wire specification. It lets a separate Guardian Agent inspect what an AI agent is about to do and permit, deny, or modify that action before it happens, over an authenticated channel, with an audit trail that reconstructs after the fact. The fastest way to understand what that means is to make it deny something.
This is the one ask that needs nothing from a maintainer first. Clone the repository, run a real Guardian against a real policy engine, and watch it deny a command sent by a real coding agent.
The reference implementation runs Microsoft's Agent Governance Toolkit
(AGT) behind the ACS wire contract, with host shims for Claude Code and OpenCode. It
needs bun and nothing else to start.
git clone https://github.com/GenAI-Security-Project/agent-control-standard
cd agent-control-standard/reference-implementations/agt
bun install
bun run guardian # second terminal: bun run inspectorThe Guardian prints this on startup:
Guardian listening at http://localhost:8787/acs
Envelope log: .acs/envelopes.jsonl
Session context log: .acs/session-context.jsonl
Failure posture: proceed (override with ACS_ON_DECISION_FAILURE=deny)
The Failure posture: proceed line matters more than it looks. Read on. In a second
terminal, the Inspector reports last_observed_posture=(none observed) and
fail-open proceeds=0 until an envelope crosses the wire.
Connect a coding agent to the running Guardian:
mkdir -p .claude && cp hosts/claude-code/settings.json .claude/settings.json
claudeUse Claude Code v2.1.295 or later. Older clients ignore the setting that makes a failed hook block the tool call, so a broken hook there lets the tool run with no decision.
Ask Claude Code to run echo rm -rf /. AGT's stock destructive-pattern rule denies it,
and the Inspector prints the denial as it crosses the wire, with the reason code
destructive_shell_command_blocked and the policy reference agt_stock. Ask for
ls -la in the same session and it runs. No coding agent installed, no problem: pipe a
hook payload straight into the shim while the Guardian runs and get the same decision
without one.
echo '{"session_id":"demo","hook_event_name":"PreToolUse","tool_name":"Bash","tool_input":{"command":"rm -rf /"}}' \
| bun run hosts/claude-code/acs-hook.ts{"hookSpecificOutput":{"hookEventName":"PreToolUse","permissionDecision":"deny","permissionDecisionReason":"This command was blocked because it matches a destructive-shell-command pattern. Policy: destructive_shell_command_blocked, from AGT's stock bundle (agt_stock). Matched at offset 0."}}That JSON is a real deny from a real Guardian, not a transcript. A working Guardian and one verified deny is the whole ask. Stop here if that answered what brought you here today.
bun install does not install trash, because trash is a system command, not an npm
package. bun test passes without it. bun run conformance, bun run watch:upstream,
and bun run verify:pin stop with an error until you install trash-cli.
This Guardian's default failure posture is proceed. A Guardian that crashes, hangs, or
is unreachable stops governing, and the host proceeds as if nothing asked. Only the
shim's audit log records the bypass. Set ACS_ON_DECISION_FAILURE=deny on the Guardian
before trusting it to fail closed. The project has decided that deny becomes the
default (D-036),
and every other component release 0.1.5 ships already denies by default.
Two gaps sit above the fold on purpose, because a project that hides its own gap list forfeits the right to be trusted on the rest of it.
The wire is not authenticated. ACS-Core requires a baseline HMAC-SHA256 signature on every envelope. The TypeScript AGT Guardian implements none of it, so anything that can reach the port can read decisions and cause decisions. The Go Guardian and the Python example Guardian, both listed below, sign every envelope. The default failure posture of this tree is fail-open, as covered above.
The defensible claim for this tree is narrow: one Guardian, two agent clients, one wire
contract, plus a published matrix of what ACS v0.1.0 can and cannot express of AGT
today. Two of ACS's nineteen hook methods are evaluated live,
steps/toolCallRequest and steps/toolCallResult. This is not a claim that ACS was
benchmarked for interoperability with Microsoft AGT across the specification. The full
limits list, requirement by requirement, is in the
reference implementation's own README,
which is the deep tutorial this section only summarizes.
When behavior does not match the specification, open an issue at GenAI-Security-Project/agent-control-standard/issues with four things: what was run, what was expected, the specification section that set that expectation, and what happened instead.
Release 0.1.5 implements specification v0.1.0 and ships more than the AGT tree. Each part below has its own README with the commands, and the Run a Guardian page on the site maps how they fit together.
| What | Where | What it gives you |
|---|---|---|
| Reference adapters | adapters/ |
Claude Code, Cursor, and NVIDIA NAT 1.7.0 connected to any Guardian through each host's own hook configuration, with no agent code changes. Fail closed by default |
| Python example Guardian | adapters/docs/guardian/ |
A small teaching Guardian, acs-example-guardian, with an opt-in OPA policy backend and opt-in ML-DSA-65 decision signing |
| Go Guardian | reference-implementations/agt-go/ |
The same AGT policies through the AGT runtime, with signed traffic, usable as a Go library, with Codex and OpenCode examples |
| Gateway | adapters/gateway/ |
Governs any OpenAI Responses API client you can't modify. Set OPENAI_BASE_URL, run the gateway in shadow or enforce mode (the default is off), and change nothing else |
acs-verify |
adapters/docs/acs-verify.md |
Checks a session transcript offline: the audit chain, every decision signature, and request binding |
ML-DSA-65 signing, the OPA backend, and parts of the gateway are lab conventions. They are off by default, make no conformance claim, and may change when the specification settles each question. Each README's "Lab conventions" section names them.
An agent that implements ACS sends a hook request before it acts. Here an agent asks to read a file, and the Guardian says yes.
{
"jsonrpc": "2.0",
"method": "steps/toolCallRequest",
"id": "1",
"params": {
"acs_version": "0.1.0",
"request_id": "b3e1c9f0-3b21-4b7a-9f2e-6a6d2e6a9a11",
"timestamp": "2026-09-09T14:02:11Z",
"metadata": {
"agent_id": "research-assistant",
"session_id": "5b7a6e2a-6a2e-4b7a-9f2e-6a6d2e6a9a22"
},
"payload": {
"tool": { "name": "file_read" },
"arguments": { "path": { "value": "/reports/q3-summary.md" } }
}
}
}The Guardian's answer:
{
"jsonrpc": "2.0",
"id": "1",
"result": {
"type": "final",
"acs_version": "0.1.0",
"request_id": "b3e1c9f0-3b21-4b7a-9f2e-6a6d2e6a9a11",
"decision": "allow"
}
}Both payloads validate against the schemas in this repository, request-envelope.json,
hooks/tool-call-request.json, and response-envelope.json. Nothing here is invented.
Every schema in ACS v0.1.0 lives at the URL its own $id names. The $id is not a
label sitting beside the real address. It is the identity and the published location at
once, which is why a $ref inside one schema can resolve against the same base every
other schema in the set uses.
curl -sL https://genai-security-project.github.io/agent-control-standard/schema/v0.1.0/hooks/tool-call-request.jsonThat fetches the schema behind the toolCallRequest payload above, published from
specification/v0.1.0/hooks/tool-call-request.json in this repository. All 44 schemas
resolve the same way, each under the v0.1.0 namespace shown in that URL. A merge to
main republishes the full set, and the build fails before it ships if any $id
collides or any $ref fails to resolve. A separate check reruns every six hours and
confirms all 44 URIs still answer.
Not every verdict is a plain yes. Here the agent asks to run an unbounded query, and the
Guardian returns modify instead of allow or deny, rewriting the argument before
the tool ever runs.
{
"jsonrpc": "2.0",
"method": "steps/toolCallRequest",
"id": "2",
"params": {
"acs_version": "0.1.0",
"request_id": "c4f2d0a1-4c32-4c8b-a03f-7b7e3f7b0b33",
"timestamp": "2026-09-09T14:03:47Z",
"metadata": {
"agent_id": "research-assistant",
"session_id": "5b7a6e2a-6a2e-4b7a-9f2e-6a6d2e6a9a22"
},
"payload": {
"tool": { "name": "database_query" },
"arguments": { "query": { "value": "SELECT * FROM customers" } }
}
}
}{
"jsonrpc": "2.0",
"id": "2",
"result": {
"type": "final",
"acs_version": "0.1.0",
"request_id": "c4f2d0a1-4c32-4c8b-a03f-7b7e3f7b0b33",
"decision": "modify",
"reasoning": "Unbounded SELECT against customers exceeds the row-limit policy. Query capped at 100 rows.",
"modifications": {
"parameter_overrides": {
"query": "SELECT id, name FROM customers LIMIT 100"
}
}
}
}This verdict came from the Guardian's deterministic layer alone, an engine like OPA/Rego or Cedar evaluating a written policy against the request. The deterministic layer always runs first. A chain config MAY delegate to a second, agent layer, an LLM, when the deterministic layer cannot resolve the request on its own, but that LLM never reads the policy source. It receives only the intermediate output the deterministic layer chooses to hand over, and its answer still has to clear the deterministic layer on the way back out. Deterministic-only deployments are fully conformant. Delegation is optional.
flowchart LR
OA["Observed Agent"] -->|"hook request<br/>JSON-RPC 2.0"| DET
subgraph GA["Guardian Agent"]
DET["Deterministic layer<br/>OPA/Rego, Cedar<br/>always runs first"]
LLM["Agent layer, LLM<br/>no policy source access"]
DET -.->|"optional delegation:<br/>intermediate output only"| LLM
LLM -.->|"answer"| DET
end
DET -->|"disposition"| OA
Two parties speak ACS. The Observed Agent is the LLM-backed system being watched, the one sending hook requests like the ones above. The Guardian Agent sits on the other end of the wire and decides what happens next.
A hook is a point in the Observed Agent's execution where it stops and asks before
acting. toolCallRequest is one of ACS's nineteen native lifecycle hooks. Others fire at
session start and end, before and after a turn, on knowledge retrieval, and around
memory reads and writes.
The Guardian answers every hook with one of five dispositions: allow, deny,
modify, ask (route to a human, agent, or service approver), or defer (postpone the
verdict when the Guardian cannot yet reach one). The two examples above showed allow
and modify.
ACS organizes its requirements into three pillars. Instrument is the hook and disposition machinery already shown. Trace records every hook and every decision as an OpenTelemetry span, an OCSF event, or both, so a security team's existing tooling reads an ACS audit trail without new plumbing. Inspect produces the AgBOM, a live inventory of an agent's models, tools, and dependencies, serialized as CycloneDX, SPDX, or SWID on request.
flowchart TB
ACS["ACS"] --> INST["Instrument<br/>hooks, five dispositions"]
ACS --> TR["Trace<br/>OpenTelemetry spans, OCSF events"]
ACS --> INS["Inspect<br/>AgBOM: CycloneDX, SPDX, SWID"]
A deployment does not have to implement all three to conform. ACS-Core, the Instrument pillar plus the wire format and the audit chain, is the mandatory baseline. Trace, Inspect, field-level Provenance, and cryptographic signing are conformance profiles that a deployment declares at the handshake and adds independently.
A reader who only wants to know whether ACS fits their problem can stop here.
Running the reference implementation is the ask that needs no maintainer decision first. These three do, in the order they matter most right now.
Three Guardians ship in release 0.1.5: the TypeScript AGT Guardian, the Go Guardian,
which runs the same AGT policies, and the Python example Guardian, a teaching artifact.
Ports to other languages, Rust among them, are welcome. The Go Guardian shows the bar:
its answers match the TypeScript Guardian's on 49 recorded sessions, and
its conformance map ties each
ACS-Core item to its tests. The TypeScript tree's harness, bun run conformance, prints
the mapping table, the coverage matrix, and the trace rows against a live Guardian over
HTTP. Both measure the wire, not the language behind it.
Two gaps in the TypeScript tree are named and open, not vague. The Guardian writes its envelope and
session-context logs, and the host adapter writes its audit log, as synchronous file
appends on the decision path, with no batching. Trace export is
partial: set ACS_OTEL_FILE or ACS_OTEL_ENDPOINT and the Guardian exports OTLP spans
for the two live methods, steps/toolCallRequest and steps/toolCallResult, as the
Guardian README
describes. Failures only the host sees, such as an unreachable Guardian, stay in the host's
audit log until a converter turns them into spans of the same format.
How the reference Guardian produces a trace
explains how the two streams join. A sample trace
shows that output without running anything, and Produce a trace
walks you from a fresh clone to a trace file of your own.
That exporter does not make the reference ACS-Trace conformant, and this tree claims no
Trace profile. It covers two methods, emits no OCSF, and leaves out a required attribute
when the request omits it. The conformance harness still measures which attributes a
consumer could emit from the wire, not what the exporter ships. Start in
reference-implementations/agt/packages/.
The concept pages under docs/concepts/ are the source of truth for
identity, intent, capability, provenance, and trust basis, the terms every pillar's
specification references down into rather than restates. The rules a deployment's
conformance claim has to satisfy are in
Conformance Profiles, which also says plainly that nobody
verifies a self-declared claim in v0.1.0. The requirement-by-requirement ledger the
TypeScript reference implementation measures itself against is the table in
its own README,
and the Go Guardian keeps the same kind of table in its
conformance map. The
decision log records what the project has decided
and why. Read it before you treat a gap between the code and the specification as a bug,
because many such gaps are decisions that the specification text does not reflect yet.
Governance changed for the OWASP relaunch, and it matters starting today.
CONTRIBUTING.md now names one filter for what the project accepts: the Current
Priority Scope, the section at the top of that file. It states the project's one
committed outcome for the current window, then sorts every possible contribution into
in focus, deferred to the next specification release, or out of scope by design. Read it
before opening an issue. Everything below assumes you have.
Pull requests fork from and target integration, the default branch. main takes only
two kinds of change: a promotion pull request from integration, and an editorial fix
to a file on a short allowlist, this one included. release/* branches stabilize a
specification version between integration and a tag. Merging to main is what
republishes the site and every schema $id under it, which is why specification and
code changes go through integration first.
flowchart LR
FORK["Fork"] --> INT["integration<br/>default branch"]
INT --> REL["release/vX.Y.Z<br/>stabilization"]
INT -->|"promotion PR"| MAIN["main<br/>publishes site + schema URIs"]
Every issue starts from one of six forms. There are no blank issues. A form applies a
type: label and status:needs-triage automatically, and nothing else.
Triage authority in GOVERNANCE.md says who can move an
issue to status:accepted, and only an accepted issue enters the backlog. A pull request that changes behavior, alters normative text, or adds code
references an accepted issue that a lead assigned to its author before it opened. An
editorial correction, a typo or a broken link, needs none.
flowchart LR
F["Issue form"] --> T["Maintainer triage"]
T -->|"deferred"| D["scope:deferred<br/>tracked for the next spec release"]
T -->|"accepted"| A["status:accepted<br/>enters the backlog"]
A --> AS["Lead assigns the issue<br/>to its author"]
AS --> P["Pull request<br/>references the issue"]
E["Editorial fix<br/>typo, broken link"] --> P2["Pull request<br/>needs no issue"]
CONTRIBUTING.md is the authority on the full scope list, the branch names, the label
taxonomy, and the sign-off every commit needs. Start there, not here.
Release 0.1.5 is current, and it implements specification v0.1.0. The release number changes with each release, and the specification version names the schema namespace. CHANGELOG.md says what each release changed, and every tagged release is listed on the tags page. The next specification release, v0.2.0, targets March 2027. A v1.0 date has not been set.
What is in focus right now lives in one place, the Current Priority Scope in CONTRIBUTING.md.
- AGT reference implementation: the deep tutorial behind the walkthrough above, the Guardian, both host shims, and the full limits list.
- Reference adapters: Claude Code, Cursor, and NVIDIA NAT wired to a Guardian by configuration, plus the Python example Guardian.
- Go Guardian: AGT policy with signed traffic, as a server or a Go library.
- Gateway: governs an OpenAI Responses API client without changing it.
- acs-verify: checks a signed session transcript offline.
- Decision log: what the project has decided and why.
- Documentation site: the specification, concepts, and topic guides.
- Specification: the JSON Schemas and normative prose in this repository.
- GitHub Discussions: questions and design conversation.
- Slack: owasp.slack.com, channel
#team-genai-asi-acs-general. - CONTRIBUTING.md: how work gets accepted.
- SECURITY.md: how to report a vulnerability.
- GOVERNANCE.md: who leads which workstream.
- Project board: open work and where each item stands.
ACS is an open project of the OWASP GenAI Security Project, open to contributions from the community.
Code and schemas are licensed under the Apache License 2.0. Documentation is licensed under CC BY-SA 4.0. See LICENSING.md for the scope map.
