---
title: AI / LLMs
description: Give coding agents Proa UI documentation and reviewed public source as Markdown context.
sidebar_title: AI / LLMs
---

Proa UI serves its documentation, component pages, and block pages as Markdown,
so a coding agent can read the catalog without executing browser JavaScript.
Use the full corpus for broad source access or fetch one page when the task is
focused.

## Fetching the full corpus

Use `/llms-full.txt` to download the complete Proa UI context in one request:

```bash
curl https://ui.proa.so/llms-full.txt > proa-ui-context.txt
```

The corpus contains every visible docs page, every component page, and every
block page. Free component and block entries include all reviewed public Rust
source exposed by the catalog. Pro entries include their public API, examples,
and licensing guidance without exposing proprietary source.

Feed the file to a coding agent, retrieval pipeline, or local search index when
it needs to work across the full library.

## Fetching one page

Every docs, component, and block detail page has a Markdown twin:

```bash
curl https://ui.proa.so/docs/composition.md
curl https://ui.proa.so/components/button.md
curl https://ui.proa.so/blocks/login.md
```

Component and block Markdown includes metadata, usage guidance, and reviewed
public source when the item is Free. Start here for most tasks; focused context
is faster to search and leaves more room for the agent's work.

## Fetching one source file

Free source files are also available as plain text from their source routes:

```bash
curl 'https://ui.proa.so/components/button/source/recipe.rs?raw=1'
curl 'https://ui.proa.so/blocks/login/source/login.rs?raw=1'
```

Use a raw route when the agent needs one exact implementation file. Use the
page's `.md` route when it also needs the component contract and examples.

## Choosing context

| Task | Start with |
|------|------------|
| Build with one component | `/components/<slug>.md` |
| Adapt a full composition | `/blocks/<slug>.md` |
| Understand composition patterns | `/docs/composition.md` and `/docs/api-reference.md` |
| Add browser behavior | `/docs/interactivity.md` plus the component page |
| Search across the full public library | `/llms-full.txt` |

Add the full corpus only when the task crosses several components or blocks.

## Source and licensing boundary

The AI endpoints follow the same fail-closed source registry as the visible
catalog. Free source is published under MIT OR Apache-2.0. Pro source is never
placed in a public Markdown or text endpoint; use the source delivered under
your Proa UI Pro agreement from the licensed repository or registry.

## Stable output

The full corpus is generated from compiled docs and catalog registries. Page
titles, canonical routes, descriptions, Markdown, and reviewed source stay in
one predictable plain-text format, while navigation chrome and client scripts
stay out of the response.
