Convex RAG
Convex component for building RAG systems with document chunking and semantic search.
Agent, MCP and tool libraries npm Apache-2.0
How Convex RAG is used
Convex RAG is a dependency in 2 of the 6,230 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,043, Ethereum and EVM 1,756, 3D and games 3,105, agent frameworks and SDKs 13,447); counting those, it appears in 20 projects, and what it is used with below comes from all of them. The most used alternative in our scan is LangChain.js (37 projects). Projects that use it most often also use Convex (100.0%), AI SDK (95.0%), Convex Agent (90.0%).
Often used with Convex RAG
| Convex | 100.0% of Convex RAG projects · 178.0× more than average |
|---|---|
| AI SDK | 95.0% of Convex RAG projects · 21.6× more than average |
| Convex Agent | 90.0% of Convex RAG projects · 2803.5× more than average |
| convex-helpers | 70.0% of Convex RAG projects · 726.8× more than average |
| React | 95.0% of Convex RAG projects · 2.9× more than average |
| clsx | 70.0% of Convex RAG projects · 3.6× more than average |
| Convex Rate Limiter | 60.0% of Convex RAG projects · 1869.0× more than average |
| Tailwind Merge | 65.0% of Convex RAG projects · 3.5× more than average |
From all 20 projects in our scan that use Convex RAG, including the dependency samples.
Install
| Package | npm install @convex-dev/rag |
|---|---|
| Main stacks | Next.js (11), TypeScript / JavaScript (9) |
| Example projects | convex/agent, LiorVainer/data-israel, VecterAI/reacher-x, mikecann/mikecann.blog, azhukaudev/chat-pdf-now |
Alternatives to Convex RAG
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Convex RAG are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| LangChain.js npm Build applications with LLMs using composable abstractions for chains, agents and memory. |
74 | 37 (0.8%) | 8.2M | 18.3K | MIT |
More in Agent, MCP and tool libraries: Model Context Protocol SDK (JavaScript) Model Context Protocol SDK (Python) FastMCP (Python) LangChain LangGraph Mastra Agent Client Protocol SDK MCP Inspector