Ask HN: SoTA of Context Building Methods
Hi HN, I am a very minimal AI user (I use stock vscode chat with no MCPs to ideate on plans), but recently I've been coming across context building MCPs/tools that build a knowledge graph of your codebase.
This is really interesting because I am working on pretty large codebases simultaneously and the idea that my agent won't have to re-index and re-read all my files over and over again is pretty enticing.
My question is what methods are you using to index and connect these to your agents?
My research has led me to the following but I am basically very confused by what metric to measure how good they are.
1. https://github.com/abhigyanpatwari/GitNexus - seems like the most popular
2. https://github.com/DeusData/codebase-memory-mcp - also interesting/new
3. https://github.com/JaredStewart/coderlm - the tree-sitter based approach seems really good.
Would love to know how people actively using frontier models and methods navigate this domain.
5 comments
[ 5.2 ms ] story [ 22.3 ms ] threadSerena gives you symbol-level navigation, reading, and editing via tree-sitter. So you're already getting much of what CoderLM offers — plus Serena has editing capabilities(replace symbol body, insert before/after symbol, rename). GitNexus goes further with the graph/impact analysis layer on top.
I personally use Serena and GitNexus.
The case for using both
I pivoted and created something way simpler, but solving a different problem. Making the basic context really efficient and high quality.
https://ktext.dev