Skip to content

Commit 765d57d

Browse files
authored
Merge pull request #3101 from dineshr1493/cms/dineshr1493/hpe-dev-portal/blog/part-5-agentic-ai-team-coordination-mode-in-action
Create Blog “part-5-agentic-ai-team-coordination-mode-in-action”
2 parents c85d926 + 03f39bc commit 765d57d

File tree

3 files changed

+180
-0
lines changed

3 files changed

+180
-0
lines changed
Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
---
2+
title: "Part 5: Agentic AI: Team coordination mode in action"
3+
date: 2025-07-21T07:24:24.522Z
4+
author: Dinesh R Singh
5+
authorimage: /img/dinesh-192-192.jpg
6+
disable: false
7+
tags:
8+
- LLM
9+
- Generative AI
10+
- Agentic AI
11+
- AI Agents
12+
---
13+
<style>
14+
li {
15+
font-size: 27px;
16+
line-height: 33px;
17+
max-width: none;
18+
}
19+
</style>
20+
21+
One of the most transformative patterns in Agentic AI is team-based orchestration — a collaborative approach where specialized **agents work together to fulfill complex goals**. In this edition, we explore coordinate mode using the AGNO framework — a design where a team manager delegates, supervises, and integrates the contributions of each agent.
22+
23+
[Inspired by my Medium post.](https://dineshr1493.medium.com/all-you-need-to-know-about-the-evolution-of-generative-ai-to-agentic-ai-part-5-agentic-ai-a-2d6651c9cc5c)
24+
25+
<center><img src="/img/screenshot-2025-07-21-at-12.57.22 pm.png" width="600" height="550" alt="LLM Mode" title="LLM Mode"></center>
26+
27+
## What are agentic AI teams?
28+
29+
An agentic team is a structured collection of AI agents, each performing a specific role with autonomy and tool access. Teams can include roles like:
30+
31+
* Researcher: Finds and filters relevant data
32+
* Writer: Synthesizes content with tone and structure
33+
* Translator: Converts content across languages
34+
* Planner: Organizes execution based on goals
35+
36+
### In Coordinate Mode:
37+
38+
* A team manager Agent directs the flow of tasks
39+
* Individual agents handle sub-tasks independently
40+
* Final results are reviewed, refined, and unified by the manager
41+
42+
## AGNO Framework: Coordinating a multi-agent content team
43+
44+
Let’s examine a professional-grade configuration of a New York Times-style editorial team, where search, writing, and editorial review are handled by distinct agents.
45+
46+
### Imports
47+
48+
```python
49+
from agno.agent import Agent
50+
from agno.models.openai import OpenAIChat
51+
from agno.team.team import Team
52+
from agno.tools.search import DuckDuckGoTools
53+
from agno.tools.read import Newspaper4kTools
54+
```
55+
56+
### Searcher agent
57+
58+
```python
59+
searcher = Agent(
60+
name="Searcher",
61+
role="Searches the top URLs for a topic",
62+
instructions=[
63+
"Generate 3 search terms for a topic.",
64+
"Search the web and return 10 high-quality, relevant URLs.",
65+
"Prioritize credible sources, suitable for the New York Times."
66+
],
67+
tools=[DuckDuckGoTools()],
68+
add_datetime_to_instructions=True,
69+
)
70+
```
71+
72+
### Writer agent
73+
74+
```python
75+
writer = Agent(
76+
name="Writer",
77+
role="Writes a high-quality article",
78+
description="Senior NYT writer tasked with long-form editorial content.",
79+
instructions=[
80+
"Read all articles using `read_article`.",
81+
"Write a structured, engaging article of at least 15 paragraphs.",
82+
"Support arguments with factual citations and ensure clarity.",
83+
"Never fabricate facts or plagiarize content."
84+
],
85+
tools=[Newspaper4kTools()],
86+
add_datetime_to_instructions=True,
87+
)
88+
```
89+
90+
### Editor team (Manager agent in Coordinate Mode)
91+
92+
```python
93+
editor = Team(
94+
name="Editor",
95+
mode="coordinate",
96+
model=OpenAIChat("gpt-4o"),
97+
members=[searcher, writer],
98+
description="You are a senior NYT editor coordinating the team.",
99+
instructions=[
100+
"Delegate research to the search agent.",
101+
"Delegate drafting to the writer.",
102+
"Review, proofread, and enhance the final article.",
103+
"Maintain NYT-level quality, structure, and tone."
104+
],
105+
add_datetime_to_instructions=True,
106+
send_team_context_to_members=True,
107+
show_members_responses=True,
108+
markdown=True,
109+
)
110+
```
111+
112+
### Running the team
113+
114+
```python
115+
Method 1: Print output directly
116+
editor.print_response("Write an article about latest developments in AI.")
117+
118+
Method 2: Get raw result
119+
response = editor.run("Write an article about latest developments in AI.")
120+
```
121+
122+
### Key parameters explained
123+
124+
<table>
125+
<thead style="background-color:#f2f2f2">
126+
<tr>
127+
<th>Parameter</th>
128+
<th>Purpose</th>
129+
</tr>
130+
</thead>
131+
<tbody>
132+
<tr>
133+
<td><code>mode="coordinate"</code></td>
134+
<td>Enables structured delegation and task flow</td>
135+
</tr>
136+
<tr>
137+
<td><code>members=\\\\\[...]</code></td>
138+
<td>Assigns role-specific agents</td>
139+
</tr>
140+
<tr>
141+
<td><code>send_team_context_to_members</code></td>
142+
<td>Shares global task context with all agents</td>
143+
</tr>
144+
<tr>
145+
<td><code>show_members_responses=True</code></td>
146+
<td>Displays each member's intermediate output</td>
147+
</tr>
148+
<tr>
149+
<td><code>add_datetime_to_instructions</code></td>
150+
<td>Contextualizes outputs with current date/time</td>
151+
</tr>
152+
</tbody>
153+
</table>
154+
155+
## Pro tip: Define success criteria
156+
157+
Adding success criteria helps agents align their efforts with measurable outcomes.
158+
159+
```python
160+
strategy_team = Team(
161+
members=[market_analyst, competitive_analyst, strategic_planner],
162+
mode="coordinate",
163+
name="Strategy Team",
164+
description="A team that develops strategic recommendations",
165+
success_criteria="Produce actionable strategic recommendations supported by market and competitive analysis",
166+
)
167+
response = strategy_team.run(
168+
"Develop a market entry strategy for our new AI-powered healthcare product"
169+
)
170+
```
171+
172+
This ensures agents not only act — but act with strategic purpose and direction.
173+
174+
<center><img src="/img/screenshot-2025-07-21-at-12.57.44 pm.png" width="600" height="550" alt="Agentic AI Parameters" title="Agentic AI Parameters"></center>
175+
176+
## Conclusion
177+
178+
Coordinate Mode in Agentic AI exemplifies intelligent task distribution, where specialized agents work under centralized leadership to deliver complex, high-quality outputs. The AGNO framework simplifies this orchestration through agent roles, tool integration, and goal alignment **** **enabling scalable, auditable AI workflows.**
179+
180+
From editorial pipelines to business strategy engines, multi-agent coordination is redefining how work gets done **— autonomously, intelligently, and collaboratively.**
81.3 KB
Loading
542 KB
Loading

0 commit comments

Comments
 (0)