| Creating websites or scripts with Claude is easy. But the moment I use an LLM for complex architecture (like state management or database transactions), it confidently introduces subtle inefficiencies: sub-optimal workflows, race conditions, memory leaks, forgetting one detail, or edge cases that cost me hours to manually debug later. I realized that if you want an AI to catch a bug, you shouldn't ask the model that wrote the code. It will just defend its own work. Instead, I started using a strict multi-agent workflow where I force the top frontier models into specific, hostile roles. The results have completely changed how I build. The Workflow: What happens when you do this: yesterday, I asked Claude to write a concept on how to handle the code for a new complex project. When it hit the 'senior engineer' agent, ChatGPT immediately flagged an essential detail (an API that proved to be incompatible with what we needed) that could have cost me weeks building the project before finding out that we had to re-do the whole project. Claude in a single chat window missed it entirely. ChatGPT, when forced into an adversarial role, caught it in 3 seconds. Why this matters: we are reaching the limit of what a single prompt to a single model can do for complex knowledge work. If you are using AI for anything where a mistake costs you hours of time (or breaks production), letting one model generate and review its own work is a massive risk. The automation: doing this manually by copy-pasting between three tabs got incredibly tedious. So for what it's worth, I built Rauno to automate this exact workflow. It puts the models in a shared chat and forces them to debate each other based on your prompt. How are you currently catching these subtle AI hallucinations in your codebase? Do you just rely on your compiler/tests, or are you using any multi-agent setups to peer-review the output before it hits your IDE? [link] [留言] |
AI & ML
Read original: https://www.reddit.com/r/webdev/comments/1wdhvc9/i_stopped_using_single_ai_models_to_write/
I stopped using single AI models to write concepts for complex code. I forced ChatGPT and Gemini to review Claude and let them discuss the outcome
/u/capibara13 Reddit r/webdev
2 views
← Previous
Meta says it’s changing AI suggestions after posing invasive personal questions
Next →
A secure software factory on Incus, not on Kubernetes
Related
Your AI agent can plan anything. It still can't click "Post".
AI & ML
0
DEV Community
Aletheia: What If AI Stopped Trying to Be Your Answer?
AI & ML
0
DEV Community
Programming: The Invisible Power That Turns Ideas Into Reality
AI & ML
0
DEV Community
ทำไมนักวิทยาศาสตร์ข้อมูลระดับโลกยังแชร์หนังสือปริศนาคณิตศาสตร์ปี 1980
AI & ML
0
DEV Community
Comments0
No comments yet — be the first