What this is
When your coding agent needs to integrate Morph, it needs to know the API format, tool definitions, and best practices. The llms.txt file contains all of this in a single document (~5k tokens) that fits in any model’s context window. For the full unabridged docs (every page), see llms-full.txt.How to use it
Option 1: Add to your project config
Paste the contents of llms.txt into your project’s agent configuration:- Claude Code: Add to your project’s
CLAUDE.md - Cursor: Add to
.cursorrulesor Settings → Rules for AI - Codex: Add to
AGENTS.md - Custom agent: Include in your system prompt
Option 2: Fetch at runtime
What’s included
The llms.txt file covers every Morph product with working code examples:- Fast Apply: The
<instruction>/<code>/<update>format, models, TypeScript/Python/cURL examples - Compact: Compression API, query parameter, keepContext tags, native + OpenAI-compatible formats
- WarpGrep: Multi-turn search protocol, built-in tools, repo structure format
- Model Router: Prompt complexity classification, provider model mapping
- Fast Models: Open-weight model catalog with pricing
- Agent Tools: Copy-paste
edit_fileandcodebase_searchJSON schemas - MCP Server: Zero-config setup for Claude Code, Cursor, Windsurf
- Authentication: API key usage
The curated file is ~5k tokens. The auto-generated llms-full.txt contains every docs page unabridged.
Next steps
MCP Integration
Zero-config integration for Claude Code, Cursor, Codex
SDK Quickstart
Code examples for TypeScript and Python