Search vs this-task context

Last updated 12 September 2026

RAG for codeHexum
UnitEmbedded chunksThis turn’s files, then one symbol
ProtocolWhatever the app usesMCP at https://hexum.dev/mcp
Architecture gateUsually nonehexum_check, no LLM

This is not a takedown of RAG. It is a different job: turn-scoped context plus a deterministic import check. hexum_shrink.

FAQ

How does Hexum cut what I pay the model?

Your agent stops dumping the whole repo into the prompt. Hexum sends this task, not every file. On the published card, MBPP context dropped 85.2% and the combined 24-task cut is 87.6%, with 24/24 tests still passing. Tokens are ceil(utf8_bytes/4), not a provider invoice. See /benchmarks.

What is Hexum?

Hexum is a developer ecosystem for coding agents in Cursor, Claude Code, and the rest. One API key. Five products and twelve tools today: spend less on each prompt, block bad imports, review pull requests, stop the agent looping, and only keep building when checks pass. We do not keep your code.

Does Hexum store my repo?

No. We do not keep the code your agent sends. We do not train on it. Policy: /zdr.