Skip to content

PatentPilot

PatentPilot is a patent drafting tool that guides inventions from disclosure to USPTO-ready filing.

Core trick

Parses disclosure PDFs into a prior-art similarity map, then drafts claims with confidence scores while an examiner agent flags §101 and §112 issues.

Tags

Description

PatentPilot is a patent drafting tool that guides inventions from disclosure to USPTO-ready filing. Built with Claude Code (Opus 4.6) and using parallel worktree agents, it runs on Next.js 14. The app features 8 interactive views and 11 Claude API endpoints. Start by uploading a disclosure PDF, then find prior art on a similarity map, choose a claim strategy with risk analysis, and draft specs with highlighted new elements and prior art references. Generate patent claims with AI suggestions and confidence scores. Convert sketches into numbered figures. An AI examiner flags §101, §112, and consistency issues and offers one-click fixes. Export documents in USPTO format. The streaming chat lets users get real-time, tailored answers about patent prosecution from Claude Sonnet. Sonnet handles analysis; Haiku supports quick tasks. Demo mode gives instant feature walkthroughs.
retroam/patentpilot★ 00 forksTypeScriptCreated Feb 16, 2026 · last push Feb 17, 2026

README excerpt

# PatentPilot

AI-powered patent drafting copilot that takes an invention from disclosure to USPTO-ready filing. Built with Claude Code (Opus 4.6) using parallel worktree agents.

![PatentPilot Demo](screenshots/patentpilot-demo.gif)

## What it does

Upload a disclosure PDF and PatentPilot handles the rest: discover prior art plotted on a similarity landscape, select a claim strategy with risk analysis, draft specification sections with novel-element highlighting, generate patent claims with confidence scoring, formalize sketches into patent figures, run an AI examiner that surfaces legal issues with one-click fixes, and export USPTO-formatted documents.

## Setup

Add your API keys to `.env.local`:
```
ANTHROPIC_API_KEY=your_key_here
BRAINTRUST_API_KEY=your_key_here
```

Install dependencies and run:
```bash
npm install
npm run dev
```

Navigate to http://localhost:3000. Click **"Try Interactive Demo"** to explore with preloaded data (no API key needed).

## Stack

- **Next.js 14** (App Router), TypeScript, Tailwind CSS
- **Claude Agent SDK** (`@anthropic-ai/claude-agent-sdk`) — Opus 4.6 with autonomous WebSearch for patent examination and prior art discovery
- **Anthropic SDK** (`@anthropic-ai/sdk`) — Sonnet for drafting/analysis, Haiku for fast ops
- **Braintrust** — observability and tracing for all AI calls
- Zustand for state, Recharts for charts, Lucide React for icons
- mammoth for DOCX extraction, pdf-parse for PDF extraction
- SSE streaming for real-time chat

## A

Team