Skip to content

Commit 69c68bc

Browse files
committed
fix docs bulletpoints
1 parent 1649922 commit 69c68bc

3 files changed

Lines changed: 26 additions & 5 deletions

File tree

docs/swarms/concept/swarm_architectures.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ graph TD
8383
A dynamic architecture where agents rearrange themselves based on task requirements and environmental conditions. Agents can adapt their roles, positions, and relationships to optimize performance for different scenarios.
8484

8585
**Use Cases:**
86+
8687
- Adaptive manufacturing lines that reconfigure based on product requirements
8788

8889
- Dynamic sales territory realignment based on market conditions
@@ -122,6 +123,7 @@ graph TD
122123
Multiple agents operate independently and simultaneously on different tasks. Each agent works on its own task without dependencies on the others.
123124

124125
**Use Cases:**
126+
125127
- Tasks that can be processed independently, such as parallel data analysis
126128

127129
- Large-scale simulations where multiple scenarios are run simultaneously
@@ -203,6 +205,7 @@ graph TD
203205
Makes it easy to manage thousands of agents in one place: a CSV file. Initialize any number of agents and run loops of agents on tasks.
204206

205207
**Use Cases:**
208+
206209
- Multi-threaded execution: Execute agents on multiple threads
207210

208211
- Save agent outputs into CSV file
@@ -247,6 +250,7 @@ graph TD
247250
Multi-agent orchestration pattern that executes tasks in a batched grid format, where each agent processes different tasks simultaneously. Provides structured parallel processing with conversation state management.
248251

249252
**Use Cases:**
253+
250254
- Parallel task processing
251255

252256
- Grid-based agent execution
@@ -285,6 +289,7 @@ graph TD
285289
Combines multiple agents with different capabilities and expertise to solve complex problems that require diverse skill sets.
286290

287291
**Use Cases:**
292+
288293
- Financial forecasting requiring different analytical approaches
289294

290295
- Complex problem-solving needing diverse expertise
@@ -319,6 +324,7 @@ graph TD
319324
Organizes agents in a directed acyclic graph (DAG) format, enabling complex dependencies and parallel execution paths.
320325

321326
**Use Cases:**
327+
322328
- AI-driven software development pipelines
323329

324330
- Complex project management with dependencies
@@ -348,6 +354,7 @@ graph TD
348354
Enables agents to engage in chat-like interactions to reach decisions collaboratively through discussion and consensus building.
349355

350356
**Use Cases:**
357+
351358
- Real-time collaborative decision-making
352359

353360
- Contract negotiations
@@ -382,6 +389,7 @@ graph TD
382389
Enhanced version of Group Chat with dynamic speaker selection, priority-based communication, and advanced interaction patterns.
383390

384391
**Use Cases:**
392+
385393
- Advanced collaborative decision-making
386394

387395
- Dynamic team coordination
@@ -421,6 +429,7 @@ graph TD
421429
Intelligently routes tasks to the most appropriate agents or architectures based on task requirements and agent capabilities.
422430

423431
**Use Cases:**
432+
424433
- Dynamic task routing
425434

426435
- Adaptive architecture selection
@@ -458,6 +467,7 @@ graph TD
458467
High-performance architecture designed for handling intensive computational tasks with multiple agents working on resource-heavy operations.
459468

460469
**Use Cases:**
470+
461471
- Large-scale data processing
462472

463473
- Intensive computational workflows
@@ -493,6 +503,7 @@ graph TD
493503
Specialized architecture for conducting comprehensive research tasks across multiple domains with iterative refinement and cross-validation.
494504

495505
**Use Cases:**
506+
496507
- Academic research projects
497508

498509
- Market analysis and intelligence
@@ -528,6 +539,7 @@ graph TD
528539
Architecture specifically designed to reduce and eliminate hallucinations in AI outputs through consensus mechanisms and fact-checking protocols.
529540

530541
**Use Cases:**
542+
531543
- Fact-checking and verification
532544

533545
- Content validation
@@ -564,6 +576,7 @@ graph TD
564576
Ensemble method that generates multiple candidate responses from a single high-performing model and synthesizes them sequentially using a sliding window approach. Keeps context within bounds while leveraging diversity across samples.
565577

566578
**Use Cases:**
579+
567580
- Response synthesis
568581

