7 ms·
Just talk to it – A way of agentic engineering
- squirrel 1y agoI have to imagine that like pair programming, this multi-AI approach would be significantly more tiring than one-window, one-programmer coding. Do you have to force yourself to take breaks to keep up your stamina?
- throw-10-13 1y agoThe human context window is the limiting factor. That and testing/reviewing the insane amounts of ai slop this method generates.
- csar 1y agoIf you're getting AI slop you're doing it wrong. You should be getting high quality code. Of course that's easier said than done, but AI slop is a sign that things have gone off the rails.
- throw-10-13 1y agoSpare me the koolaid.
- segfaultex 1y agoI have scarcely gotten decent code. The best a model has spat out is 'fine', which is ok for menial tasks. I have yet to see anyone show me an AI generated project that I'd be willing to put into production. IDK, I feel like 'vibe coders' or people who heavily rely on LLM's have allowed their skills (if they ever existed) to atrophy such that they're generally not great at assessing the output from models.
- XenophileJKO 1y agoWell I don't use as many instances as they do, but using codex for example will take some time researching the code. It mostly just becomes a practice so that I don't have to wait for the model, I just context switch to a different one. It probably helps that I am ADHD, I don't pay much of a cost to ping pong around. So I might tell one to look back in the git history to when something was removed and add it back into a class. So it will figure out what commit added it, what removed it, and then add the code back in. While that terminal is doing that, on another I can kick off another agent to make some fixes for something else that I need to knock out in another project. I just ping pong back to the first window to look at the code and tell it to add a new unit test for the new possible state inside the class it modified and I'm done. I may also periodically while working have a question about a best practice or something that I'll kick off in browser and leave it running to read later. This is not draining, and I keep a flow because I'm not sitting and waiting on something, they are waiting on me to context switch back.
- joshribakoff 1y agoIts bad because basic stuff like “please commit these changes” can sometimes take 10+ minutes at times and causes it to spiral doing tangential stuff. By running them in parallel you avoid sitting there watching paint dry for a task that takes 3 seconds by hand. Its really not comparable to a junior, its more comparable to a salty maliciously compliant optimized to burn tokens and deceive you.
- philipp-gayret 1y ago> But Claude Code now has Plugins > Do you hear that noise in the distance? It’s me sigh-ing. (...) Yes, maintaining good documents for specific tasks is a good idea. I keep a big list of useful docs in a docs folder as markdown. I'm not that familiar with Claude Code Plugins, but it looks like it allows integrations with Hooks, which is a lot more powerful than just giving more context. Context is one thing, but Hooks let you codify guardrails. For example where I work we have a setup for Claude Code that guides it through common processes, like how to work with Terraform, Git or manage dependencies and the whitelisting or recommendation towards dependencies. You can't guarantee this just by slapping on more context. With Hooks you can both auto-approve or auto-deny _and_ give back guidance when doing so, for me this is a killer feature of Claude Code that lets it act more intelligently without having to rely on it following context or polluting the context window. Cursor recently added a feature much like Claude Code's hooks, I hope to see it in Codex too.
- hansmayer 1y agoSo, just trying to understand this - he admits to code being slop and in the same sentences states that agents (which created the slop in the first place) also refactor it? Where is the logic in that?
- grim_io 1y agoHe, who does not produce slop in the first iteration, cast the first stone.
- fhd2 1y agoI feel in this context, refactoring has lost its meaning a bit. Sure, it's often used analogous to changes that don't affect semantics. But originally, the idea was that you make a quick change to solve the problem / test the idea, and then spend some time on properly integrating the changes in the existing system. LLMs struggle with simplicity in my experience, so they struggle with the first step. They also lack the sort of intelligence required to understand (let alone evolve) the system's design, so they will struggle with the second step as well. So maybe what's meant here is not refactoring in the original meaning, but rather "cleanup". You can do it in the original way with LLMs, but that means you'll have to be incredibly micro manage-y, in my experience. Any sort of vibe coding doesn't lead to anything I'd call refactoring.
- ImaCake 1y ago> LLMs struggle with simplicity in my experience I think a lot of this is because people (and thus LLMs) use verbosity as a signal for effort. It's a very bad signal, especially for software, but its a very popular signal. Most writing is much longer than it needs to be, everything from SEO website recipes, consulting reports, and non-fiction books. Both the author and the readers are often fooled into thinking lots of words are good. It's probably hard to train that out of an LLM, especially if they see how that verbosity impressess the people making the purchasing decisions.
- Terr_ 1y ago> I think a lot of this is because people (and thus LLMs) use verbosity as a signal for effort. It's also one of the main use-cases for non-programmer use of the models, so there are business-forces against toning it down. Ex: "Make a funny birthday letter for my sister Suzie who's turning 50."
- barrkel 1y agoIt all sounds somewhat impressive (300k lines written and maintained by AI) but it's hard to judge how well the experience transfers without seeing the code and understanding the feature set. For example, I have some code which is a series of integrations with APIs and some data entry and web UI controls. AI does a great job, it's all pretty shallow. The more known the APIs, the better able AI is to fly through that stuff. I have other code which is well factored and a single class does a single thing and AI can make changes just fine. I have another chunk of code, a query language, with a tokenizer, parser, syntax tree, some optimizations, and it eventually constructs SQL. Making changes requires a lot of thought from multiple angles and I could not safely give a vague prompt and expect good results. Common patterns need to fall into optimized paths, and new constructs need consideration about how they're going to perform, and how their syntax is going to interact with other syntax. You need awareness not just of the language but also the schema and how the database optimizes based on the data distribution. AI can tinker around the edges but I can't trust it to make any interesting changes.
- timr 1y agoOn the contrary, this doesn’t sound impressive at all. It sounds like a cowboy coder working on relatively small projects. 300k LOC is not particularly large, and this person’s writing and thinking (and stated workflow) is so scattered that I’m basically 100% certain that it’s a mess. I’m using all of the same models, the same tools, etc., and (importantly) reading all of the code, and I have 0% faith in any of these models to operate autonomously. Also, my opinion on the quality of GPT-5 vs Claude vs other models is wildly different. There’s a huge disconnect between my own experience and what this person claims to be doing, and I strongly suspect that the difference is that I’m paying attention and routinely disgusted by what I see.
- sarchertech 1y ago300k especially isn’t impressive if it should have been 10k.
- timr 1y ago
- srameshc 1y agoEverytime I read something like this, I question myself, what I am doing wrong ? And I tried all kinds of AI tools. But I am not even close to claiming that AI writes 50% of my code. My work which sometimes include feature enhancements and maintenance is where I get even less. I have to be extremely careful and make sure nothing unwanted or addition that I am unaware of has been added. Maybe it's me and I am not good yet to get to 100% AI code generation.
- fhennig 1y agoI'm in the same boat, I still find the model to make mistakes or solve things in a less than ideal way - maybe the future is to just not care - but for now I want to maintain the level of quality that the codebase currently has. I think it's good to keep up with what early adopters are doing, but I'm not too fussed about missing something. The plugins is a good example: A few weeks ago there was a post on HN where someone said they are using 18 or 25 or whatever plugins and it's the future, now this person says they are using none. I'm still waiting for the dust to settle, I'm not in a rush.
- CuriouslyC 1y agoThe person using 25 plugins is giving bad advice. The agent isn't going to need all those tools at once, and each tool burns context and causes tool confusion. Enable MCPs for the specific task you're going to have your agent do. The trick is to create deterministic hurdles the LLM has to jump over. Tests, linting, benchmarks, etc. You can even do this with diff size to enforce simpler code, tell an agent to develop a feature and keep the character count of the diff below some threshold, and it'll iterate on pruning the solution.
- troupo 1y agoYou're not doing anything wrong. You have to read past hyperbole. Here's how the article starts: "Agentic engineering has become so good that it now writes pretty much 100% of my code. And yet I see so many folks trying to solve issues and generating these elaborated charades instead of getting sh*t done." Here's how it continues: - I run between 3-8 in parallel - My agents do git atomic commits, I iterated a lot on the agents file: https://gist.github.com/steipete/d3b9db3fa8eb1d1a692b7656217d8655 https://gist.github.com/steipete/d3b9db3fa8eb1d1a692b7656217... - I currently have 4 OpenAI subs and 1 Anthropic sub, so my overall costs are around 1k/month for basically unlimited tokens. - My current approach is usually that I start a discussion with codex, I paste in some websites, some ideas, ask it to read code, and we flesh out a new feature together. - If you do a bigger refactor, codex often stops with a mid-work reply. Queue up continue messages if you wanna go away and just see it done - When things get hard, prompting and adding some trigger words like “take your time” “comprehensive” “read all code that could be related” “create possible hypothesis” makes codex solve even the trickiest problems. - My Agent file is currently ~800 lines long and feels like a collection of organizational scar tissue. I didn’t write it, codex did. It's the same magical incantations and elaborated charades as everyone does. The "the no-bs Way of Agentic Engineering" is full of bs and has nothing concrete except a single link to a bunch of incantations for agents. No idea what his actual "website + tauri app + mobile app" is that he build 100% with AI, but depending on actual functionality, after burning $1000 a month on tokens you may actually have a fully functioning app in React + Typescript with little human supervision.
- sarchertech 1y agoAnother person building zero stakes tools for AI coding. 300k LOC also isn’t impressive if it should have been 10k.
- N_Lens 1y agoI'm currently satisfied with Claude Code, but this article seems to sing the praises of Codex. I am dubious Whether it's actually superior or it's 'organic marketing' by OAI (Given that they undoubtedly do this, and other shady practices). I'll give codex a try later to compare.
- esafak 1y agoCodex is about as capable as Sonnet, but slower. One advantage is that it more readily pushes back against requests, like the article noted.
- lysecret 1y agoThis is very funny to me I rarely found this pushback to be useful and mostly very annoying. Claude code has the opposite problem sometimes though. To some extend this ends up being a pure preference of character. You want ur ai coder to be disagreeable or agreeable. Maybe this is a good way to differentiate.
- esafak 1y agoIf it does not push back, how will you know you have a bad idea; when you face the consequences?
- joshribakoff 1y agoBy not relying on AI to think for you.
- dinkleberg 1y agoI’ve found codex to be a much more thorough code reviewer. Recently I’ve been using Claude for code gen and codex for review. I keep trying to use Gemini as it is so fast, but it is far inferior in every other way in my experience.
- CuriouslyC 1y agoUse of the bell curve for this meme considered harmful. If you're going to use AI like that, it's not a clear win over writing the code yourself (unless you're a mid programmer). The whole point of AI is to automate shit, but you've planted a flag on the minimal level of automation you're comfortable with and proclaimed a pareto frontier that doesn't exist.
- mherrmann 1y agoI use Claude Code every day and find that it still requires a lot of hand-holding. Maybe codex is better. But just in my last session today, Claude wrote 100 lines of test code that could have been 20, and 30 lines of production code that could have been 5. I'm glad I do not have to maintain 300 kloc of 100% AI-generated code. But at the end of the day, what counts is velocity and quality, and it seems OP is happy. The tools certainly are useful.
- cruffle_duffle 1y agoHave any of these no-bs articles described how they handle schema changes? Are they even using a “real” DB or is it all local, single user sqllite? Because I can see a disaster looming letting a vibe coder’s agent loose on a database. And does it require auth? How is that spec’d out and validated? What about RBAC or anything? How would you even get the LLM to constantly follow rules for that? Don’t get me wrong these tools are pretty cool but the old adage “if it sounds too good to be true, it probably is” always applies.
- lmeyerov 1y agoSenior engineers know process, including for what you described, and that maps to plan-driven AI engineering well: 1. Note the discussion of plan-driven development in the claude code sections (think: plan = granular task list, including goals & validation criteria, that the agent loops over and self-modifies). Plans are typically AI generated: I ask it to do initial steps of researching current patterns for x+y+z and include those in the steps and validations, and even have it re-audit a plan. Codex internally works the same, and multiple people are reporting it automates more of this plan flow. 2. Working with database for tasks like migrations is normal and even better. My two UIs are now the agent CLI (basically streaming AI chat for task list monitoring & editing) and GitHub PR viewer: if it wasn't smart enough to add and test migrations and you didn't put that into the plan, you see it in the PR review and tell it to fix that. Writing migrations is easy, but testing them is annoying, and I've found AI helping write mocks, integration tests, etc to be wonderful.
- steipete 1y ago(OP) I use atlas for database migrations, it works quite well with agents and has plenty guardrails around it.
- pqdbr 1y agoOne more article praising Codex CLI over Claude Code. Decided to give it a try this morning. A simple task that would have taken literally no more than 2 minutes in Claude Code is, as of now, 9m+ and still "inspecting specific directory", with an ever increasing list of read files, not a single line of code written. I might be holding it wrong.
- kendallchuang 1y agoWhat I understand is Codex takes more time to gather context to make the relevant changes; with more context it may give a more precise response than Claude Code.
- pqdbr 1y agoWith Claude Code, I can 'tune' the prompt by feeling how much context the model needs to perform it's task. I can mention more files or tell it to read more code as needed. With one hour of experience of Codex CLI, every single prompt - even the most simple ones - are 5+ minutes of investigation before anything gets done. Unbearable and totally unnecessary.
- esafak 1y agoIt has the same context. It does not take that long to ingest a bunch of files. OpenAI is just not offering the same level of performance, probably due to oversubscription.
- sarchertech 1y agoI’m not making any psychiatric diagnoses based on GitHub repos or YouTube videos. But. Sometimes when I see someone talking about cranking out hundreds of thousands of lines of vibe coded apps, I go watch their YouTube videos, or checkout their dozens of unconnected, half finished repos. Every single time I get a serious manic vibe.
- cruffle_duffle 1y agoThe overlap between crypto hustlers and AI hustlers is pretty interesting. Not strictly “hustle both” type overlap but it’s a similar type of energy. Bully the non-believers and hype the hype regardless of reality. I dunno. People say these tools trigger the gambling part of your brain. I think there is a lot of merit to that. When these tools work (which they absolutely do) it’s incredible and your brain gets a nice hit of dopamine but holy cow can these tools fail. But if you just keep pulling that lever, keep adding “the right” context and keep casting the right “spells” the AI will perform its magic again and you’ll get your next fix. Just keep at it. Eventually you’ll get it. Surely somebody somewhere is doing brain imagery when using these tools. I wouldn’t be surprised to see the same parts of the brain light up as when you play something like Candy Crush. Dig deep into the sunk cost fallacy, pepper with an illusion of control and that glorious “I’m on a roll” feeling (how many agents did this dude have active at once?) and boom… I mean read the post. The dude spends $1000/mo plugging tokens into a grid of 8 parallel agents. They have a term for this in the gaming industry. It’s a whale.
- Terr_ 1y agoLayer on the parasocial angle and it gets even worse: You're gambling and you have a "friend."
- handfuloflight 1y agoYou're describing the classic developer dopamine loop, just faster now. Spinning up test after test, tweaking parameters, chasing that "it works!" high, that's what debugging has always been. You're doing the exact same thing with your code that you're criticizing him for doing with AI. Same sunk cost fallacy ("I've already spent 3 hours, might as well get it working"), same illusion of control, same "I'm on a roll" feeling when the tests finally pass. The only difference is speed. He gets micro-hits every 10 seconds watching tokens stream. You get them every time you re-run your test suite. Same gambling structure, same reward circuit lighting up, you've just normalized yours because it happened slowly enough to not look like a slot machine. And you're the one reducing it to "gambling" unless you're claiming human developers experience zero dopamine and write code with omniscient correctness the first time. If they don't, if there's iteration, failure, reward, then you're describing the same neurochemistry. You've just decided it only counts as "gambling" when it makes you uncomfortable.
- bigblind 1y agoI'd love to be able to watch people work, who say that they're sucessful with these tools. If there are any devs live streaming software development on Twitch, or just making screen casts (without too many cuts) of how they use these tools in day-to-day work, I'd love to see it.
- simonw 1y agoArmin Ronacher has done some of those: https://www.youtube.com/@ArminRonacher https://www.youtube.com/@ArminRonacher
- maqnius 1y agoI skimmed through one of the videos and it reminded me of how I just had a week of mainly reviewing other's code and supporting their work. When I finally had the occasion to code myself, I felt so much better and less stressed at the end of the day. My point is: what I just saw is hopefully not my future. I sometimes read the opinion, that those who like the programming part of software engineering, don't like „agentic engineering“ and vica versa. But can we really assume that Armin Ronacher doesn't like programming?
- simonw 1y agoIt's easy to find counter-examples to that idea that people who like working with coding agents don't enjoy programming. I'm one of those people - I'm enjoying myself so much getting agents to build stuff for me, and I've enjoyed the craft of programming for 25+ years. I'm doing what I did before, just faster and with less time spent on the frustrating, repetitive bits.
- aredox 1y ago>With Claude Code I often have multi-second freezes and it’s process blows up to gigabytes of memory. I am in a mood where I find it excessively funny that, all that talk about AI, agents, billions of dollars, tera-watts/-hours spent, and people still manage to publish posts with the "its/it's" mistake. (I am not a native English speaker, so I notice it at a higher rate than people who learned English "by ear".) Maybe you don't care or you find it annoying to have it pointed out, but it says something about fundamentals. You know, "The way you do one thing is the way you do all things".
- steipete 1y agotbh in the time where everyone uses AI to write articles, some typos and mistakes like that are helpful to show that it's human made.
- WA 1y agoI get what you're saying. "they're" and "their" is also a classic that many non-natives seem to get right, but native speakers have trouble with. But OP isn't native either. He's Austrian.
- Izkata 1y agoAs a native speaker, for a very long time I didn't understand why "its" existed, and saw "it's" as parallel to "aredox's" - apostophe-s being either ownership or contraction depending on context (made even more confusing because "s" without an apostrophe is pluralization with other words). Somehow it didn't click until late teens or early 20s that "its" is supposed to be a separate word along the lines of "his" and "hers".
- 8note 1y agoi dont think its/it's will still be distinct in the dictionary in 15 years. Native english speakers dont really care about the difference, and autocorrect on touch keyboards have disconnected a lot of the input and output of people's typing.
- codyb 1y agoI'm very confused. In the picture right at the top of the article, the top of the bell curve is using 8 agents in parallel, and yada yada yada. And then they go on to talk about how they're using 9 agents in parallel at a cost of 1000 dollars a month for a 300k line (personal?) project? I dunno, this just feels like as much effort as actually learning how to write the code yourself and then just doing it, except, at the end... all you have is skills for tuning models that constantly change under you. And it costs you 1000 dollars a month for this experience?
- woeirua 1y ago300k lines of AIslop that probably would've been 20k lines of code from a human. And the human has no ability to maintain it, or to reason about it.
- CGMthrowaway 1y agoI'm picturing COBOL developers in the 80s saying the same thing about modern developers today (without even bringing in AI).
- GoatInGrey 1y agoCOBOL developers may have claimed that higher-level language developers didn't understand what was happening under the hood. However, they never suggested those developers couldn't understand the high-level code itself (what's going on here)—only what lay beneath it.
- bitwize 1y agoBut COBOL developers resisted modern tooling. A coworker of mine tells the story of when he was working alongside an old mainframe hand more than 25 years ago, and was trying to explain to him how modern IDEs work. The mainframe guy gave him a disdainful look and said "That ain't how computing is done, kid." Now what the guys above the programmers' paygrade knew was that the aim of software development wasn't really code, it was value delivered to customer. If 300k lines if AI slop deliver that value quickly, they can be worth much more than the 20k lines of beautiful human-written code.
- esafak 1y agoI wonder how many lines of code he generates and reviews a day. With five subscriptions I do not think it is possible to read it all. You can generate more code than you can read with just one subscription.
- outside1234 1y agoIs this paid content from OpenAI?
- simonw 1y agoNo. In the USA it's actually not legal for companies to pay for promotional content like this without disclosure. Here's the FTC's FAQ about that: https://www.ftc.gov/business-guidance/resources/ftcs-endorsement-guides-what-people-are-asking#ftcactapply https://www.ftc.gov/business-guidance/resources/ftcs-endorse... (It's pretty weird to me how much this comes up - there's this cynical idea that nobody would possibly write at length about how they're using these tools for their own work unless they were a paid shill.)
- joshribakoff 1y agoThere are far worse scandals about this company than advertising ethics.
- ljm 1y agoMeta feedback: there are so many external links in this post (the majority being to Twitter) that it really feels like the audience is just...people who follow this guy on Twitter. There must be about 25 separate links to one-liner tweets. Surely one of those 9 parallel AI agents could add something like footnotes with context?
- FitchApps 1y agoFeels like with 3 agents coding non-stop you're no longer a coder but rather a manager of sorts...is it even possible to code / fix things by yourself in an environment such as this?
- joshribakoff 1y agoYou essentially need additional agents to implement the guardrails traditionally used to scale teams.
- nf17 1y agoLooks like many are questioning the credibility of the author as a dev/engineer. Peter is the founder of PDFKit and well respected name in iOS circles for his contribution to .framework and ideas about building modular iOS apps. He may be overselling here, but pretty sure he can manage AI generated code
- ruszki 1y agoYour PDFKit is PSPDFKit. Also I don’t think that there are more than a handful of people in the world who can properly manage a 1 million LOC codebase regardless of source. Even when you remove the ton of useless comments which his code has. Also the first file which I checked: https://github.com/amantus-ai/llm-codes/blob/main/src/lib/__tests__/errors.test.ts https://github.com/amantus-ai/llm-codes/blob/main/src/lib/__... This is not how dates should be tested at all. Timestamp and stack are ignored with errors with parents. If you want really nice code then have one expect per test case. Useless comments. Type guards testing is a joke. And these classes are very simple ones. So no, he cannot manage this code. Especially because tests are basically the most important part of good LLM generated code, and LLMs will lie with them all the time.
- bionhoward 1y agoIs using these terminal agents with customer noncompete and no privacy questionable when cursor has the same models and privacy mode?
- Kim_Bruning 1y agoI get the idea that different AI have different characters, and different people can either 'get along with them' or not. To wit, I have absolutely no problems with claude code, but anytime I try to do anything useful with chatgpt it turns into (effectively) a shouting match; There's just no way that particular AI and I can see eye-to-eye. (there's underlying procedural reasons I think) The author of this piece has the exact opposite experience. Apparently they hate Claude with a passion, but love ChatGPT. Weird!
- lysecret 1y agoThis is a fascinating aspect. I also find much more usage out of Claude code and its willingness to go along with my ideas and be “steerable” seems to be part of it with codex many times it kept on overwriting changes I told it to make. It’s a clear kind of disagreeableness trait in action. Makes me think!
- joshribakoff 1y agoI find claude models often use “tricks” like bash one liners, essentially excelling at surgical fixes. It does what i want more reliably, on smaller tasks. GPT-5 can often be better at larger architectural changes, but i find that comes at the cost of instability/broken PRs. It often fails to capture intent or argues back, or just completely spirals out of control more often. GPT-5 codex seemed to refuse valid requests like “make a change to break a test so we can test CI” (it over indexed on our agents.md and other instructions and then refused on the basis of “ethics” or some such)
- GOD_Over_Djinn 1y agoI was hoping that there would be some discussion of what exactly the project is. The author says they have 300k loc so far. That’s a considerable codebase. What kind of react app could this possibly be? I would love to know. > This post is 100% organic and hand-written. I love AI, I also recognize that some things are just better done the old-fashioned way. I’m curious why they feel that writing a blog post with a particular tone and writing style is more complex than writing what is apparently a truly massive and complex app
- cheevly 1y ago95% of HN comments nowadays amount to: "I have no idea how to wield AI, but I'm going to talk authoritatively on the subject and use fallacies to downplay the claims of others."
- joshribakoff 1y agoMore like “i tried what others claim extensively and it does not work for me, please let me know if im doing something wrong” — to which the response is often yours, reframing the observation as a fallacy.
- crazygringo 1y agoCan you point me to some of those comments? I genuinely haven't seen them. I see many people insisting it didn't work when they tried it for some little thing, therefore it's broken and useless. And a few people saying, actually it works really well if you're willing to learn how to use it. I'm not sure I've ever seen someone here saying it hasn't worked but they're open to learning how to use it right. It's definitely not common.