International Edition
Latest News
Technology

AI swarm frameworks shift to graph-based workflows, says article

Framework Redesigns and Token Overhead Drive Artificial Intelligence Swarm Development Artificial intelligence infrastructure is shifting rapidly as major technology vendors overhaul their core multi-agent architectures to handle complex workloads. For instance, an internal evaluation by Anthropic demonstrated a…

Hazal Şimşek

Framework Redesigns and Token Overhead Drive Artificial Intelligence Swarm Development

Artificial intelligence infrastructure is shifting rapidly as major technology vendors overhaul their core multi-agent architectures to handle complex workloads. For instance, an internal evaluation by Anthropic demonstrated a 90.2% improvement in results when separating research tasks across an agent swarm, but the configuration consumed roughly 15 times more tokens than a monolithic approach.

Managing that consumption depends heavily on the chosen orchestration framework. In benchmark testing of a five-agent workflow using identical models and tools, LangGraph finished 2.2 times faster than CrewAI because the respective frameworks process tool calls and handle context in distinctly different ways. These operational differences have triggered a broader market reorganization among major software providers.

Vendor Framework Replacements Across the Industry

Between March 2025 and April 2026, leading technology companies systematically replaced or rebuilt their foundational multi-agent frameworks to support graph-based workflows and tighter guardrails. OpenAI retired its experimental Swarm library in March 2025, replacing it with the OpenAI Agents SDK, which retains the original handoff model while adding native session tracing and AI guardrails. Microsoft followed suit in April 2026 by merging AutoGen and Semantic Kernel into the unified Microsoft Agent Framework, pushing both legacy tools into maintenance mode.

Cloud and search providers have implemented parallel structural changes. Google released Agent Development Kit (ADK) 2.0, replacing its older hierarchical agent executor with a graph-based workflow engine that supports loops, branching, and human-in-the-loop interruptions. Meanwhile, Amazon Bedrock made its multi-agent collaboration model generally available on March 10, 2025, cementing centralized orchestrator-worker patterns across enterprise deployments.

Swarm artificial intelligence technique framework swarm intelligence for business ai ss

These architectural shifts standardize multi-agent coordination around three primary patterns: direct conversation handoffs, asynchronous message passing, and shared state graphs where agents read and write to a common memory node. Developers can deploy these swarms using eleven prominent frameworks currently active in the ecosystem, ranging from open-source libraries like LangGraph and Mastra to commercial enterprise platforms.

CrewAI and LangGraph Differ in State and Token Management

Orchestration frameworks manage state and token consumption through fundamentally different mechanisms. CrewAI organizes agents into discrete crews governed by a second execution layer called Flows, allowing local model execution via Ollama and passing full outputs between agents. In comparative benchmark testing, CrewAI’s final agent produced a highly detailed output of 5,339 tokens because it transmits preceding agent results in full.

Conversely, LangGraph utilizes a low-level directed graph structure that saves durable checkpoints, allowing failed runs to resume precisely where they stopped. Rather than passing full outputs, LangGraph transmits only state changes between nodes. In the same benchmark evaluation, its final agent produced 2,589 tokens, the lowest volume among tested frameworks. However, its low-level nature requires developers to manage more configuration overhead unless utilizing higher-level abstractions built on top of it.

Emerging platforms also emphasize specialized functional execution. Frameworks such as Mastra combine graph-based workflows with over 40 model providers, and PraisonAI provides YAML-based definitions alongside chat platform integrations.

Frequently Asked Questions About AI Agent Swarms

What is the difference between a monolithic AI agent and an agent swarm?

A monolithic design relies on a single AI agent to execute every step of a complex task sequentially. An agent swarm distributes the workload across multiple specialized agents that coordinate through handoffs, direct message passing, or a shared state graph.

Why do agent swarms consume significantly more tokens than single agents?

Swarms generate substantial token overhead because tasks are repeatedly delegated, broken down into subtasks, and processed across parallel subagents. Anthropic reported that its research assistant setup used approximately 15 times as many tokens when operating as a lead agent paired with parallel subagents.

How do different frameworks handle agent memory and state persistence?

Frameworks utilize various pluggable storage options—such as SQLite, Redis, or vector databases—to maintain conversation history and task state across turns. For example, LangGraph saves durable execution checkpoints that allow interrupted workflows to resume exactly where they stopped.

About the author: Anika Shah - Technology

MSc in Computer Science, senior reporter. Anika focuses on AI ethics, cybersecurity, and emerging hardware—frequently moderating panels at CES and Web Summit. “Anika Shah decodes tech breakthroughs and startup disruption shaping tomorrow’s digital landscape.”