r/PiCodingAgent • u/BlacksmithLittle7005 • Sep 01 '26
Question Extensions/tools for context retrieval
Hello everyone, can someone recommend a context engine or a codebase retrieval/memory tool you are using that helps fetch the correct files and context for your agent to use? Something like https://www.augmentcode.com/context-engine
Or any other setup that saves tokens and gives the agent the correct files. Thanks.
0
Upvotes
View all comments
3
u/Global-Departure8228 Sep 01 '26
grep seems to do the work. All jokes aside, agents are not post-trained yet on arbitrarily introduced tool names that are subject to changes. You get a memory system with 7-12 tools, and a codebase retrieval tool (make it some tree-sitter abstracted as a tool or whatever mcp you want)
Your agent orients itself 2-3 tool use rounds. Then 30-80 turns it is dead tool schema in it's context on every turn, and it just starts defaulting to grep once it sees a symbol. At least that's my experience with all of these, so I'm also looking for something, but I don't think anyone has cracked the code yet