---
title: "Build with AI"
description: "Give any AI coding model the Clank documentation and a clear integration brief."
---

> Documentation Index
> Fetch the complete documentation index at: https://developer.clank.trade/llms.txt
> Use this file to discover all available pages before exploring further.

# Build with AI

Clank's documentation is available as model-friendly Markdown. Describe what
you want to build, copy the prompt below into your preferred coding model, and
let it read the current docs before it writes code.

## Give your model this prompt

Replace the first placeholder with your app, bot, or integration idea, then
copy the whole prompt.

> **Works with any model that can read a URL**
>
> If your model cannot browse the web, download or copy
> [`llms-full.txt`](https://developer.clank.trade/llms-full.txt) and attach it
> to the conversation with the prompt.

## Choose the right docs feed

- **Complete context** — Use [`llms-full.txt`](https://developer.clank.trade/llms-full.txt) when the
model should build an entire integration from one document.
- **Documentation index** — Use [`llms.txt`](https://developer.clank.trade/llms.txt) when the model can
browse links and should load only the pages relevant to the task.

Every documentation page also has a Markdown version. Add `/index.md` to a page
path—for example,
[`/quickstart/index.md`](https://developer.clank.trade/quickstart/index.md)—when
the model only needs one focused guide.

## Review before shipping

AI-generated transaction code still needs human review. Confirm that it uses
the documented chain and current contracts, checks the curve state, applies
slippage protection, simulates writes, and handles wallet rejection and
reverted transactions.

Source: https://developer.clank.trade/build-with-ai/index.mdx
