I've been using AI to write code since early 2023 — before "vibe coding" was even a term. Back then, I pasted code into ChatGPT for review, then pasted it back into my editor. It was manual work. I got thrown into AI development early.
Later, Cursor, Copilot, and other AI assistants built into IDEs came along, so I switched to those. By mid-2025, Claude Code arrived and gradually became my control panel — talking to AI directly in the terminal, having it read an entire codebase, run commands, and fix bugs on its own. Later I added Codex for long-running tasks and Kiro for multi-model routing. Kiro is AWS's coding agent, and it can switch between models from different providers.
Now I use four AI coding agents at once. Each has its own config files, rules, and temperament.
I previously wrote “From Prompt to Graph: What Has AI Engineering Been Doing These Past Two Years?” about five layers of evolution. This is the build diary for that piece — what you run into when you actually build those layers and run multiple agents at the same time.
You might ask: why not just pick one?
Honestly, I've asked myself that too. I tried using just one, but each has a weakness I can't live with. Claude Code has the best judgment, but its usage is high and it hits token limits easily. Codex can run all day without supervision, but it has no judgment and will blindly do what you tell it. Cursor has the best IDE experience, but it cannot run headlessly in the background. Kiro can switch between models, but it does not understand Claude's instructions.
So I use all of them. Then the problems begin.
Three Generations of AI Coding, and Where I Am
Looking back, the evolution of AI coding tools over the last two or three years is clear.
First generation (2023) — the manual era: ChatGPT exploded. Everyone pasted code in to ask questions, then pasted it back out. There was no integration, no context, and you had to explain your codebase again every time. This was when I came in.
Second generation (2024) — the IDE era: Cursor and Copilot put AI inside the editor, where it could see the files you were changing. Devin introduced the idea of an “AI software engineer,” and people started imagining AI as more than an adviser. This was when I stopped pasting code manually and started having AI inside my IDE edit it directly.
Third generation (2025–26) — the agent era: Claude Code and Codex CLI arrived. AI went from “giving suggestions” to “running commands, changing files, running tests, and iterating until it works.” Running multiple agents in parallel, or Agentmaxxing, also became possible. This was when I started figuring out how to manage these agents.
Most people are now somewhere between the second and third generations. This post is about the problems you hit deep into the third generation — not “how do I get AI to help me write code?” but “when several AIs can all help you write code, how do you stop them from fighting each other?”
Interestingly, I have gone through almost all five layers with Claude Code alone — from “how do I prompt it” → “how do I give it context” → “how do I enforce rules with hooks” → “how do I make it improve itself” → “how do I manage the relationship graph between multiple agents.” I have only just entered the last layer. So far, I only have parallel division of work, not agents rejecting each other’s work and forming a real directed graph. I needed the fourth tool, Kiro, only after reaching the fifth layer. I did not start with four tools at once.
What the Industry Does, and How I Differ
I looked around. By mid-2026, people seem to fall into three broad camps.
First: Divide Work by “Where You Work”
Someone put together a practical split: Cursor close to the code, Claude Code close to the terminal, Codex close to task management.
The flow is: Cursor finds context → Claude Code implements → Codex reviews → the human finishes in Cursor.
In plain language: “one reads, one writes, one edits.”
How I differ: I do not use Cursor as my entry point. I work directly in the terminal because I have too many projects to open an IDE for each one. I also added Kiro as a role — it is my “night-shift operator.” More on that later.
Second: Agentmaxxing (Brute-Force Parallelism)
“Agentmaxxing” means running as many agents in parallel as possible, each doing its own task, while you only merge the results. Sounds great, right? But it takes discipline to implement — every agent needs to be locked into its own isolated working directory, a git worktree, with clear task boundaries and automated gates. You merge in sequence at the end. You cannot let two agents change the same file.
How I differ: My degree of parallelism is low right now. Most of the time, one session runs from start to finish. Occasionally I call an independent agent to review something. I have not reached the point of “three coders writing three modules at once” — partly because I take projects on alone, and partly because my context management is not good enough to follow three parallel threads at the same time. This is what I want to improve next.
Third: Complementary Dual Agents
Some people simply say, “one handles thinking, one handles execution” — Claude thinks, Codex does. No need for three or four. Just two with clear roles.
How I differ: This is closest to my core approach. But I have Kiro and Cursor for special situations, so my setup is more complex.
A Side Note: How Stripe Solves the Same Problem at a 4,000-Person Scale
Recently, Stripe’s head of Data & AI, Emily Glassberg Sands shared how their internal knowledge AI platform, Kai, works. The interesting part is that they ran into the exact same problems I did, only at a completely different scale:
- They also let people build agents independently → which led to 4,000+ micro-agents with uneven quality and difficult maintenance. My version: 321 skills, right at the edge of the context budget.
- They also found that coding agents were not enough for non-engineers and came with security risks.
- Their answer was a three-layer platform: Surface API, the AgentStudio control plane, and a shared execution environment. Conceptually, it is the same idea as my “CLAUDE.md / Skills / Hooks + Agents.”
What caught my attention most was one future direction they listed: “Reflection and self-improvement” — letting AI reflect on traces, propose improvements, test them, and submit them for owner review.
That is exactly what I built this week: a nightly cron job runs reflection → automatically changes rules → saves a tracking file for me to review. Stripe’s team of 4,000 has this on its roadmap. I built a poor person’s version as one person. I am not saying mine is better. The direction is the same.
What I Do Differently
1. I Treat Claude Code as a “Foreman,” Not a “Worker”
Most people still have Claude Code write code itself. After using it for more than a year, I found that Claude’s judgment > its execution ability. So I designed it to only plan and verify, not write batch code itself. Writing code is delegated to other executors.
What this looks like in practice:
I put a delegation rule in my main config:
Implementation across two or more files / batch work / refactoring / translation → delegate to an executor (Codex / Kiro subagent) → Claude only handles: writing the spec, accepting the result, and committing
Every time I delegate, I also have to spell out the discipline in the prompt:
You must follow these rules:
- Write a failing test first → make it pass with the smallest implementation → refactor
- Do not write production code without a failing test
- Include evidence when you finish (test output). Do not just say "tests passing"
The cost is that I have to write this discipline out by hand every time I delegate. Executors cannot read my main config. It is like managing people — if the SOP in your head is not written down and handed over, new people will not follow it.
2. I Have a Rule Auto-Sync System
Industry advice is usually: “put every tool’s own config file in the repo and let each tool read its own.” I did not want to maintain multiple copies, so I designed one SOT (source of truth) plus automatic inheritance.
The actual setup:
| Tool | How it inherits the main config | Result |
|---|---|---|
| Kiro | Its agent config directly points to the main config’s path, rather than a copy | When I change the main config, Kiro gets the latest version on its next launch |
| Kiro Skills | A wildcard glob scans the whole folder | When I add a skill file, I do not need to “register” it |
| Cursor | A hook automatically converts the main config into Cursor’s format | Change one side, and the other follows automatically |
| Codex | A hook automatically generates AGENTS.md | Same |
In one sentence: I change one place, and all four tools keep up.
The downside: they occasionally fall out of sync — especially because each tool’s guard rules, or hooks, use different formats. I change one side and forget the other side also needs adjustment. It is like any DRY architecture. The abstraction layer removes duplication, but adds the debugging cost of “wait, is this actually taking effect?”
One trap I hit: I once added a guard hook in Claude: “when running tests you wrote yourself, remind yourself to use an independent agent.” I added it and thought the job was done. But that hook was never registered in the config file — the file existed, but the system did not know it was there. It was like installing a lock and never locking the door. A review caught it later.
3. I Let AI Reflect on Its Own at Night
I have not seen anyone else do this. Most people’s AI moves only when they tell it to. I set up a schedule so AI can run “self-reflection” automatically at night, without opening a UI — scan the record of how I corrected it and automatically update its behavior rules.
What this looks like in practice:
- I use macOS’s built-in scheduler, launchd, to set three scheduled tasks: reflection at 03:00 on Saturday, a weekly review at 03:00 on Sunday, and monthly analysis on the first of each month.
- The schedule triggers Kiro CLI in
--no-interactivemode, with no UI, and gives it a natural-language instruction: “Scan recent records where I corrected you, find behavior patterns, and write rules for improvement.” - When AI finishes, it writes the result into a tracking file in JSON and marks it “unread.”
- The next time I open a session, the startup process reads the tracking file and tells me: “You have two unread improvement suggestions.”
The flow looks roughly like this:
03:00 at night (while I am asleep)
- The scheduler wakes AI up
- AI scans “how many times I corrected it last week, and what I corrected”
- AI writes a new rule for itself, such as “pipeline verification must use three-way cross-checking”
- It saves that rule to the tracking file (
status: unread)- It commits and pushes to the repo
The next day, when I wake up and open a session
- The startup process reads the tracking file
- It tells me: “AI added a rule for itself last night. Do you want to see it?”
- I mark it read after reviewing it, or change it if I think it is wrong
The key design: AI can automatically change “its own behavior rules” — low risk and reversible, because I can change them back next time. But it cannot automatically change anything client-facing or any settings that spend money. That line tells me what it can do on its own and what must wait for me.
It sounds cool, but I only built this this week, and it has not had its first run yet. There will probably be plenty of problems. These are the things that feel perfect in design and show you what is broken only after you run them.
Things Still Being Worked Out (Self-Critique)
I am not going to pretend this system is perfect. Here are a few things I am still working through.
1. The Boundary Between “Move Forward Autonomously” and “Stop and Ask”
My own AI drives me crazy — after every step, it stops and asks, “Should I continue?” It still stops for low-risk things, such as running a test or syncing a file. I added a rule: “do not stop for low-risk, reversible steps.” But will that really work in the future? It relies on an LLM’s reasoning, not a hard guard.
What the industry does: tools offer auto-apply or fire-and-forget modes, but they are all-on or all-off. There is no “use judgment based on the situation.”
What I want: AI deciding for itself when it should ask and when it should just act. Like an experienced assistant: it does not ask for confirmation on everything, but it always asks before something that truly matters. This takes time to work out — just like onboarding someone, you cannot tell them on day one, “handle everything yourself.”
2. The “Decontextualization” of Subagents
This week, a bug came up. I wrote a script and ran tests myself. All tests were green. But when I had an independent agent, with none of my context, run those same tests, it found two FAILs.
The reason was that my main session knew the correct answer because I had just written the script. My “verification” was really confirmation bias — I unconsciously worked around the bug because I “knew how it should run.”
People in the industry talk about a “coordinator + specialists + verifier” model. The verifier has to be an independent agent, which matches my lesson. But most people still run tests in the same session and call that verification.
3. Context Budget Explosion
My config footprint is huge: hundreds of skills, dozens of guard rules or hooks, and more than a hundred memory files. Every session starts near the limit of what AI can read at once, its context window. Industry advice is to “load different context by agent” — each role loads only the rules it needs, instead of carrying everything.
Right now I use one catch-all agent for everything. The next step should be specialist agents with separate responsibilities. But that is a large project, not something I can finish in a day.
4. Habit Change Takes Time
The hardest part is not configuring tools. It is changing my own habits:
- I am used to doing everything in one session instead of delegating.
- I am used to seeing results before I believe them instead of trusting an agent’s report.
- I am used to checking everything myself instead of letting AI move forward on its own.
Research says 43% of AI changes need developer debugging, so mistrust is reasonable — but total mistrust has problems just as total trust does. Your trust setting needs adjustment as you work together.
This relates to how much experience you have using AI tools. I started in 2023. It has been nearly three years, and I am still adjusting these habits. If you are just starting, do not rush. Take it slowly.
Things I Confused, Things I Got Wrong, and Things That Became Useful Only After I Changed Them
Confused Definition: I Thought I Was Building a Graph, but It Was Only Fan-Out
I kept telling people I was building a multi-agent graph, until someone asked me: “Do your agents have a rejection mechanism? Does B check what A did and send it back to A to redo if it is wrong?”
No. I was just throwing five agents out in parallel, each doing its own thing, then collecting their work myself. That is fan-out, parallel expansion, not a graph, a directed dependency graph. A real graph has edges between agents — whose output is whose input, and who can send whose work back for revision.
This misunderstanding made me realize: using one function of a tool does not mean you have reached that engineering level. Knowing how to use git branches does not mean you have a branching strategy.
Something I Never Did but Found Useful Once I Changed It: Regular Reflection
I knew regular review mattered. Every management book says so. But I never actually did it — when I got busy, I skipped it. Then three weeks passed without a review, and I kept making the same mistakes.
This week, I finally automated it. I set a schedule for AI to scan records of my corrections every Saturday before dawn and automatically update behavior rules. I no longer have to personally do the “review” — it happens while I sleep.
But there is an insight here: there is a dangerous jump from conscious → unconscious → automated.
Conscious: I manually run /reflect, read the report, and decide whether to change anything.
Unconscious: I build a habit and automatically scan once at every wrap-up, embedded in the workflow.
Automated: I schedule AI to do it itself, and I do not need to be there.
The question is: after automation, how do I know it changed the right thing? It sees me say “go” three times and adds a rule that says “do not stop in the future” — but one of those three times may have been a time when it should have stopped.
Where Humans Need to Step In: Focus on the Big Things, Let Go of the Small Things
My current standard is crude: let it run when it is reversible; always stop when it is irreversible.
But there is a large gray area between reversible and irreversible. Deleting a file is irreversible, but Git history makes it reversible in practice. Pushing to a private repo is “reversible” because you can revert it, but if it has already triggered downstream CI, it has side effects.
I found that what really helps is not defining one perfect line. It is regularly reviewing the record of what AI did automatically. A manager does not need to participate in every task, but does need to look through reports regularly — not to pick faults, but to calibrate their trust setting.
Specifically:
- AI-generated feedback memory → I scan the titles once a week to see if anything is absurd.
- Things AI commits automatically → I glance at the git log, rather than reading every line.
- Action items from an AI retro → I look only at the “what should change” column and decide whether to do it.
The key to focusing on the big things and letting go of the small ones is knowing what counts as “big.” For me:
- Changing my behavior rules = small. If it is wrong, I can change it back next time.
- Changing something client-facing = big. The cost of rejection is high.
- Killing a project / taking a project / making a commitment = big. It is irreversible.
- Writing memory / organizing files = small. I can overwrite it at any time.
Questions for You
If you also use multiple AI tools, here are a few questions I want to ask you. They are also questions I ask myself.
What hurts the most right now? — Are rules inconsistent between tools? Do you have to repeat the same thing every time? Do you not know which result to trust? Find the pain point, then design. Do not design first and then look for a problem. I am the cautionary example of designing first and looking for problems later.
How much loss of control can you accept? — Are you OK with AI running at night and changing its own rules? Or do you need to see every step with your own eyes? There is no right answer. It is a personal working style.
Does your volume of work justify this setup? — If you only build one product, one Claude Code and one config file may be enough. Coordinating four tools is not cheap. It only becomes worthwhile at a certain scale.
In Closing
What I most want to know is: how do you decide when to trust AI’s judgment and when to step in yourself?
My own answer is still bad — for now, it is “let it run when it is reversible; always stop when it is irreversible.” But I changed that line three times in one week.
