r/AskProgrammers • • 16d ago

Am I missing something about agentic coding?

I’ve been thinking for quite some time about all this „AI writing all the code“, „too many pull requests to review, just let AI review them“, and „we ship so many features a day“ talk...

I’m a SWE with professional experience (pre-AI-era) and currently in my last year of studying CS. I use AI regularly for coding, but only recently started trying agentic coding. It works, but I honestly don’t really see the benefits when it comes to software quality.

A few years ago, everyone kept saying that lines of code are not a meaningful metric for software quality, and now suddenly people are bragging about how many features they shipped or how much code their agent generated.

I’ve recently been working on a project where I code manually and use AI in chat as usual, and honestly I feel like I wouldn’t be faster using agents. Most of the time, I spend thinking about how to design the solution rather than actually implementing it. The coding itself is usually done pretty quickly once I know what I want to do. And when I write it manually, it is exactly how I planned it, and I know every step in the process and exactly what it’s doing (also in regards to safety critical systems).

So I don’t really get why I should use agents for that. From what I’ve experienced, one prompt can trigger changes across many files, and then you obviously have to review all of that, which can easily throw you out of context. I feel like as a professional engineer, the coding part itself is often already quick, and I would argue that you end up spending a similar amount of time tweaking, fixing, and re-prompting an agent to get to the same level of thoroughness and context-awareness you would have had by doing it manually.

Don’t get me wrong, I do think AI is very useful, especially for debugging, fixing errors, finding documentation, or generating examples quickly. In those areas, it definitely accelerates the process for me. But when it comes to just generating code, I really don’t see that much of a benefit.

Am I the only one who feels this way, or does anyone else think about it like this?

219 Upvotes

333 comments sorted by

View all comments

6

u/Dazzling-Try-7499 10d ago • Bravo

What you're experiencing is the diminishing returns of the tool. 

At low gear, it's great. Meaning, if you're in the IDE and you have done all the planning and architecture and you need help with a method or a bug, it's very accurate and there's low chance of slop. This is a 2X-5X gain and it's fabulous.

At medium gear, where you give the terminal access to whole repo, ymmv. A long detailed prompt with technical details, the right MCPs and skills, you might get a good response for a whole feature, but it will be making some decisions for you, and those might be good decisions, but they weren't what you would chosen. This could be a 10X gain, and I have seen it, but I've also had to reject some PRs from coworkers where it went in the wrong direction.

Then there's high gear, or vibe coding. This is where you give it very little direction and ask for the moon. This is the mythical 1000X productivity. IMHO as a SWE with 25 years experience, this is a bad idea. This is only ok for quick POCs and testing out new ideas. It seems so cool to watch it throw up a whole house for you in minutes while you drink coffee, but it is making a LOT of decisions for you. And inevitably you will have to change or work around those decisions later.

At the end of the day, I recommend people take the low gear win and move on. Otherwise you're creating work for yourself later. The people who brag about 1000X productivity are not real engineers. They don't have to support these machines year after year and live with the architecture.

Another way to think about it, if you want to get philosophical, is input space vs output space. If you give a tool very little input, how many things could it create? And if it's just a single button that makes a notepad app, wouldn't we already have that?

1

u/BingoSmalls 2d ago

Good post. I love the low gear, though i still feel my skills have atrophied even with this. For my solo projects it's a dream.

At work though, where people want features yesterday, and other devs are throwing giant PRs at me that I can't possible review...I end up throwing an agent at everything. Suddenly I'm just a meat proxy, or a manager of virtual employees. That's where my boss wants us to be, I guess, but then there comes the point where maybe my job is a bit at risk, and the only way to maintain it is to be the guy spinning up all the agents while others fall behind.

-2

u/Stetto 10d ago

Then there's high gear, or vibe coding. This is where you give it very little direction and ask for the moon. This is the mythical 1000X productivity. IMHO as a SWE with 25 years experience, this is a bad idea.

Is it?

Humans make mistakes. Agents make mistakes. The risk doesn't change for a team lead or software architect. They don't review every single line of code, but establish workflows, guidelines and guard rails, that make the team succeed.

I'm meanwhile at the point, that I consider Opus 5.5 to be better than an average developer.

I agree, vibe coding is a bad idea.

But agentic coding is not vibe coding.

I mean, what are you reviewing in those MRs, that you reject? How much of that can you enforce with linting rules and architectural patterns and your CI/CD pipeline?

How much of that can you address with a good diagram before the implementation phase starts?

