Star us on GitHub
Add intelligent AI search and chat to your website with Peam. Simple installation, powerful features, and seamless integration with your existing content.
npm i peamIntelligent conversations powered by your content.


Find answers based on meaning, not just keywords.
Goes beyond exact matches to understand the intent behind queries
Optimized vector search delivers results in milliseconds
Ranks content by semantic similarity for accurate answers
Keep conversations focused and efficient with automatic message summarization
How do I install Peam?
You can install Peam using npm or yarn. Run npm install peam in your project.
What if I want to use it with Next.js?
Perfect! We have a dedicated @peam/next package. Install it with npm install @peam/next.
Great, thanks for the help!
You can configure search in your peam.config.js file. Set the searchOptions property.
What options are available?
You can customize relevance threshold, result limit, and semantic understanding level.
Can I customize the UI components?
Yes! All components are fully customizable with Tailwind classes or custom CSS.
Connect to any AI provider - OpenAI, Anthropic, Google, Mistral, and more. No vendor lock-in.
// app/api/peam/route.ts
import { openai } from '@ai-sdk/openai';
import { createChat } from '@peam-ai/next/route';
export const POST = createChat({
model: openai('gpt-4o-mini'),
}).handler;Peam is open source under the Apache-2.0 license. Use it freely in your commercial and personal projects. No hidden costs.
Your data stays yours. Peam processes content locally without sending it to third parties. Full control over your AI models and data.