Quivr launch 5,000 Vector databases on Supabase.
Learn how one of the most popular Generative AI projects uses Supabase as their Vector Store.
Quivr is an open source 'second brain'. It's like a private ChatGPT, personalized with your own data: you upload your documents and you can then search and ask questions using generative AI.
https://quivr.appReady to get started?
The challenge: Building a second brain
In May of 2023, Stan Girard's started building small prototypes that allowed him to "chat with documents". After 2 weeks of research, he settled on an idea - build a "second brain" where a user could dump all their digital knowledge (audio, URLs, text, and code) into a vector store and query it with GPT4.
He built the first version in a single afternoon, pushed it to GitHub, and then tweeted about it. One viral tweet later, and Quivr was born.
Choosing a vector database
A critical piece of the tech stack was the vector store. Stan needed a place to store millions of embeddings. After comparing between Supabase, Pinecone, and Chroma, he settled on Supabase Vector, our open source vector offering for developing AI applications. The decision was driven largely by his familiarity with Postgres, and the tight integration with Vercel.
Supabase Vector powered by pgvector allowed us to create a simple and efficient product. We are storing over 1.6 million embeddings and the performance and results are great. Open source develop can easily contribute thanks to the SQL syntax known by millions of developers.
Stan Girard, Founder of Quivr.
Building an open source community
It didn't take long for the Quivr community to grow. After the viral launch, the Quivr repo stayed at number 1 on GitHub Trending for 4 days. Today, it has over 22,000 GitHub stars and 67 contributors. Supabase has been a key part of the open source stack since the beginning.
Because Supabase is open source, the possibility of running it locally made it a better choice compared with other products like Auth0. Since Auth is integrated with the Vector database it made Quivr much simpler. Features like Storage and Edge Functions allowed us to expand Quivr's functionality while keeping the project simple.
Stan Girard, Founder of Quivr.
Launching 5000 databases
One of the most pivotal growth events was getting picked up by an influential YouTuber. His 11-minute overview of Quivr launched over 2000 Quivr projects on Supabase in one week. There are now 5,100 Quivr databases on Supabase, making it one of the most influential communities on the Supabase platform.
Launching a hosted product
Stan also launched a hosted version of Quivr, for users to sign up and get started immediately, without requiring any self-hosting infrastructure. Quivr's open source success has translated through their hosted platform, with 17,000 signups in just over 2 months, with 200 new users joining every day. The hosted database provides embedding storage for 1.6 million vectors and similarity search for over 100,000 files.
With 500 daily active users, the Quivr.app is becoming the preferred way for users to create a second brain.
Tech Stack
- Backend: Fast API + Langchain, hosted on AWS Fargate
- Frontend: Next.js, hosted on Vercel
- Database: Supabase Vector, using pgvector
- LLM: OpenAI, Anthropic, Nomic
- Semantic search using GPT For ALL, Anthropic, and OpenAI
- Auth: Supabase Auth