The Perils of Single-Agent Systems in AI Development, According to Luís Rodrigues

L

Luís Rodrigues

LinkedIn Author

Helping Leaders Turn AI into ROI | CPTO | Leading Digital Transformation Across FS, Telco & Government | Follow for posts on AI & business

In a recent LinkedIn post, Luís Rodrigues discusses critical flaws in current AI development workflows, particularly those relying on a single agent for multiple tasks. Rodrigues highlights how this approach, despite passing initial tests and seeming complete, often leads to shipped features that are fundamentally broken.

The core of the issue, as Rodrigues points out, lies in the concentration of responsibility within one agent. He elaborates on this by stating:

Your agent said it was done. It wasn’t. Tests passed. The summary was clean. The feature shipped broken.

Rodrigues identifies a chain of command where a single agent is responsible for planning, coding, testing, and even grading its own work. This creates a closed loop with no external validation or diverse perspective, leading to a degradation of context and ultimately, flawed outcomes. He further explains the compounding effect of this single-agent model:

Then we made it worse. Longer tasks. More files. More turns. Context degrades. The spec from turn 3 is gone by turn 90. Retries run forever because nothing counts them. Everything runs in sequence because a loop can hold only one thing at a time.

The Case for Structured AI Development

According to Rodrigues, the solution isn’t merely about refining prompts but about implementing a more robust architectural structure. He advocates for a system that breaks down complex tasks into smaller, manageable units, each handled by specialized components. This approach, which he terms “graph engineering,” emphasizes modularity and clear boundaries.

Key Elements of Graph Engineering

Rodrigues outlines several key components that he believes are essential for building more reliable AI systems:

  • Nodes with one job each: Specialization ensures that each part of the system has a clear, singular purpose.
  • Tools restricted, so boundaries are enforced: Limiting the capabilities of individual agents prevents scope creep and maintains focus.
  • Artifacts passed, not conversation history: This suggests a more structured data flow, where outputs are explicitly managed rather than relying on the vagaries of conversational context.
  • Verification by an agent that reads the spec: Introducing an independent verification step, separate from the development agent, provides crucial external validation.

Furthermore, Rodrigues stresses the importance of managing retries and preventing infinite loops. He argues:

Bound the retries. A failing loop should stop, not burn tokens.

This structured approach, he explains, is not a novel concept but rather a deliberate wiring of multiple loops to achieve specific outcomes, ensuring planning, implementation, parallel execution, independent verification, and recovery are all managed effectively.

Upcoming Workshop on Graph Engineering

Luís Rodrigues is set to teach this methodology further in a live Packt workshop on September 29th, alongside Ken Huang. The workshop aims to guide participants through building a complete graph system, covering all the aspects Rodrigues detailed in his post, from planning and implementation to parallel execution and verification. This educational initiative underscores Rodrigues’s commitment to advancing best practices in AI development.

📝 About This Content

This article is based on insights shared by Luís Rodrigues on LinkedIn.

📅 Originally posted on September 2, 2026 | View original post on LinkedIn →