Zubnet AIApprendreWiki › Multi-Agent Systems
Using AI

Multi-Agent Systems

Multi-Agent, Agent Swarm
Des architectures où multiples agents IA collaborent, débattent ou se spécialisent pour résoudre des problèmes qu'un seul agent ne peut pas gérer. Chaque agent peut avoir un rôle différent (chercheur, codeur, reviewer), des outils différents ou des modèles différents. Ils communiquent à travers des messages structurés, de la mémoire partagée ou des handoffs directs.

Pourquoi c'est important

Les systèmes multi-agents sont le paradigme émergent pour les tâches IA complexes. Un seul appel LLM gère une question. Un agent gère une tâche multi-étapes. Un système multi-agents gère des tâches qui demandent différentes expertises, du travail parallèle ou de l'assurance qualité par revue. Pendant que l'IA passe des chatbots aux workflows autonomes, les architectures multi-agents deviennent le pattern de scaling naturel.

Deep Dive

Common patterns: the supervisor pattern (one "manager" agent delegates to specialized "worker" agents), the debate pattern (agents argue opposing positions to reach a more balanced conclusion), the pipeline pattern (agents process sequentially, each refining the previous output), and the peer pattern (agents work in parallel on different aspects of a problem and merge results).

Frameworks

Several frameworks support multi-agent systems: AutoGen (Microsoft) enables agents to converse with each other, CrewAI provides role-based agent teams, LangGraph handles complex agent workflows as state machines, and Anthropic's agent SDK supports multi-agent orchestration. The choice depends on complexity: simple handoffs don't need a framework; complex workflows with branching logic and human-in-the-loop approval benefit from structured orchestration.

The Cost Question

Multi-agent systems multiply LLM API costs — if three agents each make five calls to solve a problem, that's 15x the cost of a single call. The value proposition is that the quality improvement justifies the cost for high-stakes tasks. A code review agent that catches bugs before deployment saves more than the API calls cost. But for simple tasks, a single well-prompted model is usually sufficient and far cheaper.

Concepts liés

← Tous les termes
← Moonshot AI Multi-Head Attention →