/ Каталог / Песочница / swarmclaw
● Сообщество swarmclawai ⚡ Сразу

swarmclaw

автор swarmclawai · swarmclawai/swarmclaw

Self-hosted multi-agent runtime — orchestrate Claude Code / Codex / OpenCode / native subagents, persistent memory, schedules, MCP integration, 23+ LLM providers.

SwarmClaw is a control plane for running teams of AI agents locally. Plug in LLMs (Claude, GPT, Gemini, OpenRouter, Ollama, etc.), attach MCP servers as tools, schedule autonomous loops, and persist memory with hybrid recall + graph traversal. Desktop installers for macOS/Windows/Linux, Docker Compose also supported.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

swarmclaw.replay ▶ готово
0/0

Установка

Выберите клиент

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "swarmclaw": {
      "command": "npx",
      "args": [
        "-y",
        "swarmclaw"
      ],
      "_inferred": true
    }
  }
}

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "swarmclaw": {
      "command": "npx",
      "args": [
        "-y",
        "swarmclaw"
      ],
      "_inferred": true
    }
  }
}

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "swarmclaw": {
      "command": "npx",
      "args": [
        "-y",
        "swarmclaw"
      ],
      "_inferred": true
    }
  }
}

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "swarmclaw": {
      "command": "npx",
      "args": [
        "-y",
        "swarmclaw"
      ],
      "_inferred": true
    }
  }
}

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "swarmclaw",
      "command": "npx",
      "args": [
        "-y",
        "swarmclaw"
      ]
    }
  ]
}

Continue использует массив объектов серверов, а не map.

~/.config/zed/settings.json
{
  "context_servers": {
    "swarmclaw": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "swarmclaw"
        ]
      }
    }
  }
}

Добавьте в context_servers. Zed перезагружается автоматически.

claude mcp add swarmclaw -- npx -y swarmclaw

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: swarmclaw

Run an always-on research agent with SwarmClaw

👤 Researchers, competitive-intel analysts ⏱ ~45 min advanced

Когда использовать: You want an agent that wakes up daily, runs a research loop, and drops results somewhere.

Предварительные требования
  • SwarmClaw installed — One-click desktop installer or npm i -g @swarmclawai/swarmclaw
  • First-run access key — Generated on initial launch at http://localhost:3456
Поток
  1. Define the agent
    Create a SwarmClaw agent 'daily-ai-news' with provider=Claude, memory=enabled, schedule='every day 08:00'.✓ Скопировано
    → Agent registered
  2. Attach tools via MCP
    Attach firecrawl + notion MCPs so the agent can scrape and write results to Notion.✓ Скопировано
    → Tools wired
  3. Let it run
    Enable the schedule. Review memory weekly to see what it's learned.✓ Скопировано
    → Daily Notion pages appear

Итог: A background research teammate.

Подводные камни
  • LLM cost spiral on long loops — Set per-session token budgets in the agent config; alert on overrun
Сочетать с: firecrawl

Delegate coding tasks across multiple models with SwarmClaw

👤 Engineers who want quality-vs-speed tradeoffs per sub-task ⏱ ~60 min advanced

Когда использовать: A feature has planning (Opus), bulk coding (Sonnet), and polish (Codex) phases.

Поток
  1. Define the pipeline
    Create a workflow: planner=Claude Opus, coder=Claude Sonnet via Claude Code, reviewer=Codex. Handoffs via transcript.✓ Скопировано
    → Workflow visible in UI
  2. Run on a task
    Run the workflow on feature spec [paste]. Watch the handoffs.✓ Скопировано
    → Final PR proposal after each stage contributes

Итог: Right tool for each phase of a single feature.

Сочетать с: github

Build a memory-rich personal assistant with SwarmClaw

👤 Power users who dislike re-explaining context each session ⏱ ~30 min intermediate

Когда использовать: Your ChatGPT/Claude sessions lose context you wanted retained across days.

Поток
  1. Enable hybrid memory
    Create a long-lived session 'assistant' with hybrid memory (vector + graph). Pipe all prior transcripts into the memory.✓ Скопировано
    → Memory populated
  2. Ask and let it recall
    What were my open questions from last Tuesday's session about pricing?✓ Скопировано
    → Recalled items with citations to source sessions

Итог: An assistant that actually remembers.

Комбинации

Сочетайте с другими MCP — эффект x10

swarmclaw + claude-code

SwarmClaw orchestrates; Claude Code is the coder in the loop

Delegate the 'implement-feature' step to Claude Code via the swarmclaw workflow.✓ Скопировано
swarmclaw + firecrawl

Scheduled scraping + memory-enriched analysis

Daily agent: scrape competitor pages, diff against memory, flag changes.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
create_agent name, provider, memory?, schedule? Bootstrap a new agent 0
attach_mcp agent_id, mcp_config Give the agent tools 0
run_session agent_id, input Ad-hoc invocation LLM tokens
schedule_agent agent_id, cron Long-running autonomy 0
memory_query agent_id, query Inspect agent memory 0

Стоимость и лимиты

Во что обходится

Квота API
Whatever your LLM providers enforce
Токенов на вызов
Multi-turn sessions with memory retrieval: 3-30k per step
Деньги
Free self-hosted; LLM token costs are yours
Совет
Set hard per-session budgets; autonomous loops can spend unnoticed

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: LLM keys encrypted in the local data dir; first-run access key protects the UI
Исходящий трафик: To each configured LLM provider + attached MCPs
Никогда не давайте: internet-exposing the UI without auth — default is localhost only

Устранение неполадок

Частые ошибки и исправления

UI inaccessible after install

SwarmClaw binds to 127.0.0.1:3456; ensure nothing else owns that port. lsof -i :3456

Agent loops spend tokens in the background

Disable its schedule and inspect last transcripts; set a token budget on the agent before re-enabling

MCP server fails to start under swarmclaw

Test the MCP command manually first (with f/mcptools); swarmclaw uses the same invocation

Проверить: mcp tools -- <your-mcp-cmd>

Альтернативы

swarmclaw в сравнении

АльтернативаКогда использоватьКомпромисс
n8n-workflow-builderYou want deterministic workflow automation not agent loopsLess agentic; no LLM memory
LangGraph / AutogenYou want code-first orchestration in your own appYou host + write everything

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills