DEV Community

Cover image for One blocked task should not stop your entire AI agent team
asagiman
asagiman

Posted on

One blocked task should not stop your entire AI agent team

What happens when you have ten AI agents working on a project, but one of them encounters an approval requirement?

In a poorly designed system, the entire organization can gradually stop making progress. Agents wait for each other, report blockers, and repeatedly ask the human operator what to do next.

The human ends up becoming the orchestration layer.

At Netsujo, we are working on a different approach to autonomous software development.

1. Safety and progress are separate engineering problems

Consider a simple scenario involving four tasks.

Task Current state
A: Deploy a new feature Waiting for approval
B: Verify the deployed feature Depends on A
C: Fix an unrelated bug Ready
D: Update documentation Depends on C

Tasks A and B must wait. Tasks C and D can progress in dependency order, provided their permissions and resources are independent.

The orchestration system should make this distinction automatically.

A blocked task is a local condition, not necessarily a global system state.

2. Every blocked task needs a path to resolution

A useful blocker record should contain:

  • The specific reason work stopped.
  • The component or person responsible for resolving it.
  • The condition required to resume.
  • The last verified state.
  • The next permitted action.

A technical failure, an authorization denial, and an external dependency require different recovery strategies.

Technical failures may allow automated repair. Authorization denials must be respected. External dependencies may require event-driven resumption.

Repeatedly reporting the same blocker is not recovery.

3. Measure autonomy by accepted outcomes

The number of agents, tool calls, commits, or completed sessions tells us surprisingly little about organizational productivity.

I would rather measure:

  • Human interventions per accepted task.
  • Time spent waiting when authorized work was available.
  • Time from failure detection to verified recovery.
  • Repeated approval requests for an unchanged action.
  • Cost per accepted deliverable.

These metrics reveal whether the system reduces human coordination work or merely redistributes it.

4. Contracts are one part of the solution

We are developing Agent Role Contracts (ARC), an open-source tool for checking declared agent roles, task boundaries, review separation, and handoffs.

ARC addresses the consistency of declarations before execution. Scheduling, runtime enforcement, recovery, and final acceptance require additional orchestration capabilities.

The broader challenge is combining these layers so that agents can continue making progress within their authority without compromising safety.

A question for developers building autonomous agent systems

If one agent becomes blocked in your system, what happens to the rest?

Does your orchestrator identify independent work, assign responsibility for recovery, and resume tasks when their conditions are satisfied?

Or does a human have to coordinate the process?

I am interested in concrete architectures, failure cases, and measurable results.

The goal is to build organizations that can reliably deliver outcomes, rather than simply run more agents.

Top comments (4)

Collapse
 
jackymencz profile image
jackymenCZ (jakcmencz) •

Yep, you nailed this one. 😀 A blocked task should stay a blocked task, not turn into a global “STOP EVERYTHING” button. Dependency-aware orchestration is a really nice approach.😊😁

Collapse
 
suirindo profile image
asagiman •

Thanks! 😊 Exactly. The key is to make the scope of a failure explicit.

If a task is blocked, only the work that actually depends on it should stop. Independent agents should continue working.

I think this distinction becomes increasingly important as AI agent teams grow. How we manage dependencies and recover from failures matters just as much as how capable each individual agent is.

Collapse
 
jackymencz profile image
jackymenCZ (jakcmencz) •

Absolutely 🤔AI agents and the people building around them are only going to become more important. It may not be getting much attention yet, but people like you are already working on problems that will matter when the bigger wave arrives. Keep doing what you're doing. The people building AI agents will need this kind of thinking.😊😁

Thread Thread
 
suirindo profile image
asagiman •

Thank you! I really appreciate your encouragement. 😊

I believe the next major challenge is not just making individual AI agents more capable, but enabling them to work together reliably as an autonomous organization.

We're building and testing these ideas in our own daily operations. I'll keep sharing what works, what fails, and what we learn along the way.