Pith
GitHub · GitLab

AI agents that keep your docs current

Pith traces every diff, maps dependencies, and commits updated docs on PR approval. Your team and AI tools always work from accurate context.

Pith
Ready
feat/payment-module
Open

Code changes

src/payments.ts+234 −12
src/types.ts+8 −2
tests/payment.test.ts+45
Pith is analyzing diffs
Pith committed 3 docs
+README.md+61
+docs/API.md+89
+CHANGELOG.md+12
S
sarah approved · just now
Merge PR
README.mdGenerated

payment-service

Handles Stripe payments, webhooks, and refund flows.

Getting Started

Prerequisites

Node.js≥ 20
Stripe^5.0.0

API Reference

processPayment(amount, currency)
Works with
GitHub
GitLab
AI Agents

Bad docs break your AI agents

Claude Code, Cursor, and Copilot read your docs to reason about your code. Stale docs cause wrong suggestions and hallucinations. Pith keeps them current.

  • Always-fresh context. Docs update on every PR approval. Agents always read current architecture and API signatures.
  • No manual upkeep. Pith runs automatically. No maintenance required.
Pith · Run complete

Committed to branch

docs: update documentation

pith-bot · just now · feat/auth

Files updated

+docs/ARCHITECTURE.md
+47
+docs/API.md
+23
+README.md
+8
Documentation Types

Every doc AI agents and devs rely on

Generated on every PR approval, always in sync with your code.

README

README.md

Project overview, installation, features, and usage. Always reflecting your current codebase.

API Reference

docs/API.md

Every exported function, class, and type, with signature, parameters, and description.

Architecture

docs/ARCHITECTURE.md

System structure, module boundaries, data flow, and key design decisions.

Changelog

CHANGELOG.md

Version history in Keep a Changelog or Conventional Commits format.

Pith · Analysis

Changed file

src/payments.ts+47

Extracted exports

processPayment(amount, currency)

Promise<PaymentResult>✓ AST

validateCard(card: CardData)

boolean✓ AST

PaymentResult

type✓ AST
3 exports · 5 callers mapped
Code Intelligence

Powered by deep code understanding

Reads your full codebase, not just the diff. Every type, export, and dependency verified before it gets documented.

  • Semantic diff analysis. What changed and what it affects.
  • Cross-file dependency mapping. Every impacted doc section, updated.
  • AST-verified signatures. From the AST, not inferred.
  • Incremental updates. Manual edits stay intact.

Use it your way

PR approval, schedule, CI step, or API. Pick what fits your workflow.

Trigger on PR approval

Install the GitHub App. When a reviewer approves, Pith generates docs and commits them to the branch - no YAML, no extra steps.

  • Zero configuration after the 2-minute install
  • Docs committed directly to the PR branch
  • Merge code and docs in a single review
  • Works with GitHub and GitLab

Pith listens to the webhook automatically, nothing to configure in CI.

Install the GitHub App
github.com/acme/api/pull/42
Openfeat: add user authentication module#42

sarah wants to merge 8 commits into main

S
sarah approved these changes2 min ago
LGTM! Auth flow looks solid.
P
pith-bot committed docs to this branchjust now

Documentation updated

  • docs/auth.md
  • docs/api-reference.md
  • docs/getting-started.md
Comparison

The difference compounds every sprint

Engineering without Pith vs. with.

Without Pith
With Pith
Doc updates
Manual, after each sprint
Automatic on every PR approval
Engineering time
2–3 hours per sprint
Zero
Freshness
Stale within days of a merge
Always reflects current code
Templates
No standard across repos
Consistent templates, every repo
Accuracy
Handwritten, prone to drift
AST-verified, not hallucinated
Onboarding
Relies on tribal knowledge
New joiners read accurate docs
Pricing

Simple, predictable pricing

Start free. Scale when you're ready. Open-source repos always get Max features, free.

Free
$0forever

For solo devs and small projects

  • 2 repositories
  • 20 runs / month
  • README & API docs
  • GitHub & GitLab
Get started
Most popular
Pro
$15/month

For growing engineering teams

  • 10 repositories
  • 150 runs / month
  • Custom templates
  • All doc types
  • Scheduled runs
  • 3 team seats
Start 14-day free trial
Max
$30/month

For teams shipping at scale

  • Unlimited repositories
  • 1,000 runs / month
  • Doc splitting
  • 5 team seats
  • Import from existing docs
Get Max
Enterprise
Custom

Custom solutions for your team

  • Everything in Max
  • Custom run limits
  • Dedicated support
  • Custom integrations
Talk to us

Frequently Asked Questions

Give your AI agents accurate context

Connect your repo. Pith handles the docs from there.