# Docs for agents

Learn how Komo developer documentation is exposed for AI agents.

Komo developer documentation is available in agent-friendly Markdown formats. These endpoints reduce page chrome and make it easier for AI tools to read only documentation content.

## Available endpoints

| Endpoint                                                 | Description                                                                   |
| -------------------------------------------------------- | ----------------------------------------------------------------------------- |
| [`/llms.txt`](/llms.txt)                                 | Index of available documentation sections and pages.                          |
| [`/llms-full.txt`](/llms-full.txt)                       | Full current documentation set in one text file.                              |
| [`/embedding/llms.txt`](/embedding/llms.txt)             | Section index for Embed SDK pages. Replace `embedding` with any section path. |
| [`/embedding/llms-full.txt`](/embedding/llms-full.txt)   | Full current Embed SDK section in one text file.                              |
| [`/docs-for-agents/index.md`](/docs-for-agents/index.md) | Markdown version of this page. Replace `docs-for-agents` with any page path.  |
| [`/index.md`](/index.md)                                 | Markdown version of the documentation home page.                              |

## Copy from the current page

On any documentation page, use **Copy as Markdown** in the Agents Toolkit to copy that page's Markdown version to your clipboard. The browser page URL, such as `/docs-for-agents/`, serves HTML. The Markdown version is served from that page's `index.md` URL.

## Recommended agent workflow

1. Fetch `/llms.txt` to discover available documentation sections.
2. Fetch the section `llms.txt` file that matches the task.
3. Fetch only the `index.md` files relevant to the task.
4. Use a section `llms-full.txt` file when broad context is more useful than a narrow page set.

The Markdown output is generated from the same MDX source as the docs site. It preserves headings, prose, code blocks, tables, and links while removing frontmatter and local component imports.
