# AI Assistants
Use Polimorf from Cursor, Claude Code, Copilot, and any AI coding assistant — llms.txt, per-page Markdown, and a drop-in rules file.
Source: https://docs.polimorf.app/docs/ai-assistants
Polimorf is built to be integrated _through_ an AI coding assistant. Point your
assistant at the resources below and it will know how to install the SDK,
authenticate, and call the API correctly — without you copy-pasting docs by hand.
## Drop-in rules file
Add [`AGENTS.md`](/AGENTS.md) to your repository. It teaches any assistant the
Polimorf conventions: the `@polimorfapp/sdk` package, the `createClient()`
pattern, running a deployed assistant by slug, streaming, and error handling.
- **Cursor** — save it as `AGENTS.md`, or paste its contents into `.cursorrules`.
- **Claude Code** — paste into your project's `CLAUDE.md`.
- **GitHub Copilot** — paste into `.github/copilot-instructions.md`.
```bash
curl -o AGENTS.md https://docs.polimorf.app/AGENTS.md
```
Your assistant stops guessing API shapes. It uses `client.assistant(slug)` by
default, reads the key from the environment, and handles streaming `error`
events correctly — because the rules file says so.
## llms.txt
The whole documentation is published in the [llms.txt](https://llmstxt.org)
format, so an assistant can load full product context in one fetch:
- [`/llms.txt`](/llms.txt) — an index of every page with links and summaries.
- [`/llms-full.txt`](/llms-full.txt) — the entire docs as a single Markdown file.
Paste either URL into your assistant's chat, or reference it from your rules
file. When it needs details, it fetches the source instead of hallucinating.
## Per-page Markdown
Every docs page has a toolbar at the top with:
- **Copy for LLM** — copies that page as clean Markdown to your clipboard.
- **View as Markdown** — opens the raw Markdown (also fetchable by an assistant).
- **Open in ChatGPT / Claude** — starts a chat pre-loaded with the page URL.
Any page's raw Markdown lives at `/raw` + its path — for example
[`/raw/docs/quickstart`](/raw/docs/quickstart).
## Next steps