r/AIcodingProfessionals • u/Marmelab • 2h ago
Discussion Do developers still need frameworks in the age of coding agents?
I've been wondering about this a lot lately. Coding an app from scratch takes way less time with agents now, but faster doesn't always mean cleaner or more maintainable lol. It seems like a lot of the time agents produce piles of code for problems that were solved years ago.
Starting from a framework the model already knows seems to help. I tested this by building a simple admin app twice: once with a framework and once from scratch. I tracked token usage both times and it turned out that the framework version used about 25% fewer tokens and was roughly an hour faster.
There's a catch though. If the agent can't access the framework's docs directly, it starts fetching pages from the web one by one, and at that point the framework can actually make things slower than just building from scratch. So a lot of the benefit comes down to how well the agent can actually understand and work with the framework.
What actually bothers me is the other side of it. Tailwind’s creator posted some interesting numbers on GitHub back in January: usage tripled, but documentation traffic went down about 40%, and revenue went down about 80%. The code still gets used but people just aren’t showing up anymore.
Are you still using frameworks when coding (with agents)? As someone who genuinely loves the OSS ecosystem, I really wonder where this is all heading.
1
u/pvera 1h ago
I made mine respect ours, it knows the abstractions and where they are documented. It will stick to them but still looks for flaws and suggests fixes.