These things does work (up to a max few thousand lines of code), but, they eat tokens like f*ng monsters.

we have features like manual context management https://www.dyad.sh/docs/guides/large-apps#manual-context-ma... which lets you select files to use in your context window

Hey, could the tool do this itself? Like using code embeddings?

https://www.trynia.ai/ seems to be doing sometihing similar.

very interesting - when we ship MCP support you should be able to use nia!

How about local support? First draft is simple enough to implement: chunk => embed => store. And then one simple lookup function.

Complexity would arise once we start to go into AST's and graph traversals.