Build knowledge agents without embeddings
Vercel open-sources a file-system-based Knowledge Agent Template that replaces vector embeddings with grep and directory navigation, cutting per-call costs from $1.00 to $0.25.
Most knowledge agents start the same way. You pick a vector database, then build a chunking pipeline. You choose an embedding model, then tune retrieval parameters. Weeks later, your agent answers a question incorrectly, and you have no idea which chunk it retrieved or why that chunk scored highest. We kept seeing this pattern internally and for teams building agents on Vercel. The embedding stack works for semantic similarity, but it falls short when you need a specific value from structured data. The failure mode is silent: the agent confidently returns the wrong chunk, and you can't trace the path from question to answer.
That's why we tried something different. We replaced our vector pipeline with a filesystem and gave the agent . Our went from ~$1.00 to ~$0.25 per call, and the output quality improved. The agent was doing what it already knew how to do: read files, run , and navigate directories.bashgrepsales call summarization agent So we open-sourced the , a production-ready version of this architecture built on Vercel.Knowledge Agent Template The Knowledge Agent Template is an open source, file-system-based agent you can fork, customize, and deploy. Plug any source…