autodocs

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 dev

Three commands to go from source code to a live documentation site:

  1. init — creates autodocs.config.json and a docs/ directory with starter files
  2. generate — spawns your AI CLI to read source code and write MDX documentation
  3. dev — starts a local preview at http://localhost:3000
  4. build — builds the docs site for production deployment
  5. deploy — 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.txt and /llms-full.txt for 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:

CLIInstall
Claude Codenpm install -g @anthropic-ai/claude-code
Codexnpm install -g @openai/codex
Gemini CLInpm install -g @google/gemini-cli

Next steps

On this page