DevSwarm logo

DevSwarm

Community
justrach

High-performance MCP server, code graph engine & evolutionary algorithm platform in Zig. 33 tools: GitHub project management, agent swarm orchestration, iterative review-fix loops, blast radius analysis, and code navigation via Model Context Protocol.

Publisherjustrach
Repositorydevswarm
LanguageZig
Forks
7
Stars
67
Available tools
0
Transport typestdio
Categories
LicenseAGPL-3.0
Links
  • Connect tools to AI workflows

    DevSwarm exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    67 stars and 7 forks from the linked repository.


The Problem

You're already using Codex, Amp, or Claude Code. It writes code, fixes bugs, answers questions. But it's still one agent doing one thing at a time.

You: "Find all the memory leaks in this codebase and fix them"

  Orchestrator decomposes the task
       │
  ┌────┼────┐
  ▼    ▼    ▼
 [W1] [W2] [W3]   ← parallel agents, each owns a subsystem
  │    │    │
  └────┼────┘
       ▼
  Synthesizer → one clean report back to you

DevSwarm is an MCP server that gives your AI assistant the ability to orchestrate itself — spawning sub-agents, running parallel workloads, and chaining multi-step task pipelines. No new UI. No new workflow.


⚡ Quick Start

Option 1: Download a binary (recommended)

Grab the latest release for your platform from GitHub Releases.

Option 2: Build from source

bash
git clone https://github.com/justrach/codedb.git
cd codedb
zig build          # builds zig-out/bin/devswarm
zig build test     # run all tests

Requirements: Zig 0.15.x, codex and/or claude CLI on PATH, Git


Connect to your AI assistant

Add to ~/.claude.json:

json
{
  "mcpServers": {
    "devswarm": {
      "command": "/path/to/devswarm",
      "args": ["--mcp"],
      "env": { "REPO_PATH": "/path/to/your/repo" }
    }
  }
}

Then run /mcp to verify — you'll see 37 tools added to your assistant.

Add to ~/.codex/config.toml:

toml
[mcp_servers.devswarm]
command = "/path/to/devswarm"
args = ["--mcp"]
env = { REPO_PATH = "/path/to/your/repo" }

Add to your Amp MCP config:

json
{
  "mcpServers": {
    "devswarm": {
      "command": "/path/to/devswarm",
      "args": ["--mcp"],
      "env": { "REPO_PATH": "/path/to/your/repo" }
    }
  }
}

🚀 What You Can Do

Swarms — parallel agents on big tasks

run_swarm("Audit the entire auth system for security issues", max_agents=5)

An orchestrator breaks the task into sub-tasks. Workers run in parallel. A synthesizer combines everything. You get one answer instead of five tabs.

Task Chains — multi-step pipelines

run_task("Fix the race condition in src/queue.zig", preset="reviewer_fixer")

Built-in presets chain agents together automatically:

PresetPipeline
finder_fixerfind the issue → fix it
reviewer_fixerreview → fix reported issues
explore_reportdeep exploration → structured report
architect_builddesign → implement

Review-Fix Loops — iterate until clean

review_fix_loop("Check for memory leaks", max_iterations=3)

Runs reviewer → fixer → reviewer again, until the reviewer says NO_ISSUES_FOUND or hits the iteration cap.

Single Agents with Role + Model Routing

run_agent("Explain the PPR algorithm", role="explorer", mode="deep")

Each agent gets the right model automatically:

RoleModelDoes
finderSonnetSearch and locate
reviewerSonnetReview for correctness
fixerSonnetApply fixes (writable)
explorerSonnetDeep codebase exploration
architectOpusSystem design decisions
orchestratorOpusDecomposes swarm tasks
synthesizerSonnetCombines agent outputs
monitorHaikuLightweight checks
ModeUse when
smartMost tasks
rushQuick answers
deepHard problems, architecture
freeMinimize cost

🔧 Full Tool List (37 tools)

Agents run_agent · run_swarm · run_task · review_fix_loop · run_reviewer · run_explorer · run_zig_infra

Planning decompose_feature · get_project_state · get_next_task · prioritize_issues

Issues create_issue · update_issue · close_issue · get_issue · create_issues_batch · close_issues_batch · link_issues

Issue-filing note: create_issue and create_issues_batch now enforce the issue template implied by CONTRIBUTING.md and the agent issue-discovery standard. Issue bodies must include: one-sentence problem, exact repro, observed result, expected result, nearby passing checks, acceptance criteria, and non-goals. create_issue(parent_issue=...) is context-only: it appends Parent issue: #N to the body. Use link_issues for explicit dependency links.

Git create_branch · get_current_branch · commit_with_context · push_branch · recently_changed · git_history_for

Pull Requests create_pr · get_pr_status · list_open_prs · merge_pr · get_pr_diff · review_pr_impact

Code Intelligence blast_radius · relevant_context · symbol_at · find_callers · find_callees · find_dependents

Repo set_repo


⚙️ How It Works

DevSwarm is a provider-agnostic runtime. When you call run_agent, it:

  1. Resolves — picks backend (Claude or Codex), model tier, system prompt, and tool preamble based on role + mode + what's available on your PATH
  2. Dispatches — spawns the agent on the right backend, falls back automatically if one isn't available
  3. Returns — streams output back through MCP

System prompts are assembled dynamically from agency rules, role instructions, mode guidance, and auto-detected tool availability (zig tools → ripgrep → grep). No hardcoded prompts.


Telemetry

devswarm collects anonymous usage telemetry to help improve the project. This is enabled by default.

What's collected

  • Agent roles used (e.g. "finder", "reviewer", "fixer")
  • Model names (e.g. "claude-sonnet-4-6")
  • Token counts (input/output per worker)
  • Wall time and estimated cost
  • Worker count and parallelism metrics

What's NEVER collected

  • Your code, file contents, or diffs
  • Prompts, task descriptions, or agent outputs
  • Repository names, file paths, or branch names
  • Any personally identifiable information

How to opt out

Edit .devswarm/config.toml:

toml
[telemetry]
enabled = false

Or set the environment variable:

bash
export DEVSWARM_TELEMETRY=false

You can opt out at any time. The telemetry preference is set during onboarding and stored in .devswarm/config.toml.


Contributing

Contributions are welcome. See CONTRIBUTING.md for guidelines before opening a PR.

License

MIT — see LICENSE


Full changelog: README-changelog.md

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "justrach-devswarm": {
      "command": "",
      "args": []
    }
  }
}

Use DevSwarm MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once DevSwarm is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add DevSwarm as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the DevSwarm MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "justrach-devswarm": {
      "command": "npx",
      "args": [
        "-y",
        "devswarm"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the DevSwarm MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the DevSwarm MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use DevSwarm to help me with this task?
DevSwarm
Sure. I read it.
Here is what I found using DevSwarm.

Frequently asked questions

What is the DevSwarm MCP server used for?

DevSwarm is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use DevSwarm MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use DevSwarm with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use DevSwarm MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With DevSwarm connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect DevSwarm MCP to TypingMind?

DevSwarm runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does DevSwarm MCP provide in TypingMind?

DevSwarm exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use DevSwarm MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If DevSwarm requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