Blowfish
Blowfish is a self-hosted search engine that stores everything in your own S3-compatible bucket. It speaks the turbopuffer API, so you can switch from turbopuffer by changing the base URL and API key, not your code.
- Rust
- MIT license
- v0.1.114
- updated today
git clone https://github.com/Endgame-Labs/blowfishcd blowfishdocker compose up --build --wait blowfish
- ~2× fasterCache-cold search across 10M vectors in S3 takes 454 ms (626 ms on a freshly started server), beating turbopuffer’s published 874 ms for 768-dimension vectors on its own infrastructure.README, Benchmarks
- 100M rowsSearched on a single machine directly from S3 in 1.1–1.3 seconds cold—a scale turbopuffer hasn’t published benchmarks for.README, Benchmarks
- 0.953 recall@10Top-10 nearest-neighbor accuracy on 10M Wikipedia vectors, outperforming turbopuffer (0.943) and Amazon S3 Vectors (0.894) on the same dataset.README, Benchmarks
Fast when RAM is tight
RAM-heavy engines slow down on smaller machines once memory fills up and every hop hits disk. Blowfish fetches only what a query needs, holding its throughput under tight memory limits.
It runs 2.5× to 8.5× faster than Qdrant at 2 and 4 GiB, while Qdrant takes the lead from 8 GiB up.
At 2 GiB, Blowfish handles 710 queries a second. Qdrant reads from disk on each hop and gets 83 and 96.
- Blowfish710 q/s
- Qdrant, vectors on disk83 q/s
- Qdrant, graph on disk too96 q/s
Higher is better. Throughput (q/s) across 16 clients on 2.68M BEIR NQ passages in a capped Linux VM (Apple M4), with RAM and page cache limited. Blowfish v0.1.15 at 48 probes; Qdrant 1.20.0 at ef=64. Method and reproduction
One bucket, any number of servers
Stateful search clusters get hard to keep in sync. Blowfish treats object storage as the source of truth: incoming writes go to a WAL, index files stay immutable, and a manifest tracks state.
Writes are acknowledged once durably logged to the bucket, while a background indexer builds vector and keyword indexes. Because servers only cache data locally, scaling read capacity is just adding read-only nodes against the same bucket.
Same SDK, different base URL
Switching search engines usually means rewriting application code to match a new API. Because Blowfish implements the turbopuffer API, you can swap it in using the same official SDKs with no client rewrites. Point TURBOPUFFER_BASE_URL at your Blowfish server, supply an API key, and unset TURBOPUFFER_REGION (otherwise the SDK throws an error instead of sending requests). The snippet below upserts two rows, then combines keyword and vector search via reciprocal rank fusion (RRF).
Blowfish is an independent open source project and is not affiliated with or endorsed by turbopuffer. Use it for local development, testing, and CI without a turbopuffer account or network access, for self-hosting modest workloads, or for keeping index data in your own cloud or on-prem bucket. For large-scale production workloads, we recommend turbopuffer itself.
from turbopuffer import Turbopuffer# Ensure TURBOPUFFER_REGION is unset in the environment.client = Turbopuffer(base_url="http://127.0.0.1:8000",api_key="local-development",)ns = client.namespace("articles")ns.write(distance_metric="cosine_distance",schema={"text": {"type": "string", "full_text_search": True}},upsert_rows=[{"id": 1, "vector": [0.9, 0.1], "text": "The Danube flows through Central and Southeastern Europe."},{"id": 2, "vector": [0.1, 0.9], "text": "Object storage keeps immutable index segments durable."},],)hybrid = ns.multi_query(queries=[{"rank_by": ("text", "BM25", "danube europe"), "top_k": 10, "include_attributes": ["text"]},{"rank_by": ("vector", "ANN", [0.9, 0.1]), "top_k": 10, "include_attributes": ["text"]},],rerank_by=["RRF"],limit=5,)
Factoid’s index, in your bucket
With a hosted search service, your Factoid index sits in storage you don’t run. Point base_url in settings.py at Blowfish instead. Factoid’s search accepts any turbopuffer-compatible endpoint, so your index stays in your own bucket.
# settings.py in a Factoid projectfrom factoid import Settingsfrom factoid.search import Turbopufferclass Project(Settings):search = Turbopuffer(base_url="http://127.0.0.1:8000", # your Blowfish serverretrieve="hybrid-rrf",)
Other projects
CerebroCerebro is a knowledge system for agents that you run yourself. It builds a wiki from your sources, cites every claim, and keeps itself up to date, so your agents give more accurate, consistent answers.
FactoidFactoid turns documents into short facts, each pinned to the exact passage it came from. Your agents search those facts instead of re-reading the documents on every question.
SalesWorldsSalesWorlds is a free, synthetic sales dataset for testing AI that answers sales questions. Any company can use it commercially under CC BY 4.0 to test a product and publish results.
SkimmerCommand-line tool · Go · MITA command-line filter that saves coding agents tokens. Give it a web page, files, or a list and a goal, and it keeps only the parts that help, so the model reads less and isn’t distracted by the rest. In its own example, a 71k-character page comes down to 7.6k.GitHub
UnderstudyProxy server · Rust · MITUnderstudy is a drop-in, CPU-only proxy that slashes API bills for high-volume data pipelines. It shadows your primary model, trains tiny local models on repetitive questions, and takes over once they match quality. It also continuously audits for drift and falls back to the main model if accuracy slips.GitHub











