Working Draft — agentrc 0.1.0-draft.6 is an evolving specification draft, not a finished standard. Expect breaking changes. Changelog →
View Markdown

What is agentrc?

agentrc is an open specification for declaring, packaging, governing, and sharing AI agents as portable, content-addressed artifacts. At its center is the Agentfile — a Dockerfile-shaped recipe for one agent.

You already know the shape: FROM, CMD, COPY, ADD, LABEL, HEALTHCHECK. agentrc adds just four new keywordsIDENTITY, CAPABILITY, SOP, and POLICY — and otherwise reuses standard Dockerfile keywords. The agentrc BuildKit frontend (or the agentrc CLI) compiles the Agentfile into an ordinary OCI artifact whose image config carries namespaced ai.agentrc.* labels. A platform reads those labels — never the Agentfile source — and decides what to honour.

agentrc is not a runtime, sandbox, cloud platform, model provider, or agent framework. It is the neutral declaration, packaging, and governance layer that sits above all of those.

The problem

AI agents are becoming real software that reads files, calls tools, spends credentials, and reaches the network — but the way they are defined today does not match the risk they carry:

The result: the same agent gets reimplemented per platform, its real privileges are unknowable, and nobody can sign off on it before it runs.

What agentrc solves

agentrc gives you one Dockerfile-shaped recipe and one portable package that make an agent’s intent explicit and machine-readable:

Who it is for

You are… agentrc gives you…
An agent developer / adopter A Dockerfile-shaped recipe — four new keywords over keywords you already know — that builds with docker build or arc build.
A security / compliance reviewer One artifact whose labels state every request: tools, network, model, sub-agents — vetted before it runs.
A platform / runner author A labels-only contract: read ai.agentrc.*, grant / narrow / reject, enforce with Cedar, fail closed. No need to parse the Agentfile.
A registry maintainer A standard OCI artifact with digests and .origin labels you can mirror, sign, and attest.

Standards agentrc builds on

agentrc is deliberately a thin governance layer over proven, open standards rather than a reinvention of them:

Concern agentrc uses v0.1 form
MCP servers Model Context Protocol (MCP) — the open protocol for model/tool context Projected under /mnt/mcp/; added with COPY / ADD --remote. agentrc declares and governs MCP, it does not replace it.
Skills Agent Skills — the open SKILL.md format Skill bundles under /mnt/skills/.
Instructions Agent SOP — natural-language, RFC-2119-constrained operating procedures The SOP keyword; embedded as a readable file at /mnt/SOP (the label is a pointer + digest, never the full text).
Authorization Cedar — the open authorization policy language from AWS The platform-side enforcement engine and compilation target for typed POLICY requests. Not an Agentfile author surface.
Packaging OCI — content-addressed, signable artifacts An OCI artifact: layers carry the /mnt resources; the image config carries ai.agentrc.* labels.

agentrc declares and governs these; it does not replace any of them.

What agentrc is not

To stay useful to every runtime instead of competing with them, agentrc deliberately does not define a runtime, a sandbox, a model API, an agent framework, a tool-call wire protocol, a proprietary registry, or a second author-facing policy language. See Non-goals for the full list.

Where to go next

In one line: The Agentfile is a Dockerfile-shaped recipe for one agent; the build emits ai.agentrc.* OCI labels; the platform reads the labels — not the Agentfile — and grants, narrows, or rejects each request, enforcing the result with Cedar. The agent carries no secret value and writes no policy language.