URL: https://wattfare.com/docs/ai/llms-txt
# Docs for LLMs

> Every page of these docs is published as plain text following the llms.txt standard — optimised for AI coding assistants and autonomous agents that want structured content without the HTML.

HTML is for humans. When an AI assistant reads documentation it wants clean, predictable text — so alongside this site we publish the same content as Markdown, indexed the way agents expect. The files below are generated from these exact pages on every build, so they're always in sync.

## Available files

| File | URL | Best for |
| --- | --- | --- |
| **Index** `llms.txt` | [`wattfare.com/llms.txt`](https://wattfare.com/llms.txt) | Agents that discover and fetch only the pages they need |
| **Full docs** `llms-full.txt` | [`wattfare.com/llms-full.txt`](https://wattfare.com/llms-full.txt) | One-shot context loading — every page in a single file |

### Per-page Markdown

Every documentation page also has its own Markdown file at a predictable URL — just append `.md` to the page's path:

```bash
https://wattfare.com/docs/<page>.md

# examples
https://wattfare.com/docs.md                  # Introduction
https://wattfare.com/docs/quickstart.md        # Quickstart
https://wattfare.com/docs/server-sdk.md        # Server SDK
https://wattfare.com/docs/guides/nextjs.md     # Next.js guide
```

Each file starts with a `URL:` line naming its canonical source, so an agent always knows where the content came from even when it's cached or passed out of context. The complete list lives in [`llms.txt`](https://wattfare.com/llms.txt).

## How to use them

### Cursor, Windsurf & Copilot

Add the index URL as a documentation source in your editor's AI settings:

```bash
https://wattfare.com/llms.txt
```

Your editor fetches the index and pulls the relevant pages into context as you work — no manual copy-pasting.

### Claude & ChatGPT

Paste the full documentation straight into the conversation or a system prompt:

```bash
# Full context in one paste:
https://wattfare.com/llms-full.txt

# …or let an agent fetch only what it needs from the index:
https://wattfare.com/llms.txt
```

### Autonomous agents

Agents can discover everything by fetching `llms.txt` first, then requesting only the individual `.md` files they need. The leading `URL:` line keeps the source canonical:

```text
URL: https://wattfare.com/docs/quickstart.md
# Quickstart

> From zero to a working "Connect AI budget" button in about five minutes.
...
```

## Autodiscovery

Every page on this site advertises the index and its own Markdown twin in the HTML `<head>`, so crawlers and browser-level agents can find them without knowing the URLs in advance:

```html
<link rel="llms" href="https://wattfare.com/llms.txt" />
<link rel="alternate" type="text/markdown" href="/docs/quickstart.md" />
```

> **Always in sync**
>
> These files are regenerated from the live docs on every build. Update a page and its `.md`, the index, and the full dump all change with it — there's no separate content to maintain.

## Related

- [Prompts & AI editors](https://wattfare.com/docs/ai) — Copy-paste prompts that turn this content into a finished integration.
- [Quickstart](https://wattfare.com/docs/quickstart) — The five-step manual walkthrough, if you'd rather drive yourself.
- [HTTP API](https://wattfare.com/docs/api-reference) — The raw endpoints, for agents wiring Wattfare into a custom stack.
