# REP for AI Agents — Integration Playbook > A single-page, machine-readable playbook for AI coding agents integrating REP. Decision tree, install matrix, copy-paste recipes for SDK, Docker, Kubernetes, and every framework, plus the mistakes that break a REP setup. Source: https://rep-protocol.dev/agents/ This page is written for AI coding agents. It is dense on purpose: everything needed to integrate REP into an application correctly, without reading the rest of the site. Every page on this site is also available as plain-text Markdown by appending `.md` to its path — for example [`/reference/sdk.md`](/reference/sdk.md). A machine-readable index of all pages lives at [`/llms.txt`](/llms.txt), and the entire documentation set concatenated into one file at [`/llms-full.txt`](/llms-full.txt). ## What REP is REP (Runtime Environment Protocol) moves frontend environment variables from **build time** to **container runtime**. Instead of `import.meta.env.VITE_API_URL` being replaced with a literal string during `npm run build`, a small Go gateway reads `REP_*` environment variables when the container starts and injects them into every HTML response as an inert `' # 3. No secret-shaped literal survived in the bundle npx @rep-protocol/cli lint --dir ./dist --strict # 4. The manifest, if present, is valid npx @rep-protocol/cli validate ``` 5. In the browser console, `rep.verify()` returns `true` and `rep.meta()` reports the expected `publicCount`. ## Source of truth When this page is not enough, these are the pages to read next — each is available as `.md`: - [Quick Start](/quick-start.md) — the five-minute path - [How REP Works](/concepts/how-it-works.md) — startup sequence and injection mechanics - [Variable Classification](/concepts/variable-classification.md) — tier rules and guardrail internals - [Security Model](/concepts/security-model.md) — threat analyses and hardening - [Wire Format](/concepts/wire-format.md) — payload JSON, encrypted blob layout, HMAC - [SDK API](/reference/sdk.md) — full client reference - [Gateway Flags](/reference/gateway-flags.md) and [Endpoints](/reference/gateway-endpoints.md) - [REP-RFC-0001](/spec/rfc-0001.md) — the normative specification - [Conformance](/spec/conformance.md) — what an alternative implementation must satisfy Machine-readable indexes: [`/llms.txt`](/llms.txt) · [`/llms-full.txt`](/llms-full.txt) · [payload schema](/schema/rep-payload.schema.json) · [manifest schema](/schema/rep-manifest.schema.json)