# For agents

The files an agent reads to learn the Werklist brand guidelines, and where to fetch them.

* Kind: resource
* Page: https://design.werklist.com/resources/agents
* Version: 2.1.2

## When to use it

* Fetch /llms.txt first to find a page and its text twin.
* Fetch the JSON object of a component before building a screen with it.

## When not to use it

* Reading the page for people when its text twin exists.

## Rules

* /llms.txt lists every page, its text twin and the token files.
* /agent/<section>/<page> answers the text twin of a page as text/markdown.
* /agent/<section>/<page>.json answers the object of a page as JSON.
* /agent/index.json answers the objects of all pages.
* Each page links to its text twin with a link element of type text/markdown.
* Choose Agent in the selector at the bottom of a page to read that page as an agent does.
* The URL parameter view=agent opens a page in the agent view and wins over the saved choice.
* The design tokens as JSON are at /tokens/werklist-tokens.json.
* The object of a page has the fields title, path, url, text, summary, version, kind, name and purpose, then those the page needs among use, avoid, anatomy, variants, sizes, states, keys, accessibility, content, tokens and rules.
* The object of a component lists its parts with their measures, its variants and sizes, its states with their tokens, its keys and what it needs for accessibility.
