Skip to content

AI Agents

Every page of this site exists twice: as HTML for people, and as Markdown for assistants and scripts. An assistant that can fetch a URL can read the whole documentation, the examples and their reference traces from the same pinned source as this site. Nothing here runs a graph or changes a file.

What an assistant can read

AddressContent
/llms.txtWhat Rastok is, a short vocabulary, and every page with its description, in reading order.
/llms-full.txtThe same index followed by the complete Markdown of every page.
<page>.md, such as /getting-started.mdThe Markdown twin of one page. Example pages include their raw graph and reference trace.
/agent-index.jsonThe text of every page and the list of examples, as the visible search uses them.
/examples/<name>.rkgA raw example source from the pinned checkout, such as /examples/echo.rkg.

On Cloudflare, requesting a page’s HTML address with Accept: text/markdown returns its Markdown twin. The plain Astro development server serves the .md files and the indexes; content negotiation runs in the Cloudflare Pages Worker.

A working path, from nothing to a checked program

  1. Discover. Read /llms.txt: what Rastok is, the vocabulary, every page, the specification and the example sources.
  2. Learn the syntax. The normative grammar and the specification chapters are linked from llms.txt at the pinned revision; the Reference pages explain types, expressions, Contracts, Connectors, the Lab and the diagnostics in reading order.
  3. Read a complete program. Each /examples/<name>.rkg is a whole program with its Lab in the same file; start with /examples/echo.rkg, then /examples/webhook-to-partner.rkg for Connectors, Retry and instances.
  4. Write and check. rastok new <name> creates a file with a typed Operator and a Lab; rastok check <file>.rkg compiles it and prints typed diagnostics with their codes, explained in Diagnostics.
  5. Simulate. rastok simulate <file>.rkg runs every Lab scenario and reports PASS or the first difference; --ui opens the debugger. Install the CLI as described in Getting Started.

Point your assistant at it

Give the assistant the address of llms.txt or of one page; it follows the links from there. In Claude Code, Codex or Cursor, fetching the URL is enough, no server or plugin to install.

To write: open your preferred LLM harness or coding agent in an empty directory and give it a specification, for example: “Using https://docs.rastok.com/llms.txt, develop a Rastok application and its Lab that meet the following specification: <your spec>.” The documentation tells it how to check and simulate what it wrote.

To read: “Read https://docs.rastok.com/examples/04-webhook-to-partner.md and explain how the retry is bounded and what the reference trace proves.”

Public access

These addresses are public. They require no login, no token and no account. No graph execution is provided.

Diagram