Docs prepared
for agents.

Dewey audits your docs, generates agent-readable artifacts, and can publish the same source as a static site when that helps.

$ bun add @arach/dewey
~/my-project
$ bunx dewey init
→ Created docs/overview.md
→ Created dewey.config.ts
$ bunx dewey generate
→ AGENTS.md
→ llms.txt
→ agent/manifest.json
→ agent/context.md
$ bunx dewey audit
Score: 92/100 — Grade: A
✓ AGENTS.md present
✓ llms.txt present

Prepare docs once.
Expose them everywhere.

Docs Agent

Use Dewey to inspect project docs, encode rules, and keep agent-facing context close to the code.

Learn more

Retrieval Surface

Export manifests, raw markdown, prompt registries, and context bundles under stable /agent/ URLs.

Learn more

Standard Files

Generate AGENTS.md, llms.txt, docs.json, and install.md without committing to a presentation framework.

Learn more

Optional Publishing

When you do want a human site, Dewey can scaffold one from the same markdown source.

Learn more

Agent retrieval
surface.

agent/manifest.json

Discovery index for docs, prompts, bundles, and raw markdown endpoints.

agent/docs.json

Structured manifest with markdown bodies for tools that want one JSON payload.

agent/context.md

Compact markdown bundle for agents that want the useful context immediately.

Same docs.
Better surfaces.

Markdown for people, dense artifacts for agents, an optional site when you need one.

Read the Quickstart

dewey

Documentation toolkit for preparing agent-ready docs, retrieval artifacts, and optional static sites.

Retrieval artifacts

agent/manifest.json

Discovery index for docs, prompts, bundles, and raw markdown endpoints.

raw

agent/docs.json

Full structured docs manifest with markdown bodies.

raw

agent/context.md

Compact markdown context bundle for quick ingestion.

raw

Standard files

AGENTS.md

Combined docs with critical context, entry points, and navigation rules for AI coding assistants.

view

llms.txt

Plain text format following the llms.txt convention for broad LLM compatibility.

view

install.md

LLM-executable installation guide following the installmd.org specification.

view

CLI commands

dewey init

Scaffold a docs/ folder with starter templates and dewey.config.ts.

dewey generate

Generate standard files and the /agent/ retrieval surface from your docs.

dewey create

Optional: publish the same markdown as a static docs site.

dewey audit

Score agent-readiness against a 100-point rubric with grades and recommendations.

$ bun add @arach/dewey