# agentrc — Agent Run Config > Open specification for declaring, packaging, securing, and sharing portable AI agents. agentrc is an open specification for a **Dockerfile-shaped Agentfile** that declares, packages, and governs a portable AI agent. An author writes the Agentfile using four new keywords — `IDENTITY`, `CAPABILITY`, `SOP`, `POLICY` — over standard Dockerfile keywords (`FROM`, `CMD`, `COPY`, `ADD`, `LABEL`, `HEALTHCHECK`, …). Tools, skills, and MCP servers are files placed under `/mnt` with `COPY` (local) or `ADD --remote` (remote); resource, model, network, and lifecycle needs are typed `POLICY` requests. The build (BuildKit frontend or the `agentrc`/`arc` CLI) compiles the Agentfile into an OCI artifact and emits `ai.agentrc.*` labels. The platform reads those labels — never the Agentfile — and grants, narrows, or rejects each request, enforcing the result with Cedar (deny-by-default, `forbid` over `permit`, tightening-only across `FROM`). agentrc is not a runtime, sandbox, model provider, or agent framework. Every page on this site is also available as raw Markdown via the "View Markdown" link in its page actions, or directly from the repository source tree. ## Start here - [What is agentrc?](https://agentrc.ai/docs/what-is-agentrc/): What the Agentfile is, the problem it solves, and why a labels-only platform contract is needed. - [Quickstart](https://agentrc.ai/docs/quickstart/): Write an Agentfile, build it (frontend or `arc`), read its `ai.agentrc.*` labels, push, and run. ## Specification - [agentrc Specification](https://agentrc.ai/spec/): The full 0.1.0-draft.6 working draft — the four keywords, the `/mnt` projection, Agentfile → OCI label translation, platform runtime behaviour, and the platform-side Cedar enforcement model. ## Documentation - [Agentfile](https://agentrc.ai/docs/agentfile/): The Dockerfile-shaped, single-agent declaration format and its four new keywords. - [Security](https://agentrc.ai/docs/security/): Label-based boundaries (network, tools/MCP, devices, sub-agents) and platform-side Cedar enforcement. - [Package model](https://agentrc.ai/docs/package/): The OCI artifact — layers carrying `/mnt` resources, image config carrying `ai.agentrc.*` labels, signing, and `.origin` override. - [Runners](https://agentrc.ai/docs/runners/): What a platform reads (labels) versus what a substrate executes (`CMD`), and the grant/narrow/reject contract. - [Conformance](https://agentrc.ai/docs/conformance/): Profile-based conformance and the adversarial, fail-closed test-suite outline. - [CLI](https://agentrc.ai/cli/): The two build paths — the BuildKit frontend and the native `agentrc`/`arc` CLI. - [Non-goals](https://agentrc.ai/docs/non-goals/): What agentrc deliberately does not define. ## Profiles - [Core](https://agentrc.ai/profiles/core/): The Agentfile core — the four keywords plus the standard Dockerfile keywords, compiled to `ai.agentrc.*` labels and layers. - [Security](https://agentrc.ai/profiles/security/): The platform-side Cedar enforcement profile and the normative request → Cedar mapping. - [OCI Package](https://agentrc.ai/profiles/oci-package/): The `ai.agentrc.*` label namespace, layer layout, media types, and annotations. - [Tool Projection](https://agentrc.ai/profiles/tool-projection/): The `/mnt` projection (`tools/`, `skills/`, `mcp/`, `proc/`, `SOP`) and the tool invocation contract. - [Platform Conformance](https://agentrc.ai/profiles/runner-conformance/): Platform conformance obligations — read labels, grant/narrow/reject, fetch runtime resources, enforce via Cedar, fail closed. ## Examples - [Examples](https://agentrc.ai/examples/): Sample Agentfiles (minimal, secure workspace, code reviewer, vault agent). ## Reference - [Acknowledgements](https://agentrc.ai/acknowledgements/): The open standards agentrc builds on (Agent SOP, microsandbox, MCP, Cedar, Agent Skills, OCI, Sigstore, SLSA, OpenTelemetry, A2A). - [Changelog](https://agentrc.ai/changelog/): Site and spec changelog. - [Source repository](https://github.com/adeelahmad/agentrc): Specification source and reference implementation notes.