Quick answer: Wrap the AI agent in a harness and give it a map. The harness is permissions it can’t override, automated checks that really fail, and a progress file. The map splits the work into planner, builder, tester and reviewer, with failures sent back to the builder.
Two weeks ago I wrote about how Claude Code changed the way I work on MuleSoft. Since then I’ve learned that the AI model is the least interesting part of that setup. What matters is everything I built around it. My take up front: an AI coding agent is only as trustworthy as the harness around it and the map it works inside.
The data: everyone uses AI, few trust it
Adoption is nearly universal. 84% of developers use or plan to use AI tools, up from 76% the year before (Stack Overflow 2025 Developer Survey).
Trust is not. More developers distrust the accuracy of AI tools (46%) than trust it (33%). Only 3% “highly trust” the output.
Even the builders see it. Anthropic’s own engineers, running Claude on long coding jobs, saw a “tendency to mark a feature as complete without proper testing,” and new sessions that would “declare the job done” too early.
The gap isn’t intelligence. It’s guardrails and roles.
Picture a robot that builds with LEGO
Imagine a really smart robot that builds with LEGO. It’s fast and clever, but it isn’t careful. It might grab something dangerous, forget what it did yesterday, or say “I’m done, it’s perfect!” when it isn’t. Two kinds of engineering fix that.
Harness engineering: the safety gear
The harness is the locks, checklists and notes around the robot. It doesn’t make the robot smarter. It makes it safe and honest. In my MuleSoft setup, that’s three things.
Locked cabinets. Some drawers it simply can’t open, no matter what it says. Claude Code can’t read my .secrets folder, and it has no permission to push code. Those rules live in the tool’s permission settings, not in a polite request inside a prompt.
A checklist it can’t fake. Before the agent says “done,” a machine checks the work. My test step used to be a checklist that always said “Great job!” even when nothing had been checked. It looked green every time. Now it really runs the checks, and it fails when the work is broken.
Here’s what that looks like for me.
With my client’s approval, With my client’s approval, I set up Claude Code as my own small MuleSoft team. One agent reads the Jira ticket and plans the change. One builds the Mule app in my GitHub repo, using the Anypoint MCP server to look things up in Anypoint Platform. One tests it. One reviews it like a grumpy senior developer before I ever see it. I’m the tech lead: I set the rules, I approve the work, and I’m still the only one who can push code.
A notebook. The robot forgets everything when a session ends. A notebook says “here’s what I finished and what’s next” so tomorrow’s session picks up where the last one stopped. Anthropic’s fix is a progress file that “keeps a log of what agents have done,” read alongside the git history. I don’t have this one yet, and I feel it: every new session starts by re-learning the project.
Graph engineering: the map of who does what
A quick note on the name. “Graph engineering” is my label, not an industry-standard term. The closest thing Anthropic writes about is multi-agent orchestration, where “a lead agent coordinates the process while delegating to specialized subagents.”
Now picture a team of robots instead of one. One draws the plan. One builds. One is the tester, who pokes everything to see if it breaks. One is the grumpy inspector, who finds problems. The graph is the map with arrows between them: plan, then build, then test, then inspect. Some arrows loop back.
The loop is where I made my most recent change. My tester used to fix its own cracks and then grade itself. That’s checking your own homework and giving yourself an A. Now, when the tester finds a failure, the arrow points back to the builder. The tester only reports.
It’s the same rule we already use for people: whoever writes the code doesn’t approve the pull request.
What I’d tell an engineering team
Lock the drawers with permissions, not prompts. Secrets, production credentials, push and deploy rights. If the tool can’t reach it, nothing the model says matters.
Make “done” a machine’s call, and test the test. A check that can’t fail is worse than no check, because it gives you false confidence. Break something on purpose and confirm the check catches it.
Keep a notebook. One progress file per project: what’s finished, what’s next, what’s broken. This one is next on my own list.
Separate the builder from the grader. Failures go back to whoever built the work. Nothing signs off on itself.
Add roles only when they pay. Anthropic found its multi-agent system used about 15 times the tokens of a normal chat. Tokens are the units AI usage is billed in. More robots means a bigger bill.
My take
You need both. Graph is who does which job and where the work goes next. Harness is the locks, real checklists and notebooks that keep everyone honest. A great map is no help if the robots can cheat, and great locks don’t help if nobody knows whose turn it is. So before you ask whether your team’s AI is smart enough, ask whether it’s honest enough.
Hiring for this skill set? iPaaS Jobs lists open MuleSoft and Workato roles, and iPaaS Rank shows what they pay. I built both sites.
FAQ
What is harness engineering for AI coding agents?
The locks, checks and notes around an agent: permissions it can’t override, a test step that really fails when the work is broken, and a progress file so each session picks up where the last one stopped.
What is graph engineering?
My label for multi-agent orchestration: specialized agents with set roles and a defined flow of work between them, such as plan, build, test and review.
How do you stop an AI agent from approving its own work?
Separate the builder from the grader. The tester only reports, failures go back to the builder, and nothing signs off on itself.
Before you go
Bringing AI coding agents into your integration team? I take remote C2C contract roles on MuleSoft, Workato and complementary iPaaS solutions through Liem Nguyen LLC. Hire me on contract: book a 30-minute intro call.
Reply and tell me: when your AI says “done,” what actually checks that it is?
Know an engineering leader rolling out AI coding tools? Forward them this issue.
Got a MuleSoft backlog? iPaaS Team is an AI agent team run by a certified MuleSoft architect, for one flat monthly fee. See ipaasteam.com
Sources: Stack Overflow, 2025 Developer Survey: AI (2025). Anthropic, Effective harnesses for long-running agents (November 2025). Anthropic, How we built our multi-agent research system (June 2025).




We'd have the test step write its results straight to the progress file and include the revision it checked. If the next session finds a missing result or one from an older revision, that check stays open. That gives tomorrow's session a reliable place to pick up.