AI agent documentation index: llms.txt. Raw markdown for any page is available by appending .md to the URL. Full content snapshot: llms-full.txt.
llms.txt — complete Cartesi documentation index. Append .md to any page URL for raw Markdown (e.g. /cartesi-rollups/2.0/development/building-an-application.md).
Skip to main content

Overview

AI coding assistants can scaffold, implement, and debug Cartesi applications quickly, but without Cartesi-specific context they often guess CLI flags, mix up v1 and v2 APIs, or invent workflows.

Using the right tools, you get faster iteration-handlers, contracts, and frontends from natural-language prompts-and less context switching, with version-aware CLI commands and doc links inline instead of hunting through tabs. This section gives your assistant structured knowledge and tools to build and ship applications quickly and reliably.

How it works

Multiple pieces work together to learn and build with AIs:

  1. Documentaion: Usage of llms.txt gives your assistant a machine-readable index of all Cartesi docs.
  2. MCP server: Connects your editor to curated Cartesi docs, repos, articles, and skills.
  3. Skills: Loads focused instructions (scaffold, backend, frontend, deploy, debug)
  4. Prompting: Interactive way to put the knowledge and skills of the AI assistant in practice.

Documentation indexing and usage

Cartesi docs publish machine-readable indexes so AI assistants can discover pages and fetch raw Markdown without scraping HTML. Use these files when your client does not have MCP connected, or when you want a lightweight doc dump in context.

Documentation index

Fetch the complete documentation index at: https://docs.cartesi.io/llms.txt

llms.txt lists every indexed page with links to raw Markdown sources, version-priority notes (default to Rollups v2.0), and a documentation map. Agents should read this file first to discover which pages to fetch for a given task.

Per-page Markdown

Any docs page can be fetched as Markdown by appending .md to its URL. For example:

  • Page: https://docs.cartesi.io/cartesi-rollups/2.0/build-with-ai/overview
  • Source: https://docs.cartesi.io/cartesi-rollups/2.0/build-with-ai/overview.md

On any docs page, use the Copy page widget in the table of contents sidebar to copy the page as Markdown, open the .md URL directly, or send the link to ChatGPT, Claude, or Gemini. Use this when you need a single page in context instead of the full corpus.

Full documentation file

If your AI tool does not support MCP yet, you can use a static documentation file instead. This gives your assistant the entire Cartesi documentation corpus as one text file.

Download or reference: https://docs.cartesi.io/llms-full.txt

Setup Static Documentation

Cursor can index external documentation for @docs references in chat.

  1. Open Cursor SettingsIndexing & DocsDocs.
  2. Click Add new doc and paste: https://docs.cartesi.io/llms-full.txt
  3. In chat, reference the docs source (for example @docs → your Cartesi entry) when you want the assistant to ground answers in official documentation.

For live Cartesi-specific tools (CLI commands, skills, repo search), also connect the MCP server.

Alternatively, you can use the Cartesi MCP server to get the latest documentation and skills.

Best Practices

AI-assisted development is powerful, but it is not a substitute for good engineering judgment. Treat every generated command, dependency, and deployment step as untrusted until you understand and verify it.

Security

  • Never paste private keys, mnemonics, or production secrets into prompts. Use testnet keys, local dev accounts, and environment variables your assistant never sees.
  • Review before you run. Agents can propose shell commands, config changes, or contract deployments that look correct but are wrong or harmful. Read diffs and commands before approving them.
  • Audit generated code. Especially for Solidity, wallet flows, and anything that moves funds. AI can miss edge cases, use deprecated APIs, or introduce subtle bugs.
  • Trust your toolchain. Only install MCP servers, skills, and editor plugins from sources you recognize. A malicious plugin or MCP server could exfiltrate files, env vars, or keys from your machine.
  • Limit blast radius. Prefer testnets and disposable wallets for AI-assisted deployment. Do not point agents at mainnet credentials or production infrastructure.

Costs and model quality

  • Free or lightweight models are fine for boilerplate and docs lookup, but they hallucinate more often and struggle with multi-step Cartesi workflows.
  • Frontier models (paid tiers) are usually better at following skills, chaining CLI steps, and debugging but usage-based billing adds up quickly on long agent sessions.
  • Token usage grows fast when you attach large repos, full doc dumps, or long chat histories. Scope context to what the task needs.

Agent access and sandboxing

  • Agents may read and write files, run terminals, and call MCP tools depending on your client settings. Understand what your editor allows before enabling auto-run or broad file access.
  • Use sandboxing where your client supports it: restrict network access, require approval for terminal commands, and avoid giving an agent unrestricted access to your home directory or .env files.
  • The Cartesi MCP server is read-only, but other MCP servers or built-in tools in your client may not be. Review every MCP server you connect.
  • Separate dev from production. Do not run AI agents in directories that contain production keys, customer data, or unreleased IP you cannot afford to leak.

Other limitations

  • Models can still guess. Even with the Cartesi MCP server and skills, assistants may mix API versions, invent flags, or skip steps. Cross-check against official docs.
  • Early-release tooling. Cartesi Skills and the MCP server are evolving; expect gaps, breaking changes, and incomplete coverage.
  • You own the outcome. AI speeds up scaffolding and iteration; shipping safely still requires tests, manual review, and your own deployment discipline.
We use cookies to ensure that we give you the best experience on our website. By using the website, you agree to the use of cookies.