Skip to content

Commit 3ffec20

Browse files
committed
Update Blog “part-6-agentic-ai-teams-in-router-mode-multilingual-routing-with-agno”
1 parent ba63813 commit 3ffec20

File tree

1 file changed

+29
-9
lines changed

1 file changed

+29
-9
lines changed

content/blog/part-6-agentic-ai-teams-in-router-mode-multilingual-routing-with-agno.md

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,11 @@ german_agent = Agent(
100100
101101
102102
103-
104-
105103
```
106104

107105
### Step 2: Create the Router Team
108106

109107
```
110-
111108
from agno.team.team import Team
112109
113110
multi_language_team = Team(
@@ -138,14 +135,10 @@ multi_language_team = Team(
138135
### Step 3: Run Multilingual Examples
139136

140137
```
141-
142-
143138
multi_language_team.print_response("How are you?", stream=True) # English
144139
multi_language_team.print_response("你好吗?", stream=True) # Chinese
145140
multi_language_team.print_response("お元気ですか?", stream=True) # Japanese
146141
multi_language_team.print_response("Comment allez-vous?", stream=True) # French
147-
148-
149142
```
150143

151144
### Output:
@@ -157,12 +150,39 @@ multi_language_team.print_response("Comment allez-vous?", stream=True) # French
157150
[French Agent]: Je vais bien, merci. Et vous ?
158151
```
159152

160-
161-
162153
<center><img src="/img/screenshot-2025-07-21-at-3.38.47 pm.png" width="600" height="550" alt="Agent Mode Parameters" title="Agent Mode Parameters"></center>
163154

164155
## Key Parameters Explained
165156

157+
<table border="1" cellpadding="8" cellspacing="0" style="border-collapse: collapse; width: 100%;">
158+
<thead style="background-color:#f2f2f2">
159+
<tr>
160+
<th>Parameter</th>
161+
<th>Description</th>
162+
</tr>
163+
</thead>
164+
<tbody>
165+
<tr>
166+
<td><code>mode="route"</code></td>
167+
<td>Instructs the team to act as a switchboard, not an executor</td>
168+
</tr>
169+
<tr>
170+
<td><code>show_members_responses=True</code></td>
171+
<td>Displays individual agent replies for traceability</td>
172+
</tr>
173+
<tr>
174+
<td><code>instructions\[]</code></td>
175+
<td>Core router logic: detect language, enforce exclusivity, manage fallbacks</td>
176+
</tr>
177+
<tr>
178+
<td><code>model=OpenAIChat(...)</code></td>
179+
<td>Backbone LLM used by the router team for input analysis</td>
180+
</tr>
181+
</tbody>
182+
</table>
183+
184+
185+
166186
## Why Router Mode Works
167187

168188
* Context-awareness: Inputs are analyzed for language, not just keywords

0 commit comments

Comments
 (0)