Caliby: Open-Source Embedded Vector Database for AI Agents with Hybrid Text+Vector Storage

Caliby is now open-source: an embedded, in-process vector database designed for AI Agent and RAG workloads. Developed by a team including a PhD from MIT’s DB Group (Michael Stonebraker’s team) and Sea-Land AI, it's a single C++ library with Python bindings.
Why Another Vector DB?
The team found existing solutions lacking for agent/LLM use cases:
- FAISS: Pure in-memory, no persistence — restart clears the index.
- pgvector: Performance ceiling due to PostgreSQL dependency.
- Chroma / Qdrant / Milvus: Require separate services, too heavy for embedded scenarios.
- LanceDB: Embedded but lacks advanced indexes like DiskANN, performance bottlenecks.
Caliby aims to be a lightweight, embeddable data engine like DuckDB, but for vector + text storage.
Architecture: Hybrid Text + Vector Storage
Caliby unifies text and vector data in a single system. Instead of juggling a vector DB and a relational DB, you store embeddings, raw text, and metadata in one library. The architecture uses a page-organized buffer pool for persistence.
Supported Indexes
- HNSW: General high-performance retrieval, CPU-optimized.
- DiskANN (Vamana Graph): Designed for disk-based scenarios, outperforms FAISS on disk.
- IVF+PQ: Inverted file with product quantization for compact indexes.
Caliby also supports brute-force search with SIMD (AVX-512, AVX2, SSE) distance functions (L2, InnerProduct, Cosine).
Performance Claims
Caliby beats pgvector by 4x and significantly surpasses FAISS in disk-storage scenarios. It handles millions to tens of millions of vectors on disk without requiring a separate service.
Getting Started
Simply install the package:
pip install caliby
The Python API exposes HnswIndex, DiskANN, and IVFPQIndex classes via pybind11. No dependencies, no server setup, no DevOps.
Who It's For
AI Agent developers and RAG pipeline builders who want an embeddable, zero-infrastructure vector database with hybrid text+vector capabilities and production-grade performance.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Security scanning skill for AI coding agents checks deployments automatically
A developer created a skill file that enables AI coding agents to automatically scan their own deployments for exposed .env files, open ports, missing security headers, and leaked source code. The scan runs after every deploy and takes about 30 seconds.

SpruceChat Runs 0.5B LLM On-Device on Miyoo Handhelds via llama.cpp
SpruceChat runs Qwen2.5-0.5B entirely on-device on handheld gaming devices using llama.cpp, with no cloud or WiFi required. On a Miyoo A30 (Cortex-A7 quad-core), it loads in ~60 seconds and generates at ~1-2 tokens/second.

Marketing Wisdom MCP: Free Semantic Search for Startup Insights
A free MCP server provides semantic search across 6,700 insights from 1,040 episodes of My First Million and Starter Story podcasts. It offers four tools for querying founder wisdom on growth, marketing, and business strategies.

Audio Engineer Builds Mix Analysis Tool with Claude Code
An audio engineer created a tool that analyzes audio mixes using the Web Audio API and Claude to provide specific feedback on issues like muddy low-mids, lack of headroom, and buried vocals. The tool offers a free tier for quick analysis and a paid pro report with detailed frequency notes and plugin suggestions.