569582
- Ensemble methods
@@ -602,6 +615,7 @@ graph TD
602615
Multiple agents act as a council to evaluate, judge, and validate outputs or decisions through collaborative assessment.
603616

604617
**Use Cases:**
618+
605619
- Quality assessment and validation
606620

607621
- Decision validation processes
@@ -638,6 +652,7 @@ graph TD
638652
Orchestrates multiple specialized LLM agents to collaboratively answer queries through structured peer review and synthesis. Different models evaluate and rank each other's work, often selecting responses from other models as superior.
639653

640654
**Use Cases:**
655+
641656
- Multi-model collaboration
642657

643658
- Peer review processes
@@ -676,6 +691,7 @@ graph TD
676691
Debate architecture with self-refinement through a judge agent, enabling Pro and Con agents to debate a topic with iterative refinement. The judge evaluates arguments and provides synthesis for progressive improvement.
677692

678693
**Use Cases:**
694+
679695
- Structured debates
680696

681697
- Argument evaluation
@@ -714,6 +730,7 @@ graph TD
714730
Specialized architecture for complex language processing tasks that require coordination between multiple language-focused agents.
715731

716732
**Use Cases:**
733+
717734
- Natural language processing pipelines
718735

719736
- Translation and localization
@@ -751,6 +768,7 @@ graph TD
751768
Agents vote on decisions with the majority determining the final outcome, providing democratic decision-making and error reduction through consensus.
752769

753770
**Use Cases:**
771+
754772
- Democratic decision-making processes
755773

756774
- Consensus building
@@ -789,6 +807,7 @@ graph TD
789807
Automatically constructs and configures multi-agent systems based on requirements, enabling dynamic system creation and adaptation.
790808

791809
**Use Cases:**
810+
792811
- Dynamic system creation
793812

794813
- Adaptive architectures
@@ -826,6 +845,7 @@ graph TD
826845
Orchestrates multiple swarms in sequential or parallel flow patterns with thread-safe operations and flow validation. Provides comprehensive swarm management and coordination capabilities.
827846

828847
**Use Cases:**
848+
829849
- Multi-swarm orchestration
830850

831851
- Flow pattern management
@@ -867,6 +887,7 @@ graph TD
867887
Combines hierarchical and peer-to-peer communication patterns for complex workflows that require both centralized coordination and distributed collaboration.
868888

869889
**Use Cases:**
890+
870891
- Complex enterprise workflows
871892

872893
- Multi-department coordination
@@ -908,6 +929,7 @@ graph TD
908929
Agents participate in democratic voting processes to select leaders or make collective decisions.
909930

910931
**Use Cases:**
932+
911933
- Democratic governance
912934

913935
- Consensus building
@@ -949,6 +971,7 @@ graph TD
949971
Adaptive conversation management with dynamic agent selection and interaction patterns.
950972

951973
**Use Cases:**
974+
952975
- Adaptive chatbots
953976

954977
- Dynamic customer service
@@ -988,6 +1011,7 @@ graph TD
9881011
Hierarchical tree structure for organizing agents in parent-child relationships.
9891012

9901013
**Use Cases:**
1014+
9911015
- Organizational hierarchies
9921016

9931017
- Decision trees

example.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
top_p=None,
1313
)
1414

15-
out = agent.run(
16-
task="What are the top five best energy stocks across nuclear, solar, gas, and other energy sources?",
17-
n=1,
18-
)
15+
out = agent.run(task="What are the top five best energy stocks across nuclear, solar, gas, and other energy sources?",)
1916

2017
print(out)

swarms/structs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from swarms.structs.conversation import Conversation
1212
from swarms.structs.council_as_judge import CouncilAsAJudge
1313
from swarms.structs.cron_job import CronJob
14-
from swarms.structs.llm_council import LLMCouncil
1514
from swarms.structs.debate_with_judge import DebateWithJudge
1615
from swarms.structs.graph_workflow import (
1716
Edge,
@@ -35,6 +34,7 @@
3534
random_speaker,
3635
round_robin_speaker,
3736
)
37+
from swarms.structs.llm_council import LLMCouncil
3838
from swarms.structs.ma_blocks import (
3939
aggregate,
4040
find_agent_by_name,

0 commit comments

Comments
 (0)