Gabriel Ayuso pfp
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
54 reactions

Mo pfp
Mo
@meb
Agreed. Thinking we need to pass all the full files content to AI agents is a recurring midwit take I’ve seen. Any real system is a collection of interfaces that work with each other, whilst encapsulating their messy implementation code. You only really need - an overview of system components and their relations - access to a db schema - file content related to task at hand as well as existing file examples to facilitate 0 shot success of the agent
0 reply
0 recast
1 reaction