For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Set up AI coding
AI coding assistants write better MAX code when they can use Modular-provided workflows and search the current docs. Use this page to set yours up:
- Get started: Install the MAX skills and connect the docs MCP server.
- Use docs without MCP: Add
llms.txtfiles to your assistant's context. - Work in the Modular repository: Use the repository's project context files.
Quickstartโ
Install the MAX skills and connect the docs MCP server.
-
Install the MAX skills:
- Claude Code
- Other assistants
/plugin marketplace add modular/skills /plugin install skills@modularnpx skills add modular/skillsThis command requires Node.js.
-
Ask your assistant to connect to the docs MCP server:
Add the MAX docs MCP server at https://mcp.modular.com/mcp/ and verify it by searching the docs.The server gives your assistant live access to the nightly MAX docs.
-
Start a new session and try a prompt like this:
Create a new project with MAX installed, then serve a small LLM with an OpenAI-compatible endpoint.
Your assistant now follows Modular's workflows and checks the current docs while it writes code.
Writing kernels with Mojo? The skills plugin also includes the Mojo skills.
You can find a list of all the skills and usage examples in the Modular skills
repository.
Provide documentation without MCPโ
If your coding assistant doesn't support MCP, you can give MAX docs as context
with our llms.txt files. These plain-text files follow the
llms.txt proposed standard.
The following table lists the available files.
| File | Contents | Best for |
|---|---|---|
| llms.txt | Compact index linking to segment files | Starting point for all agents |
| llms-max-guides.txt | MAX guides (develop, serve, deploy) | Application development |
| llms-python.txt | MAX Python API indexes | Python-based MAX development |
| llms-accelerator-api.txt | MAX accelerator library API indexes | Kernel and GPU development |
| llms-c-api.txt | MAX C API reference | C API integration |
| mojolang.org/llms.txt | Mojo language docs (external) | Mojo development |
Ask your coding assistant to fetch the llms.txt files:
Read https://max.modular.com/llms-python.txt for MAX Python API documentationUse AI agents in the Modular repositoryโ
This section is for contributors who work in a clone of the Modular repository.
The repository includes two project context files that tell your assistant how
to work in the codebase: CLAUDE.md and AGENTS.md (which is a symlink to
CLAUDE.md). When you work in the repository, your assistant picks up the
following context from those project files:
- Build and test commands
- Project architecture overview
- Coding conventions and commit message guidelines
- Common development workflows
If your assistant doesn't load either file automatically, ask it to read
AGENTS.md before you start.