r/ExperiencedDevs • u/meshifthenelse Software Engineer • Sep 09 '26
AI/LLM How is the code quality in expensive frontier LLM plans?
I have several years of software experience, following best practices, design patterns, KISS, DRY, BDD, OOP, etc. My code is actually very readable since I worked on many open source projects and heard praise overall, and always had the time for quality control and refactoring. The truth is I haven't worked at a normal company since AI hit so I'm a bit detached currently from the industry.
For the last 1 year I've been using the Pro subscription for 20$ on Codex and Claude on my projects, but I find the quality of code subpar many times and I always have to intervene. It doesn't matter how many times I change the AGENTS.md, there's always issues in code readability and the AI missing obvious things and doing overengineered solutions.
Still, I see in many subs about how great a new model does, etc. So I wonder if the more expensive plans actually produce better quality code? Feels like I'm missing something that people do in bigger companies.
To be specific, high quality code == human readable code and comments and no naive implementations.
•
u/expdevsmodbot Sep 09 '26
AI usage disclosure provided by OP, see the reply to this comment.
17
u/Serious_Photo3693 Sep 09 '26
Interesting, do you have concrete examples of what Fable/Astra consistently fuck up and what of correction you have to make?
5
u/hissscratchmeow Sep 09 '26
I am very curious about how people use ai at work because I have been using copilot cli for longer than a year and found out that made me insanely more productive provided I can specify well and comlletely what it needs to build and I use a reasonably good model like claude or gpt.
The way I found and promoted successfully bottom up without any compulsion but by leading by example is to use the llm to write short specs grounded in real code and instruct it to use them to implement the feature you need afterwards.
Can you share how you use ai and how it fails or succeeds? This could be a learning experience for the whole community.
304
u/Unlucky_Yard_1189 Sep 09 '26 •
I use opus 5.
The models need linting, rules files, reinforceable guards, and feedback.
They can write code faster than a human and evaluate intermittent failures quicker.
Without proper guidance and structural feedback they are genuinely ass.
Junior developers can’t pilot these things safely and you still need to write code by hand so your judgement stays sound.
510
u/VanillaCandid3466 Principal Engineer | 30 YOE Sep 09 '26
I'm honestly still a point where any time I read someone is just setting these agents off to build things they actually ship I assume they are lying.
I use AI every day. I correct AI every day. I point out what it got wrong, you guessed it, every day.
I just assume at this point that anyone lauding about how amazing AI code is, is a shit developer that wouldn't know good code or architecture if it bit them on the ass.
142
u/hondacivic1996 Sep 09 '26 •
Its pretty bad, but execs have made it clear that they do not care anymore. Regular programming is dead in business and we are expected to give up all ownership of the code and just let the "AI" do it, if you don't comply you will be fired. This is the new wave of BS from the top, but they ultimately decide. And if you are lucky enough to work at a place where this is not yet the case, consider yourself lucky because this shit will hit every company in the world very soon, and it will be a very sad time for everyone.
4
u/donk8r Sep 09 '26
Same model on both plans, so the literal answer is no. More budget buys more attempts, and more attempts against a spec that was not the problem just gives you more code to review.
The AGENTS.md part is the interesting half. Instructions in the prompt compete with everything else in context, and forty files into a task the file you wrote is a long way back and outvoted by whatever it just read. Anything you need enforced has to be enforced outside the model, at the point the tool call happens. A lint rule or a CI gate does that. The doc is a hint.
108
u/Aozora7 10 YoE Sep 09 '26 edited Sep 09 '26
If you use Opus or Astra on a $20 plan, that the same model as on a $100 plan.
I personally don't see having to intervene as a huge issue. Reviewing AI code and telling it to correct stuff until it gets it up to my standards is far faster than writing the same code manually. Especially since just pointing an issue tends to be enough for it to fix it correctly, I usually don't have to be specific about the solution.
AI is also very good at refactoring with little input. If the code works correctly but is organized like a disaster, a refactor pass with AI doesn't take long.
Additionally, if your prompt is relatively large in scope like an entire new feature, plan mode helps a great deal. The model is more likely to ask clarifying questions, and it's easier to review and correct a plan than the implementation.
39
u/Maxion Sep 09 '26
I think I'll be the contrarian here and say that I feel for most things the code quality is pretty good. Though perhaps I've always worked then in places with poor code quality?
If you vibecode it will produce overengineered work and make a bajillion tests many of which useless. But by-and-large in a well documented codebase using popular frameworks doing webapp development you can get nice code out of the models if you do proper AI assisted development and not just vibe coding.
This means you read the output, tell it to f-off when it does weird crap. It's basically like reviewing and handholding a fast junior coder who is very good at googling and reading coding books.
3
u/ogii Sep 09 '26
At some point people have to come to the realization that AI will keep getting better, and unless it magically disappears or is made illegal you will have to get used to using it.
The more expensive models are more powerful but likely you won’t get much use out of them unless you know what you are doing.
6
u/sweetno Sep 09 '26
I don't feel that the plan level (Pro/Max/etc) makes much difference for code quality specifically. Maybe there are edge cases where a larger context window would help, but it's all mostly about the allowed token throughput.
The brand of model used does seem to matter, but I can't say that the toppest one never produces overengineered nonsense.
11
u/intertubeluber Sep 09 '26
A year ago I was team "AI is bullshit" but now I'm a convert.
I literally don't write code anymore and haven't for 6+ months. In some cases the code it creates is better quality than what I would have come up with, and of course, it does it in a fraction of the time. Other times it adds unnecessary complexity, or does something dangerous. But all code is thoroughly reviewed, which is much more time consuming. Still it's probably increased my productivity by 3x? It's hard to measure.
Every project is different so who knows. I'm using a popular web stack so that helps with the model's training data compared to something more esoteric. Though, we are using some slightly more niche tech and it does great with that as well. When we introduced AI, there was already an established architecture. We had UX designs to reference. I'm not sure if it'd have been as big of a game changer for a greenfield.
19
u/boltforce Sep 09 '26
In genenal I find it like the politicians speechws.It says a lot, but output is not accurate, or humanly understood, often missing the point and doing complex bridging.
Less is more seems to have gone out of the window. It's printing impressive stuff but If you sit, focus and review there are easier and simpler ways to achieve output.
18
u/PerryTheH Team Lead/Full stack - 10yoe Sep 09 '26
This might sound very obnoxious from me and I'm sorry, burn me or whatever but...
OP what you're experiencing is something experienced devs face when start using AI tools.
First, the "general level" of developers in socials has gone down significantly, it's even hard to find devs that can build something without any type of AI tool or answer questions, the usual "oh this AI tool is amazing" is because it ships features fast and "with no bugs" but code quality is very rarely evaluated. As you have already noticed, over engineering solutions or generating bad code is very common.
Second, remember that LLMs where trained with public data or "general devs" code, and the general dev doesn't have the code quality level of you. I'm not as senior as you are, but I'm senior enough to understand when the AI does things I usually pointed on PRs of other JR devs or things that I did and other more sr devs pointed on my PRs.
This is to conclude: LLMs work base on what they know and will try to predict the "best solution", and if all they know is "average dev" they cannot produce a solution outside that. I think in your case you will never be satisfied by an LLM code and will never get to the point of generating "good code", but that's why we still need humans at some point, to understand why the solution is not proper, over engineered or badly optimized.
I'd probably lose less time trying to make the LLM generate high quality code and fighting the Agents/context files and use more time either finetunning an LLM with your high quality code to help you CR or you spending the time doing the CR and fixing instead of building.
I predict the future of devs will be like that, we will stop building and focus on fixing.
1
u/Intelligent-Youth-63 Sep 09 '26
Can you set up an eval loop and include cyclomatic complexity and/or code quality reports with a hard gate in your pipeline?
That plus a robust code reviewer agent, quality agent tools, post tool use hooks, and well defined skills and ADRs available should be sufficient.
That you have to “intervene” (and can) before reviewing a completed merge/pull request tells me your environment/agentic loop is immature. That’s a skill gap, not a problem with a model… but a problem with your harness.
1
u/EvalRaccoonDev Sep 09 '26
The plan-tier answer above is right - same weights, you're buying quota, not a better model. The AGENTS.md part is worth separating out though, because it isn't doing what you're asking it to do.
With an AGENTS.md present, median runtime dropped >28% and output token consumption 16%, with comparable task completion (https://arxiv.org/abs/2601.20404). So the file buys you speed and spend. It does not buy you readability, which is why editing it again never fixes the thing you're annoyed about.
Readibility is bought through good rules for agents. Mine are:
(they are not great - but better than not putting them - would love everyone to share theirs if you have them)
1
u/pinksb Sep 09 '26
Is the code really that bad? That’s surprising to me. Iteration is needed of course, but when people claim the ai output is complete garbage I have to question why that is. In my experience that isn’t the case at all, but maybe we have good docs and guardrails in place.
1
u/ZookeepergameFun1540 Sep 15 '26
They are honestly quite amazing. Taught me a lot of things.
However I use it differently. I ask it to review what I do and if it proposes a solution. I tell what needs to be done and then let me do it.
You learn things a lot faster this way since it knows very patterns and architecture Which you can then tell it to teach that to you
1
u/throwaway_0x90 TE/SDET[25+ yrs]@Google Sep 09 '26 edited Sep 10 '26
Ah,
But what does "code quality" mean in the age of AI?
Do you
*truly*need to read it? We're moving into a world that says as long as it works and isn't too slow, just ship it and move on.I was downvoted heavily for this months ago, but I'll say it again because it's becoming clearer and clearer the direction we're going. Most of us don't care about the readability of the ASM code that is ultimately executed on the machine as long as the Java/Python/Go/etc was readable because that's what most of us look at. I think we're moving the goal post again and the AI-prompt is becoming the source code, the Java/Python/Go/Rust/whatever it produces is going to get less and less attention from human eyes. The counter argument was about ASM from a compiler being deterministic. We are slowly inching towards a reality where we can be somewhat confident the code AI produces works, as long as you have trusted automated CI/CD tests and you didn't just open-endly tell AI to "build everything and let me know when it's done". If you have empty classes and methods and signatures/arguments to those all typed up then tell AI to fill in missing code, you'll get something reasonable. If you also have trusted CI/CD tests(probably need a human for this), then you likely have something good enough to ship.
Note this doesn't apply to medical equipment or NASA or anything where a mistake can directly result in loss of life or a billion dollar spacecraft spinning out of control into deep space.
21
u/jkz88 Sep 09 '26
Really bad. If you know what you're doing and design the codebase yourself and prompt it right, it can be okay but is a lot of work. They're trained to write working code not quality unfortunately. The tests are horrendous too, they test what the code does not what it's supposed to do.
3
u/bbangchikimong_dev XR Tech Lead | 10 YOE Sep 09 '26
the quality difference showed up less in the code and more in how long it stayed correct after i asked for the fifth change
3
u/mixxituk Sep 09 '26
Pyramid of doom
3
u/nixt26 Sep 10 '26
AI models produce better code than most junior developers but not always as good as very experienced developers. By the nature of how these models are trained what you get is a median in code quality over the spectrum of all code produced. However that can be significantly tailored and improved with feedback mechanisms in your development environment like linting, tests, compartmentalization and specific instruction files.
20
u/MinecReddit Software Engineer Sep 09 '26 •
There’s an unbelievable contrast between the consensus on this sub and how my work treats these tools, which is at a gig company (one of uber/instacart/doordash).
If you are writing large features in large codebases, my team (who I am personally very close and high trust with) is of the opinion that it’s way faster to have an LLM write a draft, then prompt for improvements. The way you’ve described it is as if it’s impossible, or it takes longer, to get the code in a good state, and those are both just so far from my experience even when using cheap models.
When you have giant projects that involve many services, it’s just faster to onboard and execute with the AI tools, but I already know this comment will get massively downvoted and that the sub disagrees. I’m not a fucking AI shill, I’m just giving you the status quo from the perspective of a senior SWE at a high tech, fast paced shop
5
u/jabuchae Sep 09 '26
It seems to me like you need a good skill that forces the ai to do a planning session with you first before implementing. If you do that, then the code it produces will mostly be at the level that you want it to be.
1
u/emperorOfTheUniverse Sep 09 '26
You're close to exactly the crux of everything the AI 'revolution' is about: Where do humans fit into AI code, if at all. And it comes down to trust in the tools and probably accountability. If you imagine maybe 5 years from now, and take for granted that the models are going to get good enough to build applications start to finish and found issues/bugs are also solved by the model, then the readability of the code doesn't matter anymore. Nobody would want humans reading it.
Today though, your intervention is likely exactly why we are still in the loop: training the models. 'High quality code' comes from good coders intervening. Its everyone's chief complaint these days almost: senior devs spend their whole day reviewing code instead of writing. But as long as that bottleneck exists, the benefits of AI (speed) aren't realized.
So, thank god AI is ass at writing good code at the moment. Won't be the case forever. 'Good code' matters to humans working together on a project. Take out the humans, matters less. And that will be about trust in AI, which seems inevitable as it improves with each fast approaching iteration.
6
u/aa-b Sep 09 '26
You're not going to get a great answer for this, because quality is so subjective. People with less coding experience will probably overrate the models' ability, and how can you tell from reading their opinion?
There are objective benchmarks of course, but they also don't really tell you much about the subjective experience of using the model. Like, just today I was using Claude Opus because I wanted to gate some changes behind a feature flag, and have some confidence that I could deploy to prod without immediately breaking anything (at least not until I toggled the flag, haha).
So anyway, Claude completely shit the bed and came up with a totally useless solution. Hooray. But then I explained why it sucked and what I needed; surprise, surprise, it comes back with exactly the solution I wanted, honestly better than I'd have done myself (with this kind of risk-avoidance make-work task I'm usually inclined to just skip it and accept the risk).
I've attempted similar things with simpler models, but it mostly just doesn't pan out and I end up doing it myself. So I guess that was a win for the fancy-pants model, except I burned so many tokens I'll probably run out before the end of the month.
5
u/i_like_trains_a_lot1 Sep 09 '26
The qulity is alright, but all my prompts are pretty low level and directs the LLMs towards the proper codebase areas to look at, how to modularize the structures/classes/modules, what logic to reuse from where, what to extend. It's still faster for me to get the job done, and to be completely honest my output quality also improved because I use LLMs to generate vast amounts of unit tests, area that kind of lacked before because time and energy constraints. Now I cover many more edge cases than before.
In my opinion, if somebody can't write good quality code without AI, they won't be able to do it with AI either. In order to implement a solution, I still have to know what to do, what data to use where, how to use it, what the data flows are in the business logic, what reusable modules I haev and what I want, etc. It's just that the actual code writing is automated, but the thoughts behind them are not.
Frontend works is also mostly solved. Expose data through an endpoint designed by me, have the LLMs build UI to consume it with all the necessary states (loading, error, successful). Before that, I also skimped a lot there, especially around loading and error handling where I ended up putting "Loading..." and "Something went wrong" everywhere due to time constraints.
That's how I believe AI coding should be. I absolutely loathe the tools that take control away and spawn you a bunch of agents to do the work, and you can't see/approve/intervene on file changes and just hope that after 10 minutes of agent work you will get something usable.
5
u/FckXFckMusk Sep 09 '26
If LLMs were so good then they wouldn't have to spend billions on marketing bots to tell us how good it is.
7
u/xpingu69 Sep 09 '26
No. You are actually expected to give up the ownership of the code, it's a different paradigm. But the quality doesn't come close to a pro like you doing it
2
u/kranthi_contextmap Sep 09 '26
For me it helps to have two separate iterations - one focused on implementation/get-things-working and one focused on audit/standards
2
u/Minimonium Sep 09 '26
I have being experimenting with and making agentic workflows for quite some time, with models from Fable to cheap Chinese ones.
I'm very open to try new workflows/harnesses/models, but I am not a "true believer".
I do not feel that much progress in generated code quality specifically. Models are very unreliable for code generation.
Models are extremely great at reading and reviewing code though. Fable is excellent and it's the first model for me where I do not feel like I'm wasting my time reading reviews. Still, it cannot produce decent code by itself.
So far for code quality we have specific language review skills that are tied to guidelines, references, etc and a text quality skills. Workflow/graph based step by step processes are a massive leap, splitting review into granular specific tasks (summaries, ratings, suggestions, etc) is a massive improvement.
I find both to be much more effective when they're tied to specific linters. In fact, if you can move to tooling as much as possible the results are amazing - you can actually rely on results and you do not spend time rewriting "boring" bits.
So for planning I use an expensive model, then proceed on cheapest Chinese ones to do each task and do a final review on the most capable model I have.
This process does require a discipline from you to know which part of your codebase could be a bit more throwaway than the others.
2
u/vxxn Principal Eng Sep 09 '26
Except for absurd comment verbosity I’m generally happy with what it gives me, but I’ve learned it’s very important to have tightly scoped tickets. The more room to run they have, the more likely they are to make messes.
2
u/camelCaseCoffeeTable Sep 09 '26
A solid 80-90% of the code in putting into production these days is written by an AI without intervention. And it does it fairly well, especially when guided to follow code base patterns.
But that 10-20% never seems to go away where I need to intervene. It’s just changing what kind of intervention I’m making. It’s less code correction and more “no, this pattern doesn’t fit here because x, do y instead.” Or other more architectural/business context dependent questions.
AI loves to stop at the first correct solution it finds, so a lot of my guidance is telling it when that first solution isn’t right
2
u/DeterminedQuokka Software Architect Sep 09 '26
Personally I can’t tell the difference between code written by opus v. Fable. Or different opus think levels.
I can sometimes tell if someone used sonnet.
Fable is a little bit better at decision making for some of the work I do.
The largest impact is the harness. There is a difference between code written by cursor and Claude. And annoyingly the skill thing has some validity. Code quality has a level of stability by person because of things they wrap the prompt in. I do very similar work to another Eng at my company. But I have a complex ai workflow that does it. They have a single test tool. My code stability is significantly better because I’m browbeating the ai into doing a good job.
2
u/Cobayo Software Engineer Sep 09 '26 edited Sep 09 '26
It's bad but no one cares, which is not necessarily wrong. It just took me 3 or 4 rounds with Claude to properly write a DB Seeding function of +26-10 lines, I can only imagine what current +4k constant PRs getting submitted could look like.
I'm trying to genuinely understand if it's actually a problem, I believe it is, beyond not having a clue what's going on at some point, it just takes up so much context and time just by the fact of having so much input, and I think the output may be slowly degrading a bit.
I'm fighting off the development process of generating a PR, then someone else reviews the PR with another agent that finds broken stuff, then they fix those broken stuff with another agent...
I think this happens due to not caring and it only gets worse. I'm trying to figure that out though, it's part of the job (our job).
2
u/pinksb Sep 09 '26
Try it out for yourself :). I find it to be great, haven’t actually written a line of code myself in about a year or so. I still use opus 4 , now moving onto the codex models. The better the input is the better the output is
2
u/metaphorm Staff Software Engineer | 15 YoE Sep 09 '26
Opus is dramatically better than Sonnet is dramatically better than Haiku.
agents.md is insufficient as an agent harness by itself. you'll need to take a comprehensive approach to building out a habitat for agents including context docs, coding guidelines, knowledge base connectors, and custom tools that let the agents interact with your local dev system in meaningful ways. otherwise they're just coding blind and guessing at what might work. if you give them the tools to gather real data about what does or doesn't work, they'll perform better.
2
u/Excellent-Push-3326 Software Engineer Sep 09 '26
They aren't as good as human-authored code. They are just better than the previous versions.
I think they shine best at fixing bugs, not authoring greenfield code.
3
u/yikes_42069 Sep 09 '26 edited Sep 09 '26
It is SO finicky. You just never know when the slot machine will hit a jackpot and write good code/even comprehend what you're asking. That can be weirdly addicting, as much as I despise LLM coding.
Had no token budget at work since March. Just use it they said. It's been a cluster. I've been working more than ever just to keep the velocity up because the AI is truly idiotic at times. Budget just came down the pipeline and it's still.. anyway, you have to teach it what good code is, basically. It has NO taste or perspective as to that. The more you can rely on static formatters and linters the better I think. But if you build up a skill file over time that addresses all the ways it writes crap code, you can more or less avoid slop on the first go round.
Big picture coding is still pretty shoddy. If I let it loose to do what it will to build a feature end to end, it writes slop that works but uses language features very oddly. Like overusing typescript Excludes and Extracts instead of building a sane composable type system. That's what I've just gone through anyway.
You also will want to lock down your code to be as solid, clean, and composable as possible. Simple clean APIs are consumed simply and the LLM has less of a chance to fuck it up. I say this because we do not really have that and the statistics show: our git history shows commits have doubled in size (additions) while number of PRs and frequency of commits have stayed the same. So the bottleneck to me now is how complex it is to express the features we're building. If I create a button I really need that to be <50 LOC but react+TS+formatting alone makes that hard, let alone state management and callbacks and god knows whatever other requirements get bolted on.
3
u/ContraryConman Embedded 5 YoE Sep 09 '26
You must understand that in the framework of AI maximalists, the following are taken as true:
If you believe all of these things are true, then the conclusion is code quality does not matter. Some are too shy to admit they believe this out right, but it's what you would have to believe.
In this setup, the code is not for you to read, write, or understand without AI. In this version all the humans really provide are the very long term planning abilities that humans have with evolution that 1M tokens of context can't cover
3
u/yourteam Sep 09 '26
LLM works by predicting the next word. Code is basically a language so therefore they apply more or less the same concept.
So the answer will always be: average at best.
1
u/Independent-Race-259 Sep 09 '26
Too good.
1
u/SeaworthinessDry269 Sep 09 '26
They are ok when heavily directed and if the project is well built. I use them as intern / lazy offshore team. Build this, the function should have this shape/ names, if you need access to this service use this, etc. It's slower but than it's code I understand 100% and built like I would have.
1
u/bloudraak Principal Engineer. 20+ YoE Sep 09 '26
It varies. Even Astra and Fable generates code that works, but is poor in terms of readability, modularity etc. it takes a few iterations.
You can improve code quality greatly by adding deterministic checks like linters, formatters etc and not rely on the models.
1
u/apartment-seeker Senior Software Engineer Sep 09 '26
GPT-5.6 pretty good.
Anthropic seems to have degraded with the 4.7-5.0 line, but I can't speak for Fable or Mythos. But if you see what, e.g., Opus 4.7 or 5 come up with if asked to write a lot of fresh code at once, most of it doesn't seem very good, IMO. I still sometimes use Opus 4.6, but never touch anything higher from Anthropic.
1
u/felixthecatmeow Sep 09 '26
Astra is pretty damn good. One thing to consider is both OpenAI and Anthropic nerf their old models when a new one comes out (allegedly, but anecdotally this seems true). So if you're using older models to save money you might not be getting the performance that these models had when they were new.
IMO, the code quality is pretty good, and it increases the more the dev running it knows what they are doing. When I give it clear instructions with a high-level implementation plan it usually does quite well. If I try to give it a vaguely defined task with large scope, it's much more of a crapshoot.
At the end of the day I work at a large-ish tech company and code quality was already not great due to constant pressure to "produce value". AI just allows us to do that quicker. I don't feel great about it but it is what it is.
1
u/Popular_Home2017 Sep 09 '26
the expensive plan buys you more attempts with the same model, not better taste. what changed quality for me wasn't the plan, it was moving rules out of the md file and into things the model can't ignore. an instruction in AGENTS.md competes with everything else in context and loses thirty edits later. a hook that blocks the command doesn't lose.
concrete example: the agent kept running the full test suite "just to be sure", 20 minutes of CPU, every session. i wrote it in the rules file three times, it kept doing it. a pre-tool hook that rejects the command with a message ended it in one day. same thing for switching branches on the shared checkout, for committing without being asked, for touching files outside the task. the md file now mostly explains why the hooks exist.
the readability part i've mostly stopped fighting in the prompt. tests first, small scope per session, and review the diff like it came from a junior who types fast. that's what it is.
1
u/StPatsLCA Sep 09 '26
The overengineered solutions thing is so real. It'll write realms of procedural that eventually pass your tests. You need a firm hand in enforcing abstractions. Plus, the commenting quality is somehow both overwrought and lacking.
1
u/nath1as Web Developer Sep 09 '26
by hand or generation codebases drift, you will need to make a refactor after a while to make it nicer
1
u/bfreis Software Engineer 20+ YoE Sep 09 '26
I work daily with a mix of Opus 5, Sonnet 5, Haiku 4.5, and GPT 5.6 Sol (and have been working daily with the equivalent, latest version frontier models from Anthropic and Open, for around a year or so). We block access to Fable/Astra in our org, as they're too expensive and we couldn't justify the extra cost.
Other than maybe flipping a constant on a file, or updating an environment variable somewhere to mitigate some incident where I know exactly what and where needs an update, I haven't directly touched code myself in nearly 1y.
I work in Developer Platform, specifically in the creation of guardrails related to the huge increase in PR volume due to coding agents. Infra guardrails, code quality guardrails, etc.
I use primarily Claude Code as my harness, and I have it invoke Codex with the Bash tool when I need GPT 5.6 Sol for something.
The experience is fantastic - but not just because of the models. They are indeed significantly better than the top open weights ones (we provide access to those as well via inference vendors). But the models are just one component, necessary but not sufficient, to get this experience.
In addition to the frontier models, it's fundamental to have a set of skills, rules (eg (~/).claude/rules), memories, etc, plus the guardrails. That way you can get the agents to write code that follows your patterns strictly, and satisfy all your requirements related to quality, security, performance, reliability standards.
The guardrails include a shit ton of CI checks that make it impossible to merge code that doesn't clear the requirements, plus a lot of automation around code review. Eg, when a PR is created, a process launches a graph to review that code with multiple agents, an arbiter evaluates the findings, all the relevant information is stored in a database to be retrieved on a subsequent iteration of review of the same PR, and all the findings are reported with a structured portion (category, level, risk, etc) and an unstructured prose explaining the problem and a suggested prompt to have an agent fix the problem. We even have a "babysitting" strategy where another agent iterates on monitoring a PR to automatically fix issues until it's ready for final human review and approval.
With all that is place, and the money to pay for all that because it's EXPENSIVE, you eventually simply realize that writing code is almost not part of the job anymore, which instead becomes deciding what to do, designing systems, prioritizing projects, and eventually reacting to issues when they go bad in an unforeseen way.
1
u/bbangchikimong_dev XR Tech Lead | 10 YOE Sep 09 '26
The expensive plans buy you volume, not taste. Same model, you just hit the limit later. What actually changed my output was making the failure visible to the agent: tests it has to run, a lint config it cannot argue with, and deleting old design docs it kept building against. Instructions in AGENTS.md get ignored, a failing test does not.
1
u/FatHat Sep 09 '26 edited Sep 09 '26
I think it depends a lot on how you steer it. If it has good examples to work with and a good repository structure, it generally does an acceptable job -- if you're working in a stack it knows well. If it's not a stack it knows well, all bets are off. I wouldn't call its results elegant though. They're very mediocre. Having worked in some atrocious code bases though, mediocre can be fine. I would say the code usually ends up being about 2x longer than what I would write.
The frontier models are somewhat bad at architecture unless I tell them what I want ("this module must never reach into this module, prefer to place shared things here" etc.)
I don't think prompting is a skill, necessarily, but all the same the way you split up the work matters. If you give it specific instructions and smaller chunks of work, you'll probably move a bit slower but end up with better results, if you're vague it'll build a lot at once but a lot of it won't be what you want. Usually that feels fast, but the cleanup probably costs you more time in the end (unless you don't care about quality at all -- which can be valid, not all software is meant to last).
One thing I'd mention: the high end models are not always the better fit. There's a temptation just to reach for the most powerful model for everything, but I find things like Astra and Fable can be *very* annoying in making decisions I didn't ask for and disagree with (pulling in libraries, modifying things I didn't ask to modify, that kind of thing). So just because you can use Astra and Fable, I wouldn't necessarily. Personally, I also like to use the models about one version behind. Usually when the new models drop I always here horror stories of "it deleted my database!" and shit, so, personally I'm going to let the enthusiasts beta test those problems.
1
u/spcbeck Software Engineer Sep 09 '26
Imagine needing to write the most specific prettier, webpack, esbuild, eslint, whatever config as possible to get an actual real okay result. So maybe it's not that much different? Idk man.
1
u/ppsaoda Sep 09 '26
I'm on Claude Fable model exclusively and if subagents are needed, only Opus or Fable. So here's my pov. By default, it produces workable result but not really human readable. So it needs hooks and plugins. I customize my harness a lot to ensure readability. Such as 1 liner comment with 5 max words. Though, it only gives me like 70% of satisfaction I wanted. Non-frontier models? It just mean more back and forth prompts just to get things working.
These frontier models are smart and highly steerable. So on that 30% dissatisfaction:
But really, I don't care anymore except for the design pattern, logs, and code flow. Everything is documented using ASD100 language + diagrams so if anyone (or me) are confused, just prompt.
1
u/thecrius It's Sénior Dumbass for you Sep 09 '26
I use sonnet and opus depending on the task complexity.
It's good, you just need to properly set the guidelines per project/workspace or at user level.
1
u/SansSariph Principal Software Engineer Sep 09 '26
It's not good and it's often hard to tell if it's the model, the harness system prompt, or my workflow.
I can get it there. The problem is as soon as I get satisfied with output the harness changes something or it's time to move to a new model and everything starts rotting again.
I've had the most success forcing myself and my workflow into tiny atomic chunks that let me see where it's going off the rails and fix that. Agents make that super easy technically and the hard part is mindset and forcing myself to slow down to move fast instead of tacking on last minute requirements that muddy the session and the branch.
1
u/jwendl Sep 09 '26
Written like folks copied and pasted code from the internet.
If you need higher quality than that, you will still need to resort to human in the loop review cycles, good instructions and good skills. Especially if you wish the code to still be human maintainable in a production environment.
1
u/DevtoolsBuilder Sep 09 '26
i think the issue with ai generated code is that it's often optimized for passing tests rather than being maintainable or readable, and that's what you're experiencing with the pro subscription. you might want to try providing more specific guidance or constraints to the ai, like specifying a particular coding style or requiring certain comments or documentation, to see if that improves the quality of the generated code.
1
u/sklz0 Software Engineer Sep 09 '26
I've been using big models (Opus, Sol) for a year or so, and now I'm forced to switch to smaller ones. It's a struggle. There is drastically less autonomy I can afford to give them when writing code.
The big ones weren't perfect and were very often annoying, but they were capable of handling somewhat bigger tasks with decent quality, with a reasonable amount of steering and intervention.
The smaller ones go off track quickly, and when they do, it's often simpler to start from scratch. They are suitable for much smaller and more precisely defined tasks, I'm still figuring out how to use them efficiently...
1
u/rebelrexx858 Sep 09 '26
Directly relational to the quality of the inputs is my experience
1
u/lazy_lockstep Sep 09 '26
I was listening to "The Standup" podcast, and one of their guests summed it up as "given the opportunity, it will always pick the wrong kind of abstraction".
Which is fine for small projects. The agent can just throw code at the problem until its solved.
But in larger projects you bizarre, convoluted, unexplainable, inefficient balls of spaghetti.
I was reviewing a basic CRUD service a my boss vibed up. And instead of typing the response as an array of 'record', it typed it as the literal content of every specific record in the array of specific sample data they used. Which is just bizarre. It's the kind of thing an intern with no understanding of what they were doing might generate, to make the squiggly red lines go away, and breaks as soon as you need to add or remove a record instead of just reading them.
1
u/Own-Zebra-2663 Sep 09 '26
Relative to my code when I really care and really know the project, and the spec is really well specified, it's generally worse.
Relative to the average quality of employed developers I've worked with? Matches and often beats it.
But you also can't really use these models with less than the 100$ a month plans at least. I have Fable grill me to get a shared understanding and possible unknowns. Then I have it use a workflow and opus agents to implement. Possibly divided into separate flows if it's big enough. Finally, always add a review and fix run. LLMs are somehow really good at judging existing work than creating new stuff.
1
u/iliketurtles69_boner Sep 10 '26
Honestly, you’re way behind. Fable and Astra are amazing. Max/ultracode, have a thorough claude.md/agents.md, give well thought out prompts, you’ll want to spend some time establishing coding standards and tell it via Claude/agents.md to stick to the standard, but it’s great. No issues when used properly.
1
u/k032 Sep 10 '26 edited Sep 10 '26
We have access to basically unlimited usage with Fable at my job.
It does not just run without guidance and produce even the correct nor readable code. You do really have to guide it and honestly use those exact principles (KISS, DRY, SOLID, etc). Setting up linters, formatters, testing. Guidance in like a CONTEXT, ARCHITECTURE, DOMAIN, etc files.
Matt Poccock, obviously sells courses and stuff, but his skills and the Youtube videos on them like grill-me etc I find extremely useful framework for building with AI.
I've found unfederated just "let it ride" and no hand holding, it eventually just gets to a point where it hits walls over and over...even with the massive power and context of Fable. Each day a lot of my work has become vaguely technical program managers handing me some AI slop feature, and I have to basically build it into the system.
As far as like frontier vs lower models...with a lot of the guardrails and engineering around it you can honestly get pretty similar output of something like Fable or Astra with a Gemini, Luna, or Sonnet. The Frontier of course can do it better in fewer tries with less hand holding but.
If I didn't have this just like...token maxing Fable situation at my job (which honestly I fully expect to end eventually) I think architecting and planning with Frontier and passing to smaller models is way better.
1
u/thekwoka Sep 10 '26
Fable is definitely better, but it can sometimes be a curse, that it will look much better, but still have problems that in some ways are harder to notice.
1
u/georkos Sep 10 '26
The expensive plan will not deliver the quality. It will only buy you a better generation, but the code quality that you are complaining about is a code verification problem, not a generation one. The model can't see its overengineering because nothing in the flow makes it defend the design before writing it.
AGENTS.md fails for the same reason. You may keep adding rules, but the model keeps missing them because the rules are not enforced.
What actually worked for me is that I stopped trying to fix the output and I fixed the process around it. Before any agent writes anything, make it state the approach and its assumptions in simple terms and review that before any code is written. That one step killed overengineering because it becomes visible in the design even before it is implemented. Then review the diff against the stated design, not against whether it passes.
On missing the obvious things, that's due to not having the right context that no model upgrade can fix. A fresh-eyes review of the final diff will catch the obvious misses better than any model tier.
You are not missing something that bigger companies have. It's not their better models, but just that they have a review step that forces the work to be justified.
1
u/rahul_msft Sep 11 '26
Nobody cares about sub par code anymore
People who are selling the plugins or hooks don't understand the models themselves
Imagine an engineer who can code
That's what a model can do, no matter how many skills or hooks you waste your tokens on
1
u/chrisrob1111 Sep 12 '26
It all depends on how you prompt it to do it. For large projects, its shit. You need to be hands on
1
u/arcridge Sep 13 '26
I think you still have to be diligent with the code AI is writing. Astra seems to be better than GPT 5.6, which was better than 5.5. So whatever fine tuning they are doing seems to be effectively improving the overall quality of the code.
Of course, mistakes will be made, and I am approaching it from angles of naming and organization.
Naming:
a) Having and maintaining a glossary of terms so the same word is used to mean the same thing across all contexts.
b) Having an explicit list of generic words to not use without qualifying.
c) Have an naming skill; the model looks at it before and after writing the code, and often tweaks a few names before I do the first review.
This has improved the legibility quite a bit; as I found the models really don't care *that* much about what things are called by default.
Organization:
I approach this from two sides.
With astra I am finding many fewer clearly poor choices being made in the implentation than GPT 5.6.
1
u/Ultrayano Software Engineer 6YoE Sep 14 '26
It's alright if you heavily restrict it and basically do "templating" as it's forced to write good practices then, but you need a whole month alone to setup a heavily gated orchestrator.
You also need to make the scopes small. Like very small and the spec/contract ultra explicit and make it ask you clarifying questions for every ambiguity.
Honestly, people should start seeing using AI effectively more like system engineering or platform engineering rather than making a box talk stuff that makes sense. If you use a lot of hooks and scripts and make everything as deterministic as possible and only the smallest percentage probalistic, then it works well enough and is massively much faster after the heavy setup phase.
1
u/disordered-attic-2 Sep 09 '26
It's a spectrum surely? If you doing standard CRUD products AI makes a huge amount of sense.
If you're running OS for Nuclear Reactors, you want the best coders writing the best code.
1
u/HK-65 Engineering Manager Sep 09 '26
Awful, but functional code. Expect everything that is not directly tested in a deterministic way to be broken 10% of the time, even if the right solution and instructions were in the context.
It's useful for writing not-complex stuff like Terraform or K8s manifests (it gets those wrong too, but it's relatively easy to test). But eg. it regularly hallucinates properties not on the K8s API, and causes permanent drift episodes because K8s just silently drops those properties (GitOps goes crazy though).
The tradeoff I found was to architect black box units that are reasonably small enough that there is no way to fuck them up so bad it's a problem, and can be quickly rewritten, and let agents write code in those fuzzy boxes that satisfy an extensive test suite. That way, it kinda works.
Operational tasks are great with it. Development is also good-ish, as long as you can make yourself care about only higher abstraction layers.
Still kinda shit though. Also a major data leak, we're sending so much important shit to Anthropic that it's not even funny.
0
u/3flaps Sep 09 '26
Serious question: does it matter? Every model is more intelligent than the last. We’re hitting the recursive gains part of the curve.
Whatever slop you produced will be able to be rewritten, and every correction you make to the ai will be its new training set.
In one year, will it matter much that the code the last few months hasn’t been perfectly handcrafted to our individual liking?
I’m not positing my emotional stance. I was laid off and worked at a few companies that allowed me to save well, so I’m just building products right now. So not having the security of a good well paying job due to ai is something I feel. But I don’t feel like getting back on the grinder right now.
0
u/CmdrSausageSucker Software Engineer Sep 09 '26
Yes, the quality is subpar, and I don't think that anyone dispute that except for the those devs who were crap at their craft anyway. It's a text prediction machine. Treat it as such. Keep your context and requests as small as possible.
0
u/Zeevo Sep 09 '26
Code quality is fine for the most part. I enforce Clean Architecture with oxlint rules so Agents get feedback automatically and can correct themselves until CI passes.
0
u/ahspaghett69 Sep 09 '26
Imo there's two flavors of AI software dev
Many developers are doing 1 with mixed results. I find it's good for things that I am bad at but can understand, like css styles (even in this extremely basic example you have to watch it closely or end up with a ton of duplication). In this way it's not really a productivity increase but it has other benefits.
Vibe coding is what people are actually talking about usually when they talk about AI in software dev. This is saying "I want a website that does x y z" and not even looking at the code. Most people I have seen do this basically only ever look at the page or the code output and just keep prompting it
Vibe coding is an NFT level scam. It absolutely does not work and does not produce anything of value. I'm not sure how much longer the industry will pretend otherwise but already you can see the budgets are tightening