Documentation thatjust works with
Write MDX once. Ship docs for people, with Ask AI, MCP, and llms.txt built in for agents.
pnpm dlx @farming-labs/docs init- Next.js
- TanStack Start
- Farm.js
- SvelteKit
- Astro
- Nuxt

Powering docs for 100+ teams building with AI
- assistant-ui
- Hoplite
- Farm.js
- lim.run
- ScholarXIV
- 100+more teams
Ask AI
Cited answers from your MDX.
MCP is on by default: search_docs and read_page at /mcp [1]
Every page also answers at its .md URL [2]
Search that fits your stack
Built-in, Typesense, Algolia, or MCP.
Pages
Ask AI
Readable by agents
Every page at a .md URL.
$ curl acme.dev/docs/quickstart.md# Quickstart> Install the CLI, then run init. ## 1. Install```bashpnpm dlx @farming-labs/docs init```200 · text/markdown · 1.8 kBHand any page to an LLM
Open in ChatGPT, Claude, or Cursor.
Configuration
Every option in docs.config.ts
OpenAPI reference
Request console and typed SDKs.
{
"id": "prj_8f2a1c",
"name": "Acme Docs",
"members": ["ada"]
}One source, every reader.
Markdown, llms.txt, MCP, and discovery files from the same MDX.
Presets or createTheme().
Generated from your content.
Docs, search, AI, and MCP events.
Release notes from MDX, built in.
init scaffolds everything.
Static or dynamic, per page.
Locales and localized navigation.
Send it anywhere with onFeedback().
Runs on the framework you already use.
- Next.js
One withDocs() wrapper in next.config.
- TanStack Start
A Vite plugin and a docs server.
- Farm.js
Built-in adapter, edge-ready builds.
- SvelteKit
createDocsServer() for load and routes.
- Astro
Server helpers and one middleware.
- Nuxt
One defineDocsHandler() via Nitro.
pnpm exec docs devAlready have docs? Bring them with you.
Move content, navigation, assets, and existing URLs from your current platform. Each guide is agent-readable, so your assistant can run it.
Up and running in one command.
The CLI detects your framework and writes every file for you.
pnpm dlx @farming-labs/docs initimport { defineDocs } from "@farming-labs/docs";import { pixelBorder } from "@farming-labs/theme/pixel-border";export default defineDocs({ entry: "docs", theme: pixelBorder(), ai: { enabled: true }, metadata: { titleTemplate: "%s – Acme Docs" },});Pick a look.
Twelve presets, or build your own with createTheme().
theme/pixel-border/csstheme/default/csstheme/darksharp/csstheme/colorful/csstheme/shiny/csstheme/ledger/csstheme/shadcn/csstheme/darkbold/csstheme/greentree/csstheme/hardline/csstheme/concrete/csstheme/command-grid/cssYou ship the code. Cloud writes the docs.
Git-backed editing, AI drafts, managed search, and one-command deploys.
$ pnpm dlx @farming-labs/docs deploy✓ Synced repo graph · 842 sections✓ Drafted 3 pages from merged PRs✓ Opened a draft PR for review✓ Indexed search · Ask AI readyProduction: https://acme.docs.app