AI NewsInfrastructureAnnouncement

Unblocked moved its search, reranker and queries onto MongoDB

Unblocked reports that moving its retrieval stack to MongoDB Atlas and Voyage AI doubled reranking throughput. Agent queries went from four model calls to one.

AI News

Editorial2 min read

LinkedInX
Diagram of Unblocked's retrieval architecture on MongoDB Atlas

Image: MongoDB

Why it mattersThe number of model calls per query is where latency and cost add up. One call with a good schema beats four with better reasoning, for most retrieval work.

Unblocked, a context engine for coding agents, has published a long writeup of how its search runs. The piece sits on MongoDB's own engineering blog, and Brandon Waselnuk, developer advocate at Unblocked, wrote it. The post went up on 2 December.

The piece is worth reading because the numbers are concrete. The architecture it describes is one most teams building retrieval would want to copy.

What shipped

Unblocked runs its product on MongoDB Atlas. Documents sit in Atlas. Atlas Search handles text matching and structured filters. Voyage AI by MongoDB reranks the results. Agents write their own aggregation pipelines against the index. Those four pieces replace a stack that used a different search service, a different reranker and separate embedding infrastructure.

The team moved to the Voyage endpoint managed by MongoDB. Unblocked says the new allowance is 20 million tokens a month, twice its previous limit, and 12,000 requests a minute. All of this is at no additional cost, because it is included with Atlas.

The three numbers the post leans on

Unblocked gives three measurements, each attributed to itself. First, the Voyage rerank-3 model scored several percentage points higher than the previous rerank-2.5 version on Unblocked's own evaluations. Second, Voyage context-3 scored 10.2 percent higher average precision than its previous embedding model, measured on Kotlin code. Third, the agent query layer now makes one model call instead of four, with retries only when validation fails.

Unblocked engineer Andrey Khabarov explains the last change. "Give the model the schema and the indexes, and it writes a good MongoDB query on the first try. Going from four turns to one made answers faster without making them worse."

Why the four-to-one change matters

A retrieval agent that calls the model four times burns four times the latency and four times the token cost. When the model is already good at writing MongoDB aggregation pipelines, the extra calls are wasted. Unblocked's observation is simple. Give the model the schema and the indexes up front, and it skips the reasoning rounds it used to do.

Unblocked engineer Rashin Arab says the Voyage rerank was easier to steer than the old one. "Being able to steer the reranker in plain English changed what we could ask of it."

The trade-off for a team doing the same move

A team with a split retrieval stack can study this and see a working alternative. The main trade-off is cost against lock-in. Running all four pieces inside one provider is cheaper and simpler. The team then depends on that provider for search, reranking and embeddings at once.

Unblocked engineer Mahdi Torabi describes the switch itself in one line. He says it took one pull request and one afternoon of work. After that all of Unblocked's reranking traffic ran through MongoDB. That is the moving-cost figure worth checking for any team on Atlas.

Source

MongoDB blog, How Unblocked Runs Search, Reranking, and Agent Queries on MongoDB, by Brandon Waselnuk.

SourceMongoDB

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project