Skip to main content

AI Agent Integration

This documentation is built to be read by AI agents, LLM-based tools and developer assistants, not only by people. Three resources make that possible:

  • A plain Markdown version of every page.
  • An llms.txt index for each language, which maps the whole site.
  • A page actions bar at the top of each page, which sends the page to an assistant in one click.

Markdown version of each page​

Add .md to the end of any page URL in your browser or HTTP client:

Page URLMarkdown URL
/developers/api-reference/post-processes/developers/api-reference/post-processes.md
/products/sign-up/multi-accounts/products/sign-up/multi-accounts.md
/capabilities/liveness/capabilities/liveness.md
/pt-BR/capabilities/liveness/pt-BR/capabilities/liveness.md

The response is the Markdown content of the page, with no navigation, sidebar or HTML wrapper. Each language has its own Markdown version, under the same language prefix as the page.

The llms.txt index​

Each language has an llms.txt file, in the llms.txt format:

LanguageIndex URL
English/llms.txt
Portuguese (Brazil)/pt-BR/llms.txt
Spanish/es/llms.txt

Every other language follows the same pattern: the language prefix of its pages, then /llms.txt.

The file mirrors the site navigation:

  • One section for each tab of the top navigation bar. The Dual API tabs come after them, each one labeled with the tab name followed by (Dual API).
  • The sidebar of each tab as nested lists, in the same order as the site.
  • A link to the Markdown version of each page, followed by the page description when the page has one.

An agent can start from the llms.txt of the reader's language to learn how the documentation is organized. Then it opens only the Markdown pages it needs.

Page actions​

Every documentation page, except the home page, has a bar of actions under its title:

  • Copy page — copies the Markdown of the page to the clipboard.
  • Markdown — opens the Markdown version of the page in a new tab.
  • Open in — opens the page in an AI assistant: ChatGPT, Claude, Gemini, Perplexity, Grok or Copilot. The assistant receives a prompt with the Markdown URL of the page. For Gemini and Copilot, the prompt is copied to the clipboard, and you paste it into the chat.
  • Copy Markdown URL — copies the absolute URL of the Markdown version, to paste into coding agents such as Cursor, Codex or Claude Code.

On desktop, Copy page, Markdown, ChatGPT and Claude are buttons on the bar, and the other actions are under More. On mobile, the other actions are in the menu that the arrow next to Copy page opens.

Automatic discovery​

The HTML of every page declares both resources in its <head>, so an agent that visits any page can find them without instructions:

<link rel="alternate" type="text/markdown" href="/capabilities/liveness.md">
<link rel="llms-txt" href="/llms.txt">
  • rel="alternate" points to the Markdown version of the current page.
  • rel="llms-txt" points to the llms.txt of the page language.

Use cases​

  • AI coding assistants — give your assistant the llms.txt or a .md URL, so it works with accurate, up-to-date context about an endpoint, capability or use case.
  • LLM prompts — fetch a page as Markdown and include it in a prompt for summarization, translation or code generation.
  • RAG pipelines — use the llms.txt as the list of sources, and the .md URLs as the ingestion source for retrieval-augmented generation systems.
  • Automated scripts — parse documentation content without an HTML scraper.

Examples​

Fetch the index of the English documentation:

curl https://developer.unico.io/llms.txt

Fetch the Markdown version of the Authentication page:

curl https://developer.unico.io/dual-api/developers/api-reference/authentication.md

Both responses are plain text, ready to be fed into any LLM or processing pipeline.