# For agents

> What llms.txt and the Markdown version of each page hold, and how to point a coding agent at them.

- Describes: @nyxon/nasim unreleased, after 0.12.0
- Page: https://nasim.nyxon.tech/docs/get-started/agents

Every page of these docs exists twice: the page you are reading, and a Markdown file an agent can read
whole. Both are built from the same files in the library, so they say the same thing.

## llms.txt [#llmstxt]

[`/llms.txt`](/llms.txt) follows the [llms.txt](https://llmstxt.org) convention. It holds:

* what Nasim is, and the version of `@nyxon/nasim` the pages describe;
* the rules a screen must keep (import only from `@nyxon/nasim`, copy as props, tokens, logical layout,
  one theme controller), said once before the links;
* one section per group of these docs, each page as a link to its Markdown with its one-line
  description.

## A page as Markdown [#a-page-as-markdown]

Each page's Markdown is at `/llms.mdx/docs/<page>.md`, the page's address with that prefix and `.md` at
the end. Every page has the **Copy Markdown** button and the **Open** menu under its title, which copy it
or hand it to a chat assistant.

A part's Markdown starts with its import line, whether a Server Component can render it, the version
it appeared in and its source file. Its body holds what the page shows, as text: the code of every
example (the same file the preview renders), the props table generated from the type, the rules and the
accessibility notes. An agent that reads it needs nothing else from the page.

## Pointing an agent at it [#pointing-an-agent-at-it]

Give the agent `llms.txt` and let it follow the links it needs. In a repository, one line in the file the
agent reads first (`AGENTS.md`, `CLAUDE.md`, `.cursor/rules`) is enough:

```md title="AGENTS.md"
UI comes from @nyxon/nasim. Before writing a screen, read https://nasim.nyxon.tech/llms.txt and the
page of every part you use; follow its rules.
```

For one task, paste a page's Markdown (**Copy Markdown**) into the conversation, or give the agent the
page's `.md` address.