Docs for 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

EndpointDescription
/llms.txtIndex of available documentation sections and pages.
/llms-full.txtFull current documentation set in one text file.
/embedding/llms.txtSection index for Embed SDK pages. Replace embedding with any section path.
/embedding/llms-full.txtFull current Embed SDK section in one text file.
/docs-for-agents/index.mdMarkdown version of this page. Replace docs-for-agents with any page path.
/index.mdMarkdown 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.

  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.