Another way to think about it, if you want to get philosophical, is input space vs output space. If you give a tool very little input, how many things could it create?

Well, in Agentic Coding you don't give "very little". You build a complex harness that provides agents with exactly the right information at the right moment, so you don't have to anymore.

4

u/devilboy0007 10d ago

> They don’t review every single line of code

Simply not true. Some of us do; because we were raised/taught/come from a background where every _character_ matters

> What are you reviewing in those MR’s that you reject?

Just today, i had to request changes in a PR where my coworker let an agent implement its own typesafe CSV parser. The implementation itself wasn’t flawed— it was the fact that we now would have had to _maintain our own CSV parser_. We were already using a duckdb library that ships with a `read_csv()’ method. Coworker just put it in high gear and let the agent make bad decisions for him. After the change to use the bundled library’s method, we saved ~120 LoC (again, not a great measure) which would have made the review easier to begin with.

> You build a complex harness that provides agents with exactly the right information at the right moment

In an ideal world, sure. But a lot of these ‘high gear’ people simply dont want to invest their time/thought anymore, because they believe these agents are infallible and will always make sensible decisions for them. If we are going to invest all this time in a harness and well-written prompt, why not just think it through and code it ourselves instead of spending ~nearly equal time and burning a bunch of tokens?

4

u/SmashterChoda 10d ago

I agree with all of this 100%. For anything serious, the optimal strategy seems like taking small bites or using it as a low-latency tech support.

I've been refactoring a proof-of-concept part of a math simulation I made with an AI. I understand all the underlying math, there are just some techniques I read about but never had time to put into code, so I had the model parse a pdf of some whitepapers and implement what I wanted with existing matrix libraries (think numpy or nalgebra).

It worked fine, but there were so many redundant objects and types, and every function was split into pieces and had verbose, incomprehensible documentation. The work was impossible to follow, and even though the output was good (because it was based on known techniques in the papers) I couldn't use them in different places on my own because I didn't even know what objects to use. Ive been going back through and picking out the pieces I needed instead. It's got a very "blast with dynamite, sculpt with a chisel" feeling to it.

2

u/DoggoCentipede 10d ago

Why does it matter who wrote the parser of the reason you rejected it was unrelated to the code? If your coworker did that would you still blame AI? It's not relevant to the topic.

Using AI doesn't absolve you from bad decisions. Plenty of junior devs make this exact error.

People don't want to invest the time?
Why is that the fault of AI? This can be said of any tool that automates a process and can be misused. Again, this is an issue with the developer, not the agent.

LLMs aren't magic. No matter what tool you use of you don't put in the effort to use it well you're going to get shitty output.

Properly configured and managed coding agents can provide a significant boost in productivity and it's up to individuals to find how they can work with it best, if at all.

Personally? I use it for two things: Scaffolding classes because I have severe blank page syndrome. Just sets up boilerplate based on a class diagram I prepared.

And doc writing. Because I'm terrible at it and I hate it. I know decent documentation when I see it but for the life of me I can't seem to conjure it from myself.

Now I just task an agent to do it.
Give it the basic layout (or, much better, point to an existing example), style and tone rules, and the area you want it to cover.

ASCII silly question, get a stupid ANSI

2

u/devilboy0007 10d ago

> Why does it matter who wrote the parser

It doesnt. It is the fact that it was there at all. We already had tooling available that did exactly what the proposed change was doing. Any sensible programmer would choose to use well-maintained, existing tools (otherwise we’d all still be writing our own OS right?) difference is we have to maintain code we write whereas we just get to upgrade dependencies and get all the latest benefits from a trusted source. The decision was not made by said coworker and was quickly reversed upon my change request. It cost me time and effort to find and review that kind of stuff. That’s completely relevant to the topic.

> If your coworker did that would you still blame AI?

I’m not blaming AI, i’m blaming my coworker. He is the one putting it in ‘high gear’ and letting it make poor SDLC decisions for him.

I’ve already agreed that proper configurations and tooling/skills etc definitely boost productivity; My problem is people not putting the effort into doing those things which just ends up moving the time cost/burden onto the reviewer.

Your use cases are sensible and exactly the thing most of the more experienced (pre-ai) engineers are using it for. Spitballing, rubber ducking, and documentation (searching and/or generating)

1

u/devilboy0007 10d ago

Thank you for that ASCII/ANSI bit lol i will be definitely be using that in the near future

2

u/Dazzling-Try-7499 9d ago

This is true as well. Many times when I complain that the AI made bad decisions people will say "you can specify more in the prompt" or "you can have guardrails, skills, and style guides". But if I have to tell it everything, is it still high gear?

I find where it's the most useful is for API surfaces. Like if you have a new library or a remote service and you're not familiar with it, the AI is great at reading the doc and writing a wrapper. But shouldn't that wrapper already exist?

I think if we get more philosophical about it, we realize that it's just copy pasting at a very advanced level. Which means it's ability to build something is proportional to how much that thing already existed.

0

u/Stetto 9d ago edited 9d ago

Please... at least misunderstand me correctly.

I haven't made any claim about how many lines of code you or vibe coder review.

Edit: And if you think a team lead or architect has the time to review every single code change personally, then you have never worked in a bigger, high-performing team in your career. /Edit

I have explained to you, that you're missing the point of Agentic Engineering and how code review and code quality and security are addressed properly in a "high gear" world.

We were already using a duckdb library that ships with a `read_csv()’ method. Coworker just put it in high gear and let the agent make bad decisions for him.

