autodocs
AI-powered documentation generator — no API keys required
autodocs
AI-powered documentation generator. Reads your source code, writes MDX docs, and serves them with a beautiful docs site — no API keys required.
Uses the AI CLI tools you already have installed (Claude Code, Codex, or Gemini CLI) via your existing subscription.
Quick start
npx @cueframe/autodocs init
npx @cueframe/autodocs generate
npx @cueframe/autodocs devThree commands to go from source code to a live documentation site:
init— createsautodocs.config.jsonand adocs/directory with starter filesgenerate— spawns your AI CLI to read source code and write MDX documentationdev— starts a local preview athttp://localhost:3000build— builds the docs site for production deploymentdeploy— builds and deploys to Vercel in one step
Features
- Incremental generation — only regenerates docs when source file contents change (tracked via SHA-256 content hashing)
- Full-text search — built-in search powered by Fumadocs
- Dark mode — automatic light/dark theme switching
- OG images — auto-generated social preview images for every page
- LLM routes —
/llms.txtand/llms-full.txtfor AI consumption - 11 themes — choose from Fumadocs built-in color themes
- Any AI CLI — works with Claude Code, Codex, or Gemini CLI
- One-command deploy — build and deploy to Vercel with
autodocs deploy - Programmable — use as a library in your own build scripts via the programmatic API
Prerequisites
Node.js 18 or later, plus at least one AI CLI:
| CLI | Install |
|---|---|
| Claude Code | npm install -g @anthropic-ai/claude-code |
| Codex | npm install -g @openai/codex |
| Gemini CLI | npm install -g @google/gemini-cli |
Next steps
- Getting started — installation and first run
- Configuration — customize output, themes, and glob patterns
- How it works — architecture, change detection, and the rendering pipeline
- Programmatic API — use autodocs as a library