It's a fun, in the "style of the time" thing to track, but within a year or two, context window limitations won't be a thing. Doubt me? Think back 2 years. Now compare today. Change is at massive speed, and this issue is top line to be resolved in some fashion.
I’m not so sure an increasingly large context window will be seen as a critical enabler (as it was viewed 6 months ago), after watching how amazingly effective subagents and tool calls are at tackling parts of the problem and surfacing the just the relevant bits for the task at hand. And if increasing the context window isn’t the current bottleneck, effort will be put elsewhere.
Show HN: Badge that shows how well your codebase fits in an LLM's context window
21–30 of 47 posts
Re: Show HN: Badge that shows how well your codebase fits in an LLM's context window
#22[flagged]
Re: Show HN: Badge that shows how well your codebase fits in an LLM's context window
#23But my coolest app was a better context creator. I found it hard to extend to actual agentic coding use. Agentic discovery is generally useful and reliable - the overhead of tokens can be managed by the harness (i.e. Claude Code).
Re: Show HN: Badge that shows how well your codebase fits in an LLM's context window
#24I'm not sure that smaller bases are always better.
Re: Show HN: Badge that shows how well your codebase fits in an LLM's context window
#25[flagged]
It’s interesting but I think it’s measuring the wrong thing. Abstraction is a fundamental principle in software. As a human, I’ve worked with classes and modules far larger than what fits in my head, just because I’m only fitting the function signatures and purpose into my head, and not the implementation details. In practice I find Claude really good at extracting useful information in a human-like way from a codeba…
Still, this seems useful for being able to see at a glance. I have no idea where most of my own projects would land.
Re: Show HN: Badge that shows how well your codebase fits in an LLM's context window
#26In the case that interfaces remain unchanged, agents only need to look at the implementation of a single module at a time plus the interfaces it consumes and implements. And when changing interfaces, agents only need to look at the interfaces of the modules concerned, and at most a limited number of implementation considerations.
It’s the very reason why we humans invented modularization: so that we don’t have to hold the complete codebase in our heads (“context windows”) in order to reason about it and make changes to it in a robust and well-grounded way.
Re: Show HN: Badge that shows how well your codebase fits in an LLM's context window
#27Maybe it’s useful to dig out the concept of modularization with a distinction between interface and implementation again, and construct agents that are able to make effective use of it. In the case that interfaces remain unchanged, agents only need to look at the implementation of a single module at a time plus the interfaces it consumes and implements. And when changing interfaces, agents only need to look at the in…
https://www.slater.dev/2026/02/relieve-your-context-anxiety-...
Re: Show HN: Badge that shows how well your codebase fits in an LLM's context window
#28Scoping the Ai to only use the things you'd use seems far wiser than trying to reduce your codebase so it can look at the whole thing when 90% of it is irrelevant.
Re: Show HN: Badge that shows how well your codebase fits in an LLM's context window
#29It would be better to have the architecture support a more decoupled/modular design if you're going to rely heavy on LLMs.
That or let it consume high quality maintained documentation?
Re: Show HN: Badge that shows how well your codebase fits in an LLM's context window
#30Maybe it’s useful to dig out the concept of modularization with a distinction between interface and implementation again, and construct agents that are able to make effective use of it. In the case that interfaces remain unchanged, agents only need to look at the implementation of a single module at a time plus the interfaces it consumes and implements. And when changing interfaces, agents only need to look at the in…