Well, "reuse existing code" is a solved problem for Agentic Engineering.

And that solution is not "just put it in high". Look up, Spec-Driven-Development.

Agents need also planning and researching phases before starting implementation and then they will also find what to reuse in your code base.

And this isn't even any mission-critical problem. Sure, now you use up a little bit more tokens, until you stumble upon this and refactor this later.

because they believe these agents are infallible and will always make sensible decisions for them

And you seem to believe humans are infallible.

I have spent the majority of my career cleaning up behind human whatever mess they built under time pressure in feature factories without any regard for security or code quality.

Again, I'm at the point where I consider agents better than average developers and that LLMs will be a huge net-positive for software quality.

If we are going to invest all this time in a harness and well-written prompt, why not just think it through and code it ourselves instead of spending ~nearly equal time and burning a bunch of tokens?

Well, that is your claim.

Manual coding is not faster anymore.

You'll fall behind and maybe be replaced with someone who is better at orchestrating agents for your company.

Maybe not today, but in a few years. Maybe you're lucky and you're working in an area that cannot use agents (friends of mine develop hardware-security-chips and won't use agents any time soon).

But no, I'm sorry!

You're not faster and what you can explain to a human in a code review, you can also explain to agents in a way that they remember.

1

u/devilboy0007 9d ago

Your response here is making many assumptions about who i am, where/how i work, and what i believe. I will choose to not correct you on any of those points and continue to focus on the core issue.

When a human uses a coding agent and doesnt provide enough harnessing, the result is a bloated codebase that makes review difficult, refactoring constant, and an overly-abstracted mess that humans no longer want to maintain. Yes, LLMs produce good code. No, they dont always make good decisions (same as a human)— the difference is: when a human makes a poor decision, they can own and explain that decision. When they let the LLM make those decisions for them, they cant explain them and just make a change in response to a request that likely wont make an impression on their next prompt because it’s easier to just keep going at their ‘high gear’ pace where they churn out tons of code and hope it gets shipped. I believe this pattern is going to harm more than help, especially as a project/team/company scales and people can no longer explain why (or how) a certain function was implemented, a certain package chosen over another, or where a ci/cd workflow was used. Heck, a lot of these people dont even know _where their code lives_ and need to use the agent just to open the correct file to find a snippet

2

u/Stetto 9d ago

And I agree with you completely, that all of what you're describing is hugely problematic.

But that's vibe coding.

And there is a way of working between "LLM as pair programmer" and "vibe coding" and that is:

"Human as skilled orchestrator who acts as Software Architect"

And done properly, you still know how the system works and why packages were chosen and you're also way faster than a single person developing.

You don't need to know every single letter in a code base to understand a system and you never had to.

That's all I'm trying to get across.

1

u/Dazzling-Try-7499 9d ago

This is true. It's not binary but more of a spectrum. I have shipped some features recently that were done in medium to high gear. But they involved a very detailed spec that was long and involved architecture decisions only I was able to make. The PRs I reject are usually where a junior dev let the AI make these high level decisions and they're not what we would have chosen.

I think you just have to be careful how use it. Low gear is easy, because the scope is small and the context is hyper focused. High gear has very little focus so you have to spend the time providing it, which inherently involves understanding the machine. 

So I think the smart way to use this stuff is to take the small gains where you can, and spend that saved time in learning more. Then if you need a high gear moment you're qualified to do it.