You're viewing v1 docs. The current version is v2.

Get started with doxa in four simple steps.

1

Install doxa

Install the doxa CLI globally or use it via npx:

npm install -g doxa # or use pnpm pnpm install -g doxa
2

Create a new docs project

Scaffold a new documentation site:

doxa new my-docs cd my-docs
3

Start the dev server

Launch the live development server:

doxa dev

Your docs will be available at http://localhost:3000

4

Generate docs with the AI agent

Run the OpenCode-powered agent to create or improve pages in place:

doxa agent "Add an authentication guide"

It edits your .mdx files directly. The free model is used by default; add --model claude for higher quality (needs ANTHROPIC_API_KEY).

Run doxa with no arguments to see all available commands and options.