@carlos170316912
Carlos TorresDeveloper▲5
Senior Software Engineer | DevSecOps & Compliance | AI Integrations, Independent
8m ago · Link · Agents, AI Adoption, AI Engineering, General Discussion · Maracay

I was on the verge of paying double for a more powerful AI model.

I was on the verge of paying double for a more powerful AI model.

But first, I checked the data. Thank goodness I did.

I have six AI agents working in a chain: one plans, one codes, one reviews, one tests, and one validates.

Some tasks were completed on the first attempt. Others required 3, 4, or even 5 iterations.

My immediate diagnosis was: "The plan is flawed; I need a better model."

It seemed logical. However, the data told a different story.

I analyzed the 28 completed tasks, one by one:
→ 12 of the 27 additional iterations weren't the fault of any agent; they were caused by a rule I had written myself.

→ 8 or 9 stemmed from the plan itself. Nearly half of these were simple, mechanical oversights that could have been avoided with a checklist.

→ And most revealing of all: the planning agent was already using the most powerful model for several tasks—and it still failed.

The final tally:
❌ A more expensive model: 5 fewer iterations.

✅ Modifying my own rule: 12 fewer iterations. And at zero cost.

And who spotted the underlying errors? Another agent—using the same model—by reviewing the plan with a critical eye.

The bottleneck was my own process.
I was able to measure this because every task leaves a trail: the plan, the review rounds, and the cost per agent.

The image shows the real-time dashboard (using demo data).

It’s open source. Link in the first comment 👇

What would you have done: change the model or revise the process?

github.com logoRead the original article ↗github.com · /carlos17031691/base-ai
AgentsAI Builders ToolkitToolsSkillsHot ReposMember Repos

Comments

No comments yet
Start the conversation.
Log in to join the thread.