The engineto document

Scribe analyzes your TypeScript codebase with AST parsing and git history, then generates polished markdown docs using the LLM of your choice. No manual writing, no stale docs.

4document typesREADME + API + CHANGELOG + GUIDE
7AI providersANTHROPIC · OPENAI · GROQ
1command to runNPX @SCRIBE-DOCS/CLI
0manual writingALWAYS UP-TO-DATE
4document typesREADME + API + CHANGELOG + GUIDE
7AI providersANTHROPIC · OPENAI · GROQ
1command to runNPX @SCRIBE-DOCS/CLI
0manual writingALWAYS UP-TO-DATE
Capabilities

From source to docs.
Automatically.

01

AST source analysis

Parses your source code with ts-morph — walking the syntax tree to extract functions, classes, interfaces, types, enums and JSDoc so docs reflect your real code.

02

Git history aware

Reads your git graph with simple-git, parsing conventional commits, tags and branches to build versioned changelogs automatically.

03

Pluggable AI connectors

Snap in any of 7 providers — Anthropic, OpenAI, Google, Groq, Mistral, xAI and AWS Bedrock. Swap models like connectors: cheap for drafts, premium for the final pass.

04

Four document types

Generates README, API reference, versioned CHANGELOG and ARCHITECTURE guide — emitted as markdown or fumadocs-ready MDX to ./docs.

05

Context routing & token efficiency

Sends only the required AST or Git context depending on the document type. API refs get pure AST, changelogs use git history, READMEs use summaries, and guides combine both—minimizing token waste with smart routing and model tiering.

Process

Three commands.
Always up-to-date docs.

terminal
1$ npx @scribe-docs/cli init
2 Scribe - Documentation Generator
3
4 Which AI provider do you want to use?
5  Anthropic (Claude models)
6  OpenAI (GPT models)
7  Google (Gemini models)
8  Groq (fast · free tier)
9  Mistral · xAI · Bedrock
10 / navigate  Enter confirm
11
Ready
Architecture

Four clean
layers.

Scribe is built as four decoupled layers. Static analysis stays free of AI dependencies, generation is fully pluggable, and the SDK orchestrates the whole pipeline behind a simple CLI.

4
Layers
7
AI providers
0
AI deps in core
Package layersMonorepo
core
Static analysis — ts-morph, simple-git
no AI deps
ai
LLM generation — Vercel AI SDK
7 providers
sdk
Orchestration pipeline + config loading
jiti
cli
Commander CLI + @clack prompts
interactive
By the numbers

Less config.
More docs.

Live|10:39:18 PM
0
Document types generated
0
Pluggable AI providers
0
Command to generate docs
0
Stale docs, ever
Integrations

Bring your own LLM.
Use what you know.

7 AI providers, all pluggable via optional peer deps — powered by best-in-class open source tooling, with markdown and fumadocs-ready MDX output.

Anthropic logo
Anthropic
AI provider
OpenAI logo
OpenAI
AI provider
Google logo
Google
AI provider
Groq logo
Groq
AI provider
Mistral logo
Mistral
AI provider
xAI logo
xAI
AI provider
AWS Bedrock logo
AWS Bedrock
AI provider
ts-morph logo
ts-morph
AST parsing
simple-git logo
simple-git
Git history
Vercel AI SDK logo
Vercel AI SDK
LLM generation
F
fumadocs
Docs output
C
@clack/prompts
Interactive CLI
Anthropic logo
Anthropic
AI provider
OpenAI logo
OpenAI
AI provider
Google logo
Google
AI provider
Groq logo
Groq
AI provider
Mistral logo
Mistral
AI provider
xAI logo
xAI
AI provider
AWS Bedrock logo
AWS Bedrock
AI provider
ts-morph logo
ts-morph
AST parsing
simple-git logo
simple-git
Git history
Vercel AI SDK logo
Vercel AI SDK
LLM generation
F
fumadocs
Docs output
C
@clack/prompts
Interactive CLI
C
@clack/prompts
Interactive CLI
F
fumadocs
Docs output
Vercel AI SDK logo
Vercel AI SDK
LLM generation
simple-git logo
simple-git
Git history
ts-morph logo
ts-morph
AST parsing
AWS Bedrock logo
AWS Bedrock
AI provider
xAI logo
xAI
AI provider
Mistral logo
Mistral
AI provider
Groq logo
Groq
AI provider
Google logo
Google
AI provider
OpenAI logo
OpenAI
AI provider
Anthropic logo
Anthropic
AI provider
C
@clack/prompts
Interactive CLI
F
fumadocs
Docs output
Vercel AI SDK logo
Vercel AI SDK
LLM generation
simple-git logo
simple-git
Git history
ts-morph logo
ts-morph
AST parsing
AWS Bedrock logo
AWS Bedrock
AI provider
xAI logo
xAI
AI provider
Mistral logo
Mistral
AI provider
Groq logo
Groq
AI provider
Google logo
Google
AI provider
OpenAI logo
OpenAI
AI provider
Anthropic logo
Anthropic
AI provider
Why Scribe?

Docs that keep
themselves honest.

Scribe documents itself. Use cheap models for drafts and premium ones for the final pass, run it in GitHub Actions, and point it at any package in your monorepo with a single flag.

TypeScriptConventional CommitsMonorepo-readyCI-readyDogfooded

Always up-to-date

Docs regenerate from your actual source code and git history — never stale, never out of sync.

No DSL to learn

Just your TypeScript code and conventional commits. Nothing else to maintain.

Config-as-code

scribe.config.ts/.js/.mjs loaded at runtime via jiti — TypeScript imports, env vars, full flexibility.

Changelog versioning

CHANGELOG_001.md, CHANGELOG_002.md — Scribe increments and never overwrites your history.

For developers

Built by devs.
For devs.

Config-as-code, sensible defaults, and CLI flags that override config which overrides env vars. Drop Scribe into any TypeScript project and run it in CI.

TypeScript native

Parses real source with ts-morph.

Interactive init

Pick provider, model, key and docs.

Env var detection

Reads ANTHROPIC_API_KEY, OPENAI_API_KEY, etc.

Markdown or MDX

Plain markdown or fumadocs-ready MDX.

npx @scribe-docs/cli init -y
npm install @ai-sdk/anthropic
export ANTHROPIC_API_KEY=********
npx @scribe-docs/cli generate
What people say
01 / 04

"Scribe replaced a week of manual doc writing with a single command. Our README is finally never out of date."

S

Sarah Chen

Staff Engineer

Key Result

0 hours writing docs

Pricing

Free and
open source.

Scribe is free forever. You only ever pay your own LLM provider for the tokens you use. No seats, no tiers, no surprises.

01

Open Source

For individuals, teams and OSS projects

$0/forever

MIT licensed

Everything included
  • Full CLI, free forever
  • All 4 document types (README, API, CHANGELOG, GUIDE)
  • All 7 AI providers
  • Config-as-code (scribe.config.ts)
  • Monorepo support with --dir
  • Git-history-aware changelogs
  • fumadocs-compatible MDX output
  • Bring your own API key

The Scribe CLI is open source and free to use with your own API keys. View the source

Ready to stop
writing docs?

Point Scribe at your TypeScript project and generate polished markdown docs in one command. Open source, bring your own LLM.

npx @scribe-docs/cli generate