You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Build collaborative, multi-agent systems with Connected Agents
18
18
19
-
Connected agents allow you to create task-specific agents that can interact seamlessly with a primary agent. This feature enables you to build multi-agent systems without the need for external orchestrators. Instead of overloading a single agent with multiple capabilities, you can divide complex tasks like customer service or sales analysis workflows among multiple agents.
19
+
Connected agents in Azure AI Agent Service let you break down complex tasks into coordinated, specialized roles—without the need for a custom orchestrator or hand-coded routing logic. With this capability, you can design systems where a primary agent intelligently delegates to purpose-built sub-agents, streamlining workflows like customer support, market research, legal summarization, and financial analysis.
20
20
21
-
## Features
22
-
23
-
### Connected agent configuration and management
24
-
25
-
- The ability to define and manage one or more specialized connected agents
26
-
- Standardized agent-to-agent communication protocols
27
-
- Robust error handling and retry mechanisms
28
-
29
-
### Multi-agent workflow composition
21
+
Rather than overloading one agent with too many skills, you can build focused, reusable agents that collaborate seamlessly—scaling both performance and maintainability.
30
22
31
-
- Use the Foundry portal, or a code-based approach to define interactions between agents and connected agents
32
-
- Integration points within existing agent workflows
33
-
- Use your existing agents or create new ones
23
+
## Features
34
24
35
-
### Access control and security
25
+
-**Simplify complex workflows** by distributing tasks across specialized agents
26
+
-**Avoid external orchestration** as all coordination happens inside the service
27
+
-**Mix-and-match agents** across domains like sales, support, and data analysis
28
+
-**Use no-code or full-code setup** via the Foundry portal or Azure AI Foundry Agent SDKs
36
29
37
-
- Fine-grained access controls to restrict connected agents usage based on roles and permissions
38
30
39
31
:::zone pivot="portal"
40
32
41
33
## Creating a multi-agent setup
42
34
43
-
Navigate to the **create and debug** page for your agents. In the **Connected agents** section of the setup pane, select **Add +**.
44
-
35
+
1. Navigate to the **Agents** page in the portal
36
+
2. Select an existing agent from the list or create a new one.
37
+
3. Scroll down to the **Connected agents** section in the agent's setup panel and select **Add +**.
45
38
46
39
:::image type="content" source="../media/connected-agents/connected-agents-foundry.png" alt-text="A screenshot of the agents page in the Azure AI Foundry." lightbox="../media/connected-agents/connected-agents-foundry.png":::
47
40
48
-
In the window that appears, select an agent to delegate tasks to, with a unique name and a description of how and when the main agent will invoke the connected agent. Be as descriptive as possible about the circumstances in which the connected agent should be called.
41
+
4. In the dialog that appears, choose an agent for the main agent to delegate tasks to, and describe:
42
+
- Select an **existing agent** from the dropdown. This is the connected agent that the main agent will delegate tasks to.
43
+
- Enter a **unique name** for the connected agent (letters and underscores only). This name is used for API-level function calling. Keep it descriptive and machine-readable to maximize recall accuracy (e.g., summarize_text, lookup_product_info).
44
+
- Add a clear **description** of when and why the connected agent should be invoked. This helps guide the main agent’s decision-making on when to hand off tasks to connected agents during runtime.
45
+
5. Select **Add +**
46
+
6. Repeat steps 3–5 to add additional specialized agents to the main agent.
47
+
7. Once the connected agent(s) appear in the setup panel, scroll up and select **Try in Playground**
48
+
8. Use test prompts in the Agent Playground to validate that the main agent correctly routes tasks to the connected agents when applicable. For example, if you’ve created a main agent called research_agent, which doesn't have any tools configured, and connected an agent named stock_price_bot, try a prompt like:
49
+
**"What is the current stock price of Microsoft?"**
50
+
The research_agent should delegate this request to stock_price_bot based on the routing description you defined.
49
51
50
52
:::image type="content" source="../media/connected-agents/connected-agents-foundry-2.png" alt-text="A screenshot of the connected agents screen" lightbox="../media/connected-agents/connected-agents-foundry-2.png":::
51
53
@@ -158,4 +160,4 @@ To create a multi-agent setup, follow these steps:
0 commit comments