MCP Client

SwarmClaw

By swarmclawai

Open-source self-hosted AI agent runtime and multi-agent framework for autonomous agent swarms. Agent memory, MCP tools, schedules, delegation, and 23+ LLM providers (Claude, GPT, Gemini, OpenRouter, Ollama). A practical Claude Code and LangChain alternative.

Views
2
Repository stars
717
Platforms
macOS, Windows, Linux
Workspace
Framework
Share resource
Capabilities & compatibility

Use cases

  • - Providers : 24+ built-in — Claude Code CLI, Codex CLI, OpenCode CLI, Gemini CLI, Copilot CLI, Cursor Agent CLI, Qwen Code CLI, Goose, Anthropic, OpenAI, OpenRouter, Google Gemini, DeepSeek, Groq, Together, Mistral, xAI, Fireworks, Nebius, DeepInfra, Ollama, LM Studio, OpenClaw, and Hermes Agent, plus compatible custom endpoints. - OpenRouter : Use OpenRouter as a first-class built-in provider with its standard OpenAI-compatible endpoint and routed model IDs such as openai/gpt-4.1-mini . - Hermes Agent : Connect Hermes through its OpenAI-compatible API server, locally or through a reachable remote /v1 endpoint. - Delegation : built-in delegation to Claude Code, Codex CLI, OpenCode CLI, Gemini CLI, Cursor Agent CLI, Qwen Code CLI, and native SwarmClaw subagents. - Autonomy : heartbeat loops, schedules, background jobs, task execution, supervisor recovery, and agent wakeups. - Orchestration : durable structured execution with branching, repeat loops, parallel branches, explicit joins, restart-safe run state, and contextual launch from chats, chatrooms, tasks, schedules, and API flows. - Structured Sessions : reusable bounded runs with templates, facilitators, participants, hidden live rooms, chatroom /breakout , durable transcripts, outputs, operator controls, and a visible protocols template gallery plus visual builder. - Memory : hybrid recall, graph traversal, journaling, durable documents, project-scoped context, automatic reflection memory, communication preferences, profile and boundary memory, significant events, and open follow-up loops. - Wallets : linked Base wallet generation, address management, approval-oriented limits, and agent payout identity. - Connectors : Discord, Slack, Telegram, WhatsApp, Teams, Matrix, email, local file queues, OpenClaw, SwarmDock, SwarmFeed, and more. - MCP Servers : connect any Model Context Protocol server (stdio, SSE, or streamable HTTP) and inject its tools into agents alongside built-ins. Configure, test, and assign per-agent from the MCP Servers panel. - Extensions : external tool extensions, UI modules, hooks, install/update flows, and managed resource manifests for extension-owned agents, routines, local folders, gateways, and setup checks. SwarmClaw is a general-purpose agent runtime. Here are some of the ways people use it.

Platforms

macOS, Windows, Linux

System requirements

