Multi-Agent Teams
A single AI agent is powerful. A team of agents working together is unstoppable. Teams in thinnestAI let you combine multiple specialized agents into a coordinated group. Instead of building one monolithic agent that tries to do everything, you create focused agents and let them collaborate.Why Use Teams?
Think of it like a real company. You wouldn’t hire one person to handle sales, support, billing, and engineering. You’d build a team where each person excels at their role. Teams are useful when:- Tasks are complex — A customer inquiry might need a support agent, a billing agent, and a technical agent working together.
- Domains are distinct — Your sales agent shouldn’t need to know your entire knowledge base. Let a research agent handle that.
- You need routing — Different types of requests should go to different agents automatically.
- Quality matters — Specialized agents outperform generalist agents on domain-specific tasks.
How Teams Work
A team consists of:- Member agents — The individual agents that make up the team. Each has its own model, instructions, tools, and knowledge.
- A team mode — How agents coordinate with each other (route, coordinate, collaborate, or tasks).
- A team leader (in some modes) — An orchestrator agent that delegates work and synthesizes results.
Creating a Team
From the Dashboard
- Navigate to Agents in the sidebar.
- Click Create Agent and select Team as the type.
- Add member agents — you can create new ones or select existing agents.
- Choose a Team Mode (see Team Modes for details).
- Configure the team leader’s instructions (if applicable).
- Save and test.
From the Flow Editor
The visual flow editor gives you a drag-and-drop interface for building teams:- Open the Flow Editor from your agent’s page.
- Drag agent nodes onto the canvas.
- Connect them to define the team structure.
- Configure the team mode in the Team Config panel.
- Deploy when ready.
Via the API
Team Configuration
| Setting | Description |
|---|---|
| Team Mode | How agents coordinate — coordinate, route, collaborate, tasks, or broadcast |
| Member Agents | The agents in the team |
| Leader Instructions | Instructions for the orchestrator/router agent |
| Max Iterations | Maximum rounds of agent collaboration (prevents infinite loops) |
| Response Format | How the final response is synthesized |
Example: E-Commerce Support Team
Here’s a practical example — a team that handles e-commerce customer inquiries:| Agent | Role | Tools |
|---|---|---|
| Router | Classifies incoming requests | — |
| Order Agent | Checks order status, handles returns | Order API, Shipping API |
| Product Agent | Answers product questions | Product Knowledge Base |
| Billing Agent | Handles payment issues, refunds | Payment API |
Best Practices
- Keep agents focused — Each agent should have a clear, narrow responsibility.
- Use descriptive names — The team leader uses agent names and descriptions to make routing decisions.
- Start simple — Begin with 2-3 agents and add more as needed.
- Test each agent individually before adding it to a team.
- Monitor team performance — Check which agents handle the most requests and how often handoffs occur.
Next Steps
- Team Modes — Learn about the four coordination modes in detail.
- Agent Tools — Add capabilities to your team members.
- Knowledge Sources — Give your agents domain expertise.

