The world's first conversational patent search - Access USPTO and EPO patents, including drawings, through natural language. Powered by Valyu's patent search infrastructure.
Traditional patent search is broken.
You're spending $10,000-$50,000 per year per seat on tools like PatSnap, Derwent Innovation, or Clarivate. Your team wastes 4-8 hours crafting Boolean queries, learning CPC classifications, and sifting through irrelevant results. A single prior art search costs $1,600-$3,200 in attorney time.
Meanwhile, your competitors are filing faster. Your R&D team can't check novelty without burning budget. Your startups are launching products blind to infringement risks because they can't afford proper FTO analysis.
Every day without proper patent search is money on the table—or worse, money at risk.
PatentAI eliminates the friction. Ask questions in plain English. Get comprehensive patent results in 5 minutes instead of 8 hours.
Professional-grade patent intelligence, accessible to everyone.
- Conversational Search - No Boolean syntax. No CPC codes. Just ask your question naturally.
- 95% Faster - What takes 4-8 hours takes 5 minutes. Get back to high-value work.
- US + European Coverage - Search USPTO and EPO patents, or scope to one office with the
jurisdictionparameter (us/ep/all). - Patent Drawings - View patent figures inline with a zoomable, keyboard-navigable lightbox.
- Correct Patent Identity - Every result shows the canonical WIPO ST.16 reference (country + number + kind code, e.g.
EP 4,181,262 A1) with a plain-language kind-code explainer. - Advanced Analytics - Execute Python for citation analysis, portfolio metrics, technology landscapes.
- Interactive Visualizations - Beautiful charts for competitive intelligence and trend analysis.
- Local AI Models - Run with Ollama or LM Studio for unlimited, private searches.
- Multiple Search Modes - Prior art, FTO analysis, competitive intelligence, citation analysis.
- Patent Search - Semantic search across millions of USPTO and EPO patents, with figures
- Prior Art Search - Find anticipating references for patentability assessment
- Competitive Intelligence - Analyze competitor portfolios and technology strategies
- Freedom-to-Operate - Identify blocking patents and infringement risks
- Citation Analysis - Map forward/backward citations and identify influential patents
- Technology Landscapes - Visualize patent activity across technology domains
- Interactive Charts - Filing trends, portfolio comparisons, technology matrices
- Python Analytics - Statistical analysis, network metrics, portfolio valuation
Production Mode (Default)
- Uses "Sign in with Valyu" for authentication
- Patent searches use your Valyu organization's credits
- OpenAI for LLM inference
Development Mode (Recommended for Local)
- No authentication needed - Uses local SQLite database
- Unlimited queries - No rate limits
- Ollama/LM Studio integration - Use local LLMs for privacy and unlimited usage
- Requires
VALYU_API_KEYfor patent search
For Development Mode:
- Node.js 18+
- npm or pnpm
- Valyu API key (get one at platform.valyu.ai)
- Daytona API key (for code execution)
- Ollama or LM Studio installed (optional but recommended)
-
Clone the repository
git clone https://github.com/yorkeccak/patents.git cd patents -
Install dependencies
npm install # or pnpm install -
Set up environment variables
Create a
.env.localfile in the root directory:# Enable Development Mode NEXT_PUBLIC_APP_MODE=development # Valyu API Configuration (Required - powers all patent search) VALYU_API_KEY=your-valyu-api-key # Daytona Configuration (Required for Python execution) DAYTONA_API_KEY=your-daytona-api-key # Local LLM Configuration (Optional - for unlimited, private queries) OLLAMA_BASE_URL=http://localhost:11434 LMSTUDIO_BASE_URL=http://localhost:1234 # OpenAI Configuration (Optional - fallback if local models unavailable) OPENAI_API_KEY=your-openai-api-key
-
Run the development server
npm run dev
-
Open your browser
Navigate to http://localhost:3000
Ollama provides unlimited, private LLM inference on your local machine.
-
Download Ollama App
- Visit ollama.com and download the app
- Install and open the Ollama app
-
Download a Model
ollama pull qwen2.5:7b # Recommended - excellent tool support ollama pull llama3.1:8b # Alternative
-
Use in PatentAI
- Start the app in development mode
- Ollama status indicator appears in top-right corner
- Shows your available models - click to select which to use
- "Find patents similar to a neural network system that predicts protein structures using attention mechanisms"
- "Search for prior art on collapsible camping chairs with integrated solar panels"
- "Find patents that would block manufacturing transformer-based language models"
- "Check FTO for CRISPR gene editing in therapeutic applications"
- "Show all AI patents filed by Google in 2023-2024"
- "Compare patent portfolios of Tesla vs BYD in battery technology"
- "Create a chart showing patent filing trends in solid-state batteries 2018-2024"
- "Show top assignees in autonomous vehicle perception patents"
- Frontend: Next.js 15 with App Router, Tailwind CSS, shadcn/ui
- AI: OpenAI GPT-5.4-mini + Ollama/LM Studio for local models
- Data: Valyu API for comprehensive patent data (USPTO and EPO)
- Code Execution: Daytona sandboxes for secure Python execution
- Visualizations: Recharts for interactive charts
- Authentication: Sign in with Valyu (production)
- Secure OAuth 2.1 authentication via Valyu
- Sandboxed code execution via Daytona
- No storage of sensitive patent strategies
- HTTPS encryption for all API calls
- Local model support for confidential work
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome. Submit a Pull Request.
- Built with Valyu - The unified patent data API
- Powered by Daytona - Secure code execution
- UI components from shadcn/ui
- Local models via Ollama and LM Studio
Built for patent professionals, inventors, and innovators who refuse to waste time on broken tools.
