Give these to a coding assistant, an agent or a chat model so it answers from the current documentation and follows each repository’s rules.

Files for models

The files follow the llms.txt convention and are rebuilt from the page sources on every deploy. The menu next to each page title also has Copy page (Markdown), View as Markdown, Open in ChatGPT and Open in Claude. The API reference is generated from the Python docstrings and the TSDoc of x402-avm-js, so a model reading it sees the same signatures and parameter descriptions as the source. Each reference page links to the exact source line.

AGENTS.md files

AGENTS.md is a Markdown file at the root of a repository that tells coding agents how to work on it: setup, tests, conventions, and what never to do. Every repository in the x402-avm organization has one. An agent should read the file of the repository it works on first; it takes precedence over the organization-wide one. The hub file maps tasks to repositories (sell MCP tools: ai-economy-sdk; add Algorand to an x402 SDK server or client: x402-algorand; pay from a browser or Node: x402-avm-js). It also has a hub llms.txt.

Test modes

All packages use the same three tiers; each package’s README and AGENTS.md say which it supports.

Conventions every agent follows

  • Use CAIP-2 network ids (algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k, algorand:SGO1GKSzyE7IEPItTxCByw9x8FmnrCDe); do not hand-write the 44-character form in new code.
  • Amounts are integers in base units; USDC has 6 decimals (MainNet 31566704, TestNet 10458941).
  • Never commit private keys, mnemonics or tokens; read them from the environment.
  • Never send a MainNet transaction from a test. Settle on LocalNet; use PUBLIC_NETS=1 simulation for public networks.
  • Tests must not depend on local paths or pre-existing accounts; LocalNet tests fund fresh accounts from the KMD dispenser.
  • Documentation uses plain, precise language, without marketing terms or emojis.