- Node.js 22.6+ ( nvm use will pick up the repo's .nvmrc , which matches CI) - npm 10+ or another supported package manager - Docker Desktop is recommended for sandbox browser execution - Optional provider CLIs if you want delegated CLI backends such as Claude Code, Codex, OpenCode, Gemini, Copilot, Factory Droid, Cursor Agent, Qwen Code, or Goose

Connection & setup

Configuration guide

How do I install SwarmClaw? Install via npm: npm install -g @swarmclawai/swarmclaw, then run swarmclaw init to create your configuration. Docker deployment is also available via the provided Docker Compose setup.

Which LLM providers are supported? SwarmClaw supports 23+ providers including OpenAI, Anthropic (Claude), Google Gemini, OpenRouter, Ollama (local), DeepSeek, Groq, Together AI, and more. Configure your API keys in the .env file or via the dashboard.

Can I use local models? Yes. SwarmClaw integrates with Ollama and other local LLM backends for fully offline agent operation.

README

SwarmClaw

The self-hosted AI agent runtime and multi-agent framework for autonomous agents. Open-source agent swarms with durable agent memory, MCP tools, skills, delegation, schedules, and 23+ LLM providers — a practical Claude Code and LangChain alternative.

SwarmClaw is an open-source, self-hosted AI agent runtime and multi-agent framework. Run autonomous AI agents, agent swarms, and orchestrators with heartbeats, schedules, delegation, agent memory, runtime skills, and reviewed conversation-to-skill learning — across OpenClaw gateways, Claude, GPT, Gemini, OpenRouter, Ollama, and 23+ other providers. Use it as your AI agent dashboard, agent orchestration platform, and home base for self-hosted multi-agent AI workflows.

GitHub: https://github.com/swarmclawai/swarmclaw Docs: https://swarmclaw.ai/docs Website: https://swarmclaw.ai Extension tutorial: https://swarmclaw.ai/docs/extension-tutorial

Requirements

  • Node.js 22.6+ (nvm use will pick up the repo's .nvmrc, which matches CI)
  • npm 10+ or another supported package manager
  • Docker Desktop is recommended for sandbox browser execution
  • Optional provider CLIs if you want delegated CLI backends such as Claude Code, Codex, OpenCode, Gemini, Copilot, Factory Droid, Cursor Agent, Qwen Code, or Goose

Download the one-click installer from swarmclaw.ai/downloads. Available for macOS (Apple Silicon & Intel), Windows, and Linux (AppImage + .deb).

The release workflow supports Developer ID signing and notarization when Apple credentials are configured. If a macOS build is still ad-hoc signed, first launch may need one manual approval:

  • macOS: signed/notarized releases publish both .dmg and .zip; unsigned fallback releases publish .zip only to avoid the damaged unsigned DMG path. Right-click the app in Finder → Open → Open to bypass Gatekeeper. If macOS instead reports "SwarmClaw is damaged and can't be opened" (common when a downloaded app was quarantined by Safari), strip the quarantine attribute and relaunch:
    xattr -dr com.apple.quarantine /Applications/SwarmClaw.app
  • Windows: if SmartScreen appears, click More info → Run anyway.
  • Linux (AppImage): chmod +x the downloaded file, then run it.

Data lives in your OS app-data directory (~/Library/Application Support/SwarmClaw, %APPDATA%\SwarmClaw, or ~/.config/SwarmClaw), separate from any CLI or Docker install.

Global install

npm i -g @swarmclawai/swarmclaw
swarmclaw
yarn global add @swarmclawai/swarmclaw
swarmclaw
pnpm add -g @swarmclawai/swarmclaw
swarmclaw
bun add -g @swarmclawai/swarmclaw
swarmclaw

Running swarmclaw starts the server on http://localhost:3456.

Core Capabilities

  • Providers: 24+ built-in — Claude Code CLI, Codex CLI, OpenCode CLI, Gemini CLI, Copilot CLI, Cursor Agent CLI, Qwen Code CLI, Goose, Anthropic, OpenAI, OpenRouter, Google Gemini, DeepSeek, Groq, Together, Mistral, xAI, Fireworks, Nebius, DeepInfra, Ollama, LM Studio, OpenClaw, and Hermes Agent, plus compatible custom endpoints.
  • OpenRouter: Use OpenRouter as a first-class built-in provider with its standard OpenAI-compatible endpoint and routed model IDs such as openai/gpt-4.1-mini.
  • Hermes Agent: Connect Hermes through its OpenAI-compatible API server, locally or through a reachable remote /v1 endpoint.
  • Delegation: built-in delegation to Claude Code, Codex CLI, OpenCode CLI, Gemini CLI, Cursor Agent CLI, Qwen Code CLI, and native SwarmClaw subagents.
  • Autonomy: heartbeat loops, schedules, background jobs, task execution, supervisor recovery, and agent wakeups.
  • Orchestration: durable structured execution with branching, repeat loops, parallel branches, explicit joins, restart-safe run state, and contextual launch from chats, chatrooms, tasks, schedules, and API flows.
  • Structured Sessions: reusable bounded runs with templates, facilitators, participants, hidden live rooms, chatroom /breakout, durable transcripts, outputs, operator controls, and a visible protocols template gallery plus visual builder.
  • Memory: hybrid recall, graph traversal, journaling, durable documents, project-scoped context, automatic reflection memory, communication preferences, profile and boundary memory, significant events, and open follow-up loops.
  • Wallets: linked Base wallet generation, address management, approval-oriented limits, and agent payout identity.
  • Connectors: Discord, Slack, Telegram, WhatsApp, Teams, Matrix, email, local file queues, OpenClaw, SwarmDock, SwarmFeed, and more.
  • MCP Servers: connect any Model Context Protocol server (stdio, SSE, or streamable HTTP) and inject its tools into agents alongside built-ins. Configure, test, and assign per-agent from the MCP Servers panel.
  • Extensions: external tool extensions, UI modules, hooks, install/update flows, and managed resource manifests for extension-owned agents, routines, local folders, gateways, and setup checks.

Use Cases

SwarmClaw is a general-purpose agent runtime. Here are some of the ways people use it.

Personal Assistant

A single agent with memory, web access, scheduling, and file tools — your always-available copilot.

> "Remember that I prefer window seats. Book research time every Monday at 9am. Summarize the articles I saved last week."

  • Remembers preferences, contacts, and decisions across conversations
  • Schedules reminders, recurring check-ins, and follow-ups
  • Researches, drafts, plans, and manages your day-to-day
  • Bridges to WhatsApp or Telegram so you can message your agent on the go

Starter kit: Personal Assistant → 1 agent, ready in under a minute.

Virtual Company

Build a full org chart of specialized agents that collaborate, delegate, and report up — a lightweight simulation of a real company.

Role Agent Responsibilities
CEO Strategist Sets objectives, reviews progress, delegates to department heads
CTO Builder Owns technical execution, code reviews, architecture decisions
CFO Analyst Tracks budgets, monitors token spend, produces cost reports
CMO Marketer Drafts campaigns, manages content calendar, monitors channels
COO Operator Coordinates cross-agent work, manages schedules, unblocks tasks
  • Each agent has its own provider, model, personality (soul), and tool access
  • The CEO delegates via the task board; department heads pick up work autonomously
  • Heartbeat loops let agents check in on their own, surface blockers, and request approvals
  • Memory means every agent remembers past decisions and context
  • Connect the CMO to Discord/Slack so it can post updates directly

Research Bureau

Multiple research agents working in parallel, each with different search strategies, then synthesizing findings.

  • Spawn a swarm of researchers across different topics or sources
  • Each agent searches, fetches, reads, and summarizes independently
  • A lead agent collects outputs into a structured report with citations
  • Memory stores findings for future reference across conversations
  • Schedule recurring research runs (daily digest, weekly competitive scan)

Starter kit: Research Copilot → 1 focused researcher, scale up with subagents.

OpenClaw Fleet

Distribute autonomous agents across multiple machines using OpenClaw gateways — one control plane, many runtimes.

  • Deploy OpenClaw runtimes on local machines, VPS nodes, or Tailnet peers
  • Each agent targets a different gateway profile (one for code, one for research, one for ops)
  • The operator agent coordinates work across the fleet via delegation and the task board
  • Gateway health, runtime state, and version info visible from the Providers screen
  • Import SKILL.md files from any OpenClaw instance into SwarmClaw's skill library

Starter kit: OpenClaw Fleet → Operator + Remote Builder + Remote Researcher.

Content Studio

A writer/editor pipeline for blogs, docs, newsletters, marketing copy, or social posts.

  • Writer drafts content based on briefs, outlines, and style guides
  • Editor tightens structure, fixes tone, and flags missing evidence
  • Schedule daily or weekly content runs with automatic handoff
  • Connect to Slack or Discord to publish directly from the pipeline
  • Image generation agent produces visuals alongside copy

Starter kit: Content Studio → Writer + Editor pair.

Customer Support Desk

Agents answering questions on every platform your users are on, with shared memory and escalation paths.

  • Bridge a support agent to Discord, Slack, Telegram, WhatsApp, and Teams simultaneously
  • The agent remembers each sender's history, preferences, and open issues
  • Unanswerable questions escalate via ask_human or get routed to a specialist agent
  • Schedule a nightly agent to review open threads, follow up on stale conversations, and summarize trends
  • Skills let you codify common support workflows so the agent improves over time

Crypto Operations

Agents with linked wallets for on-chain work — monitoring, trading, signing, and reporting.

  • Attach Solana or Ethereum wallets to any agent
  • Agents can check balances, simulate transactions, and execute swaps
  • Approval gates require human sign-off before spending above a threshold
  • Schedule periodic balance checks or price-alert sweeps
  • The operator agent coordinates across multiple wallet-holding agents

Mix and Match

These aren't exclusive templates — they're patterns you combine. A virtual company can have a dev team inside it. A personal assistant can spin up a research swarm on demand. An OpenClaw fleet can run your customer support desk.

The building blocks are the same: agents, tools, memory, delegation, schedules, connectors, and skills. SwarmClaw just gives you the control plane to wire them together.

General

What is SwarmClaw? SwarmClaw is an open-source, self-hosted AI agent runtime and multi-agent framework. It lets you run autonomous AI agents, agent swarms, and orchestrators with durable memory, MCP tools, skills, delegation, schedules, and support for 23+ LLM providers — serving as a practical alternative to Claude Code and LangChain for self-hosted workflows.

How does SwarmClaw differ from LangChain or CrewAI? SwarmClaw is a self-hosted runtime rather than a code library. It provides a persistent dashboard, durable agent memory, real-time org chart visualization, and built-in multi-agent orchestration with delegation — all running on your own infrastructure. LangChain and CrewAI are code frameworks you embed in your applications; SwarmClaw is the platform your agents run on.

Is SwarmClaw production-ready? Yes. SwarmClaw is used in production by teams running autonomous agent swarms. It includes security features like approval-gated actions, TLS support, and access key management.

Setup & Configuration

How do I install SwarmClaw? Install via npm: npm install -g @swarmclawai/swarmclaw, then run swarmclaw init to create your configuration. Docker deployment is also available via the provided Docker Compose setup.

Which LLM providers are supported? SwarmClaw supports 23+ providers including OpenAI, Anthropic (Claude), Google Gemini, OpenRouter, Ollama (local), DeepSeek, Groq, Together AI, and more. Configure your API keys in the .env file or via the dashboard.

Can I use local models? Yes. SwarmClaw integrates with Ollama and other local LLM backends for fully offline agent operation.

Security Notes

  • First run creates an access key; keep it private.
  • Do not expose port 3456 directly without a reverse proxy and TLS.
  • Review agent prompts and enabled tools before granting shell, browser, wallet, or outbound capabilities.
  • Wallet and outbound actions can be approval-gated globally.
Related resources