About

The pattern is the project.

An open-source, RAG-optimized docs framework on Next.js + MDX. Released early, on purpose.

What it is

doks is a public pattern, not a product. There is no company behind it, no tracking on this site, and no email list to join. It's released under MIT.

The reference is one Next.js repo: the MDX, the ingest script, the search route, and the chat panel all live in one place. Reading the source is the documentation.

The repository lives at github.com/getdoks/doks.

Where it stands

  • Reference Next.js + MDX site
  • <Chunk> authoring + frontmatter pipeline
  • sqlite-vec index + Voyage embeddings
  • /api/docs/search semantic + lexical retrieval
  • Multi-turn streamed chat panel against any provider
  • Provider-agnostic adapter (Anthropic, z.ai, DeepSeek, OpenAI, Gemini, Mistral)
  • Stripped-down starter template

What it costs

Vector database$0.00 · sqlite-vec
Embedding pipeline$0.00 · runs in your build
Backend & query broker$0.00 · one Next.js route
Static / serverless hostingwhat you already pay
Embedding tokens (Voyage)
Per answered question
Fixed monthly nothing.

The name

doks is the way docs gets typed when you're moving fast. Lowercased on purpose; capitalise it when it deserves a name. Either is fine.

License

MIT. Take the repo, ship your docs, leave a footnote if you feel like it. Contributions, issues, and forks all welcome at the repo.

MIT · OPEN SOURCE

Read the source. Fork it. Ship it.

doks is a public pattern, released under MIT. There is no company behind it, no email list to join, and nothing to install beyond a Next.js project. Take it and make your docs answer questions.