Urgent.News

What's breaking now, across thousands of outlets.

AI

How we built teams of AI agents that don't loop

"Multi-agent" demos usually show a few agents chatting in a shared room until something good comes out. That works in a demo. In a product it gives you loops, duplicate work, agents answering questions nobody asked, and token bills that grow with every round. AWFlow (a browser extension for automation) recently shipped agents and teams of agents. Each agent has its own model, instructions,…

Most demos of multi-agent systems feature a few agents chatting in a shared space until something useful emerges. However, this approach is problematic when applied to products, as it leads to loops, duplicate work, agents answering unnecessary questions, and escalating token costs with each round. AWFlow, a browser extension for automation, recently launched agents and teams of agents to address these issues.

Each agent in AWFlow comes equipped with its own model, instructions, memory, skills, and rules. The coordination runtime is the key component that makes teams of agents usable. In the post, the focus is on the coordination runtime, which ensures teams of agents behave effectively and efficiently.

A team of people operates with a defined way of working, a clear map of who hands work to whom, and set budgets. In contrast, a free-for-all coordination, typical in most demos, results in loops, duplicate work, and growing token bills. AWFlow's coordination runtime operates on a team snapshot, which includes members, roles, the way of working, the handoff map, rules, and limits. When a thread starts, the runtime uses this snapshot to make decisions. Changes to the team can't silently alter the rules during a conversation.

AWFlow presents three ways of working for teams. The first is the classic manager shape, where a lead merges the parts into one answer. This method works well for open-ended goals like "plan a weekend in Lisbon". The second method, the pipeline, removes planning altogether and has members running in a fixed order, receiving the previous result.

Each member uses its own model, skills, and rules and returns a result back to the agent that asked. The third and last method, the open table, is for when a human is steering. Handoffs follow a map, and the tool only exists when the map specifies someone to hand to. Agents that can't be handed to don't have a tool, making the process more cost-effective and reliable.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

The Sloth Inbox: I Built an AI That Dreads My Inbox So I Don't Have To 🦥

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady What I Built Tomorrow is International Sloth Day , and I have decided the sloths are right about everything.

  • Developer created AI tool "The Sloth Inbox" to manage email overload.
  • AI tool uses open-weight model to categorize emails overnight.
  • Morning brief shows only top 3 priority emails for user attention.

More from Wednesday 21 October →