Launching today

CodeSearch
Faster code search for agents on your Mac
24 followers
Faster code search for agents on your Mac
24 followers
CodeSearch is a native Mac app that indexes your repositories and gives coding agents one command to search across them. Ranked keyword search finds relevant functions and classes; pattern search finds exact strings. Code is split along its syntax, and every result comes with its file and, where it has them, line numbers. CodeSearch runs locally and uploads nothing. Free for one profile, up to 10 repos and 10,000 files. Pro is a one-time purchase: $19.99.






Free Options
Launch Team / Built With

TinesThe single, secure environment for agents, apps, and automations.
Promoted


π Hey everyone, I'm Marcin, a solo maker and a longtime software engineer.
I wanted to speed up agentic coding in multi-repo setups, which I noticed can be costly. CodeSearch is a native macOS app that intelligently chunks & indexes large codebases providing ngram and BM25 querying to the agents, leading to up to 33% less time per code question. It's fully local and never leaves the mac.
Why not just grep?
It's slower, and for pattern-based or fuzzy search the pre-built index will likely always perform faster.
Technical part
CodeSearch builds an incremental index by scanning each repo, chunking code on function/method/class/module (dependent on language) boundary using TreeSitter, then exposes the built ngram and BM25 indices to agents via codesearch CLI tool. It refreshes every 30 minutes by default, can be adjusted. Index design is on it's own an interesting topic, if you're interested take a look at https://milvus.io/docs/ngram.md, https://bm25s.github.io/ .
Would love your feedback, especially if you've got a similar repo setup.
Thank you!
This is the part of agentic coding that quietly eats my day β my agent spends so much time grepping around a big repo before it even starts working. A local index that returns the right function with file and line numbers, instead of a pile of grep hits, sounds like exactly the right fix. Curious how it holds up once the index gets big β does the 30-minute refresh keep up on a large multi-repo setup?
@jcbuildsΒ It generally does, I regularly work with 250+ repos (~200k indexable files), the first index completes in ~40s, subsequent ones are incremental, meaning they only look for changed files, so they finish in well under 10s.
It's a nice tool, I think it could really be useful for companies who do the indexing on a CI pipeline, and devs just use the remote index. But that's for the future :)