---
title: Agents
description: Build editors with coding agents using version-matched package docs, skills, and shadcn MCP, or connect runtime AI agents to your editor.
---
Plate supports two agent workflows: coding agents that build and maintain your editor against the installed package version, and runtime AI agents that read and draft edits inside a running editor.
## Build with a coding agent
Copy a setup prompt for your stack. It installs Plate, writes an `AGENTS.md` pointer to the version-matched docs inside `node_modules`, adds the `plate` skill, and verifies the build:
Follow up with a small check you can test in the browser immediately:
```text
Add an /editor page with headings, bold and italic shortcuts, and a / slash menu using the installed Plate setup. Run the project typecheck and build, then verify in the browser that typing "# Title", toggling bold with Cmd/Ctrl+B, and opening "/" all work.
```
### Point `AGENTS.md` at installed docs
Every `platejs` release packs its Markdown documentation inside `node_modules/platejs/dist/docs/`. Add this block to your app's `AGENTS.md`, or the rules file your coding tool reads:
```md prompt
This app uses Plate (`platejs`), whose API differs from older versions you
may remember. Before you write editor code, read
`node_modules/platejs/dist/docs/llms.txt` and the pages it lists. They match
the installed version.
```
`llms.txt` names the installed `platejs` version and lists every packaged page with its description. A `/docs/` link inside a page resolves to `.md` in `node_modules/platejs/dist/docs/` when `llms.txt` lists it. In a monorepo, point the block at the `node_modules` folder where your app resolves `platejs`.
### Install the `plate` skill
The `plate` skill teaches coding agents Plate workflows across setup, custom plugins, copied UI sync, AI tools, browser testing, and bug reports. Install it from GitHub, via well-known site discovery, or sync it from `node_modules/platejs/dist/skills/plate/`:
```bash
npx skills add udecode/plate --skill plate
```
See [Skills](/docs/agents/skills) for well-known site installs and the included reference guides.
### Registry MCP and Markdown endpoints
Pick the smallest surface that covers your task instead of loading the entire documentation site into context:
| Surface | When to use |
| --- | --- |
| `node_modules/platejs/dist/docs/llms.txt` | Default in an installed repo. Version-matched local index and Markdown pages. |
| `/llms.txt` | Remote single-shot orientation: core loop, section bundles, `.md` URLs, and every `@plate/` install command. |
| `/llms-agents.txt`, `/llms-guides.txt`, `/llms-plugins.txt` | Section bundles for reading one whole lane in a single fetch. |
| `/docs/.md` (or `Accept: text/markdown`) | Targeted single-page Markdown for any guide, plugin, component, or example. |
| `/registry/changelog/index.json` & `components.json` | Machine-readable Plate UI update history for merging upstream copied UI changes safely. |
Use [MCP Server](/docs/agents/mcp) to give coding tools direct access to `@plate` registry items, kits, and examples via the shadcn MCP server.
## Connect a runtime agent to your editor
Plate includes headless editor tools, streaming draft sessions, server-side sync agents, and WebMCP registration in `platejs/ai` so agents can inspect documents and propose reviewable edits inside your app.