Settings

Theme

Ask HN: SoTA of Context Building Methods

5 points by h4ch1 a month ago · 5 comments · 1 min read


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.

thegagne 21 days ago

I started building one of these myself, and got something working decently but decided it was too complicated and didm’t really provide value. I then saw GitLab Knowledge Graph. It does this, but even Claude says it’s not very efficient or helpful for the large code bases I pointed it at.

I pivoted and created something way simpler, but solving a different problem. Making the basic context really efficient and high quality.

https://ktext.dev

ipiyer a month ago

You should add Serena https://github.com/oraios/serena to your list.

Serena 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

  - GitNexus tells you what to change (impact analysis, dependency maps, blast radius)
  - Serena makes the change (symbol-level editing, safe renames)

  That's a strong workflow: understand first, then act precisely.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection