# AI assistants (https://divplate.com/docs/ai-assistants)



Once you are [set up](https://divplate.com/docs/getting-started#with-an-agent), tell your agent
what you want. Broad or precise, both work:

* "Build a landing page for my app."
* "Use Hero 12 with Navbar 07 and Logos 04."
* "Add grid lines to the page and make it dark."
* "Swap the pricing for one with a monthly and yearly switch."

Every block in the [library](https://divplate.com/library/blocks) has an **Install** button with
the command that adds it. Paste it to your agent or run it yourself.

Your agent never needs your license key in the chat.

## Install, do not copy [#installing-not-rebuilding]

If your agent starts writing a block from scratch, stop it and ask it to
install the block. An installed block comes with its phone layout and
accessibility done. A copy from a screenshot usually loses both.

## New sections [#agents-md]

Your first install adds `components/blocks/AGENTS.md`. It tells your agent how
the blocks are built, so what it writes on its own fits in. Most agents read it
automatically. If yours only reads the `AGENTS.md` at the root of your project,
add this line there:

```md
Read components/blocks/AGENTS.md before editing components/blocks.
```

## Searching the library [#connecting]

Optional. Run this once and your agent can search and preview blocks on its
own:

```bash
npx shadcn@4.21.4 mcp init --client claude
```

For another agent, use `cursor`, `codex`, `vscode` or `opencode` instead of
`claude`, then restart it.

## Agents that cannot run commands [#without-mcp]

They can still read the library at these addresses. No key needed.

* `https://divplate.com/llms.txt`: what Divplate is and how to install it
* `https://divplate.com/r/registry-index.json`: every category
* `https://divplate.com/r/registry-faq.json`: one category, one line per block
* `https://divplate.com/llms-full.txt`: all the docs in one file
