Preview

Getting Started

Welcome to Dewey — a documentation toolkit that makes your docs AI-agent-ready. Audit, score, and generate optimized documentation for LLM consumption.

Installation

Install the package using your preferred package manager:

bash
npm install -D @arach/dewey

Or with pnpm:

bash
pnpm add -D @arach/dewey

Quick Setup

Initialize your documentation structure:

bash
npx dewey init

This creates a docs/ folder and a dewey.config.ts file:

typescript
import { defineConfig } from '@arach/dewey'

export default defineConfig({
  name: 'my-project',
  docs: './docs',
  output: {
    agentsMd: true,
    llmsTxt: true,
    installMd: true,
  },
})

Note: Run dewey generate after writing your docs to create agent-ready output files.

Core Concepts

Dewey is built around three key ideas:

  1. Agent Content Pattern — Each page has human (.md) and agent (.agent.md) versions
  2. Skills System — LLM prompts that guide AI agents through specific tasks
  3. install.md Standard — LLM-executable install instructions following the installmd.org spec

CLI Commands

Dewey provides these commands:

CommandDescription
dewey initCreate docs/ folder and config
dewey auditCheck documentation completeness
dewey generateCreate agent-ready files
dewey agentScore agent-readiness (0-100)

Agent Readiness

Check how well your docs serve AI agents:

bash
npx dewey agent

This scores your documentation from 0-100 and provides actionable recommendations to improve agent compatibility.

What's Next

  • Read the Configuration guide for advanced setup
  • Explore the built-in skills for docs review and improvement
  • Check the components library for building doc sites

Built with care by the Dewey team.