What is a multi-agent system?
A multi-agent system is a setup where several AI agents, each with its own role or tools, work together or hand tasks to each other to reach a goal.
Also called: multi-agent AI, agent swarm, agent orchestration
How it works
A common pattern has an orchestrator agent that splits a task and sends parts to specialist agents, such as one for research, one for code and one for review. Other designs let agents talk as peers, or chain them so each one's output is the next one's input. Agents may share tools and memory or keep them separate.
Agents can also belong to different organizations, such as a buyer's shopping agent dealing with a seller's sales agent.
Why it matters for fraud and trust
Each hand-off is a point where trust can break. If one agent reads poisoned content, its output can carry indirect prompt injection to the next agent, which may have more power. Errors and AI hallucinations can also pass along and grow.
When agents from different companies interact, each side needs to know who the other agent is and who it acts for. That is the problem know your agent and agent authentication address.
Example
A hypothetical support system uses a triage agent to read tickets and a refund agent that can issue credits. An attacker writes a ticket with hidden text telling the triage agent to label it an approved refund. Without a separate check, the refund agent trusts the label and pays out.
Good practice
Give each agent only the tools it needs, treat messages from other agents as untrusted input, check high-risk actions outside the model, and log each step so a bad result can be traced to its source.
Related terms
- AI agentAn AI agent is software that uses a language model to plan and take actions toward a goal, such as browsing sites, calling APIs or filling in forms, with little or no human input at each step.
- Agent authenticationAgent authentication is how an AI agent proves which agent it is and on whose behalf it acts, using methods such as API keys, OAuth delegation and signed requests.
- Know your agent (KYA)Know your agent (KYA) is the practice of identifying an AI agent, the organization that runs it and the person it acts for, before letting it access accounts or make transactions.
- Indirect prompt injectionIndirect prompt injection hides instructions in content an AI system reads, such as a web page, email or file, so the model follows the attacker instead of its user.
- Agent memoryAgent memory is how an AI agent keeps information across steps and sessions, such as past conversations, user preferences and task progress, beyond one prompt.