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
[feat][grep-tool][add grep search tool to autonomous
loop][improvement][autonomous-loop][fix execution prompt written once per
subtask][bugf][streaming-thinking][prevent thinking panel corruption inside live
context][improvement][arun-stream][use get_running_loop and propagate
exceptions][bugf][final-summary][thread streaming callback through generate final
summary][improvement][think-tool][exclude think tool when thinking tokens
enabled][bugf][license][correct license from MIT to
Apache-2.0][improvement][sensor-assembly][remove deprecated senator assembly module]
Copy file name to clipboardExpand all lines: README.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -366,8 +366,7 @@ The `SwarmRouter` simplifies building complex workflows by providing a single in
366
366
This makes your code cleaner and more flexible, allowing you to switch between different multi-agent strategies with ease. Here's a complete example that shows how to define agents and then use `SwarmRouter` to execute the same task using different collaborative strategies.
367
367
368
368
```python
369
-
from swarms import Agent
370
-
from swarms.structs.swarm_router import SwarmRouter, SwarmType
369
+
from swarms import Agent, SwarmRouter, SwarmType
371
370
372
371
# Define a few generic agents
373
372
writer = Agent(agent_name="Writer", system_prompt="You are a creative writer.", model_name="gpt-5.4")
@@ -421,7 +420,7 @@ The `SwarmRouter` is a powerful tool for simplifying multi-agent orchestration.
421
420
The `AutoSwarmBuilder` automatically generates specialized agents and their workflows based on your task description. Simply describe what you need, and it will create a complete multi-agent system with detailed prompts and optimal agent configurations. [Learn more about AutoSwarmBuilder](https://docs.swarms.world/en/latest/swarms/structs/auto_swarm_builder/)
422
421
423
422
```python
424
-
from swarms.structs.auto_swarm_builderimport AutoSwarmBuilder
The **Agent Orchestration Protocol (AOP)** is a powerful framework for deploying and managing agents as distributed services. AOP enables agents to be discovered, managed, and executed through a standardized protocol, making it perfect for building scalable multi-agent systems. [Learn more about AOP](https://docs.swarms.world/en/latest/swarms/structs/aop/)
0 commit comments