# Use Curva with an AI tool

> Give Curva's docs to Claude, Codex, Cursor or any AI coding tool, as one drop-in file, one full file, or Markdown for any page.

Source: https://docs.tarkova.com/curva/use-with-ai/

Give your AI tool the short guide below and it can write working Curva code. Every Python example in that guide was run on a real model before it was published.

## Add the guide to your project

Run one of these in your project folder. Both add to the file if it's already there.

For Claude Code:

```bash
curl -s https://docs.tarkova.com/curva-for-ai.md >> CLAUDE.md
```

For Codex, Cursor and other tools that read `AGENTS.md`:

```bash
curl -s https://docs.tarkova.com/curva-for-ai.md >> AGENTS.md
```

Or paste this into any AI chat:

```text
Read https://docs.tarkova.com/curva-for-ai.md, then use Curva to build this:
```

## What's available

| File | What it's for |
|---|---|
| [curva-for-ai.md](https://docs.tarkova.com/curva-for-ai.md) | The short guide: install, every question type, agents, pictures, documents, errors |
| [llms.txt](https://docs.tarkova.com/llms.txt) | A list of every page with a one-line description |
| [llms-full.txt](https://docs.tarkova.com/llms-full.txt) | Every page in one file, without the use cases |
| [openapi.json](https://docs.tarkova.com/curva/openapi.json) | The HTTP API schema |
| Any page with `.md` | That page as Markdown, for example [how-it-works.md](https://docs.tarkova.com/curva/how-it-works.md) |

Each page also has a **Copy page for AI** button under its title.

## Use Curva from an AI tool

To let an AI tool call Curva itself, rather than write code for it, connect [the MCP server](/curva/guides/mcp/).
