Lollms Swarms and Multi-Agent Orchestration
Teaches how to coordinate multiple specialized agents, distribute tasks, establish consensus, and manage role-based multi-agent swarms using LollmsSwarm.
Skill by ParisNeo
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/parisneo-lollms-swarms-and-multi-agent-orchestration
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/lollms-swarms-and-multi-agent-orchestration
What's inside
- Skill name
Lollms Swarms and Multi-Agent Orchestration- Description
- Teaches how to coordinate multiple specialized agents, distribute tasks, establish consensus, and manage role-based multi-agent swarms using LollmsSwarm.
- License
- Apache-2.0
- Instructions
- 59 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "Lollms Swarms and Multi-Agent Orchestration" does not match folder "swarm_and_agents"
Files (1)
- SKILL.md
SKILL.md (first lines)
# Lollms Swarms and Multi-Agent Orchestration
This skill explains how to build, configure, and orchestrate role-based multi-agent swarms using the `lollms_client` library.
## 1. Core Concepts: Agents & Roles
An `Agent` is a stateful entity assigned a specific `AgentRole` (e.g. `DOMAIN_EXPERT`, `AUDITOR`, `ORCHESTRATOR`) and a custom personality/system prompt.
- **Specialized Persona**: Each agent is configured with specialized system prompts so they operate with high domain accuracy.
- **Stateful Memory**: Agents track their own thought blocks and conversation histories within their assigned discussion branches.
## 2. Setting Up an Agent
Instantiate an agent using `LollmsPersonality` and custom metadata.
```python
from lollms_client import LollmsClient
from lollms_client.lollms_personality import LollmsPersonality, AgentRole
client = LollmsClient(llm_binding_name="ollama", llm_binding_config={"model_name": "gemma4:e2b"})
# Define expert agent personality
agent = LollmsPersonality(
name="PythonExpert",
system_prompt="You are a Senior Python Architect. Focus on clean code, SOLID principles, and type-safety.",
lollms_client=client,
role=AgentRole.DOMAIN_EXPERT,
model_params={"temperature": 0.2}
)
```
## 3. Orchestrating Swarms
The `SwarmOrchestrator` manages collaborative task distribution across several specialized agents. It handles the round-robin discussions, collects intermediate answers, and facilitates the consensus pass.
```python
from lollms_client.lollms_swarm import SwarmOrchestrator, SwarmConfig
# Configure the swarm
swarm_config = SwarmConfig(
max_rounds=3,
consensus_threshold=0.85,
enable_peer_review=True
)
# Initialize the orchestrator inside a discussion
orchestrator = SwarmOrchestrator(
discussion=discussion,
agents=[agent_developer, agent_auditor],
config=swarm_config
)
# Dispatch a query to the swarm
result = orchestrator.run("Design a thread-safe connection pool for SQLite.")
print(f"Final Answer: {result['response']}")
```
## 4. Multi-Agent Event Flow
During execution, the swarm communicates progress through specific message types:
- `MSG_TYPE_SWARM_AGENT_START`: An agent begins generating its turn.
- `MSG_TYPE_SWARM_AGENT_END`: An agent finishes its generation.
- `MSG_TYPE_SWARM_CONSENSUS`: The orchestrator evaluates the similarity of responses and reports on consensus strength.From ParisNeo/lollms_client, Apache-2.0.
More from ParisNeo/lollms_client
- 0.629score
lcp_tool_building
ParisNeo
Practical how-to for authoring LCP tools: tool function anatomy, docstring-driven schemas, requesting execution privileges via the confirm handler, and…
SkillAFreshness: A★ 13Claude Code +9 - 0.629score
file_organization
ParisNeo
Four-phase autonomous methodology for scanning directories, building classes.md and mapping.yaml, inspecting ambiguous files with sub-agents, requesting user…
SkillAFreshness: A★ 13Claude Code +9 - 0.629score
lcp_tool_creation
ParisNeo
Step-by-step guide to writing LCP tools: schema-driven docstrings, return contracts, requesting privileges via the confirmation handler, and asking the user…
SkillAFreshness: A★ 13Claude Code +9 - 0.629score
file_organization
ParisNeo
Four-phase autonomous methodology for scanning directories, building classes.md and mapping.yaml, inspecting ambiguous files, requesting user confirmation…
SkillAFreshness: A★ 13Claude Code +9 - 0.629score
handbag_agent_architecture
ParisNeo
Definitive architectural doctrine for building sovereign agent Handbags, crafting SOUL.md personalities, injecting app-level tools and skills, and inspecting…
SkillAFreshness: A★ 13Claude Code +9 - 0.625score
Lollms Artifacts and Surgical Patching
ParisNeo
Teaches the model how to formulate strategic <coding_plan> blocks, apply indentation-agnostic Aider search/replace patches, manage Git-like version logs, and…
SkillAFreshness: A★ 13Claude Code +9 - 0.624score
document_analysis_and_extraction
ParisNeo
In-depth workflow for extracting text, tables, schemas, and applying corrections or comments to PDF, Word, Excel, and PowerPoint documents.
SkillAFreshness: A★ 13Claude Code +9 - 0.624score
bibliography_and_research
ParisNeo
Methodology for searching academic papers, extracting citations, structuring bibliographies, and synthesizing research findings.
SkillAFreshness: A★ 13Claude Code +9 - 0.624score
fullstack_development
ParisNeo
Architecture, conventions, and implementation workflows for full-stack systems, backend APIs, modern frontends, and database migrations.
SkillAFreshness: A★ 13Claude Code +9 - 0.621score
desktop_automation
ParisNeo
Vision-driven desktop automation loop for inspecting screens, locating UI elements, typing, and clicking.
SkillAFreshness: A★ 13Claude Code +9 - 0.621score
git_workflow_mastery
ParisNeo
Safe, professional Git workflow guidelines, branch isolation, and uncommitted change protection.
SkillAFreshness: A★ 13Claude Code +9 - 0.621score
deep_websearch_and_extraction
ParisNeo
Protocol for multi-source web searches, page content scraping, evidence corroboration, and factual synthesis.
SkillAFreshness: A★ 13Claude Code +9
Signals
- Stars
- 13
- Forks
- 5
- Open issues
- 0
- Last commit (this folder)
- Aug 24, 2026 (2 months ago)
- Last release
- Mar 5, 2025 (1 year ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/ParisNeo/lollms_client
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ParisNeo
- 0.629score
file_organization
ParisNeo
Four-phase autonomous methodology for scanning directories, building classes.md and mapping.yaml, inspecting ambiguous files, requesting user confirmation…
SkillAFreshness: A★ 13Claude Code +9 - 0.629score
lcp_tool_creation
ParisNeo
Step-by-step guide to writing LCP tools: schema-driven docstrings, return contracts, requesting privileges via the confirmation handler, and asking the user…
SkillAFreshness: A★ 13Claude Code +9 - 0.629score
handbag_agent_architecture
ParisNeo
Definitive architectural doctrine for building sovereign agent Handbags, crafting SOUL.md personalities, injecting app-level tools and skills, and inspecting…
SkillAFreshness: A★ 13Claude Code +9 - 0.629score
file_organization
ParisNeo
Four-phase autonomous methodology for scanning directories, building classes.md and mapping.yaml, inspecting ambiguous files with sub-agents, requesting user…
SkillAFreshness: A★ 13Claude Code +9 - 0.629score
lcp_tool_building
ParisNeo
Practical how-to for authoring LCP tools: tool function anatomy, docstring-driven schemas, requesting execution privileges via the confirm handler, and…
SkillAFreshness: A★ 13Claude Code +9 - 0.625score
Lollms Artifacts and Surgical Patching
ParisNeo
Teaches the model how to formulate strategic <coding_plan> blocks, apply indentation-agnostic Aider search/replace patches, manage Git-like version logs, and…
SkillAFreshness: A★ 13Claude Code +9
Cite this page
Lollms Swarms and Multi-Agent Orchestration skill. Agent Mart. https://agentmart.dev/skills/parisneo-lollms-swarms-and-multi-agent-orchestration (last updated 2026-10-24)