Gabriel Ayuso
@gabrielayuso.eth
Why do people think context window size is a big limitation for AIs to be able to fully replace humans as coders? I'd say most of us keep a very compressed version of the codebase in our head and rely on code search and tools to get the details we need. Coding agents are already starting to do this using grep and other tools. They just need that initial context to get them going and then they can do the rest. Creating that initial compressed representation of the codebase they can reference to get them started would do the trick without keeping the entire codebase in the context.
9 replies
2 recasts
51 reactions
polymutex
@polymutex.eth
Is there good tooling around automatically generating this compressed representation?
1 reply
0 recast
1 reaction
Gabriel Ayuso
@gabrielayuso.eth
Haven't spent much time on this other than the use of CLAUDE.md and Cursor rule files. You can ask Cursor and/or Claude to help generate these with the structure of the codebase, etc. Beyond that I mostly just guide the model by telling it relevant files, relevant things to look for, etc. Transferring my knowledge of the code base to the model. I should spend more time automating this though.
1 reply
0 recast
2 reactions