← Back to Leaderboard
OIntrect-io

Intrect-io/OpenSwarm

Agentic CLI and CI gate with isolated fixes, re-review, and deterministic checks

View on GitHub ↗
AI Coding ToolQuickstart ↓
Engineering Health (Methodology)
A+ · 91/100
Maintenance Activity
● Updated 12d ago
Latest Release
v0.24.4
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption19/25
Release Cadence17/20
License Clarity20/20
DockerSelf-HostedCLI
Total Stars
★ 871
24h Growth
+0
7d Growth
+0
Forks
149

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

Intrect-io/OpenSwarm Star History (2026-02-24 - 2026-12-03) ALL-TIME STAR HISTORY (2026-02 – 2026-12) +870 in 282d · avg +3/day 920 460 0 2026-02-24: ★ 12026-03-14: ★ 2052026-04-04: ★ 3852026-04-25: ★ 5942026-05-16: ★ 7562026-06-06: ★ 7922026-06-27: ★ 8022026-07-18: ★ 8082026-08-08: ★ 8252026-08-29: ★ 8322026-09-19: ★ 8522026-10-10: ★ 8622026-10-31: ★ 8672026-11-18: ★ 8702026-12-03: ★ 871 ★ 871 2026-02 2026-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

OpenSwarm has two entry points into its TypeScript orchestration stack: the standalone openswarm review gate for local diffs or CI, and an optional autonomous daemon. The daemon separates issue intent in Linear or the local tracker from execution state in ~/.openswarm/automation.db. Its AutonomousRunner polls on a heartbeat, the DecisionEngine selects runnable issues, and RunLedger claims them for available slots while recording leases, attempts, file scope, and outbox entries. PairPipeline then runs Worker → Reviewer → Tester → Documenter with task workers isolated in Git worktrees.

The Node.js package exposes the openswarm CLI and includes better-sqlite3, @linear/sdk, discord.js, and @modelcontextprotocol/sdk. Provider adapters bridge native agent loops and external CLIs such as Codex and claude -p. Adapter choice affects enforcement as well as inference: native loops withhold mutating, web, and MCP tools in read-only mode, while external CLIs rely on their corresponding permission or sandbox controls. An adapter without declared read-only enforcement is refused.

Key Capabilities & Differentiators

The gate reviews committed or working-tree diffs and can group confirmed findings, apply fixes in isolation, and re-review the result. The PR publishing flow requires deterministic verification. openswarm review --max fans review out across codebase areas, with --max-files-per-area controlling granularity. Autonomous pipelines compare failing checks against the merge base by default so existing failures do not automatically block unrelated changes. Checks can be discovered for Node, Python, Rust, and Go or configured in .openswarm/verify.yaml.

Provider options include Codex/GPT, OpenRouter, Claude Code, and local endpoints such as Ollama and LM Studio. The composite GitHub Action derives a PR diff from its base, accepts an explicit reviewer model, and reports the decision, whether the gate ran, and a SARIF file output. Exit 0 includes approve, revise, or an empty diff; exit 1 covers rejection and, in fix mode, unresolved findings or failed verification; exit 2 means no verdict was produced. The hybrid routing experiment resolved 3 of 3 attempted SWE-bench Lite instances that the lightweight models alone had failed. That small sample demonstrates the workflow, not a general success rate.

Trade-offs & Limitations

Compared with standalone Codex or Claude Code, OpenSwarm adds role separation, repeatable verification, and tracker-to-worktree scheduling. Compared with CI that only runs repository checks, it adds judgment about diffs and an optional repair loop, but it also introduces provider quotas, model-dependent verdicts, and more state to operate. Start with the standalone gate unless issue scheduling and recovery justify a daemon. Shadow its verdicts before making it a required check: the default exit-code mapping is non-rejection, not explicit approval.

Worktrees isolate edits, not credentials. Keep secrets out of sandbox.sharedPaths, and treat a privileged PR review job differently from a trusted-branch fix job. The read-only Action runs from a temporary directory rather than letting the reviewed checkout supply its configuration; pin the action to a trusted immutable ref and keep write permissions out of review-only jobs. Hosted inference moves model compute off the runner but brings cost and source-data handling considerations. Local inference shifts capacity planning to the operator, and worker concurrency still multiplies checkout, build, and test load.

Hardware & Deployment Guide

The CLI requires Node.js 22 or later and is distributed as @intrect/openswarm. For an initial trial, configure one provider and run openswarm review --path . --read-only; no daemon or tracker is needed. For autonomous operation, openswarm init writes config.yaml and .env, openswarm doctor checks native dependencies, providers, and ports, and openswarm start launches the daemon. A local model endpoint plus the SQLite tracker avoids mandatory hosted inference and tracker accounts, but the model server and build toolchain still need their own provisioning.

The Docker Compose definition builds the production Dockerfile target. Run only one daemon per state volume, pin OPENSWARM_IMAGE to an immutable commit tag, and configure a dashboard token if the published port must be reachable; without a token the dashboard binds to container-local loopback. Linux verification requires working bubblewrap support and fails closed without it. Release v0.24.1 added reviewer model selection in the Action, v0.24.2 made the reviewer's final no-tools turn request an explicit verdict, and v0.24.4 added durable verdict replay for matching review kind, base, and changed-path content digest.

Durable scheduling: RunLedger persists claims, leases, attempts, file scope, and outbox entries separately from issue intent.
Role separation: PairPipeline runs Worker → Reviewer → Tester → Documenter, with task workers isolated in Git worktrees.
CI gate semantics: Exit 2 means no verdict was produced; exit 0 can mean revise, not just approval.
Verification: Baseline-diff checks distinguish pre-existing failures from regressions, and Linux verification fails closed if bubblewrap cannot run.
Provider routing: Choose hosted or local adapters, with an explicit reviewer model override in the GitHub Action.
Verdict replay: v0.24.4 can reuse a review in the same deployment when the review kind, base, and changed-path content digest match.
Best For

Teams that want a consistent review-and-repair workflow for local changes and pull requests, with repository checks before publication and optional issue-driven automation.

Skip If

Native CI already meets your needs, you want every edit to remain interactive, or you cannot isolate build and test execution or approve the chosen model's handling of source code.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedCLI
npm install -g @intrect/openswarm
export OPENROUTER_API_KEY=…              # or use an authenticated codex/claude/local provider
openswarm review --path . --read-only    # review the current diff without mutation
openswarm review --max --fix --path .    # fix confirmed findings, re-review, then verify

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
OpenSwarm ★871—TypeScriptMITAgentic CLI and CI gate with isolated fixes, re-review, and deterministic checks
Codewhale41.2k+38RustMITRust coding agent with swappable models, sandboxed execution, and turn receipts
opencode230.9k+1.3kTypeScriptMITTerminal-first coding agent with separate planning and editing modes
claude-code158k+709TypeScript—A terminal coding agent for navigating codebases, running tasks, and handling Gi

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/Intrect-io/OpenSwarm.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

Intrect-io/OpenSwarm Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about OpenSwarm

Does the review gate need the daemon or Linear?

No. openswarm review --path . --read-only can run with a configured model provider and no daemon or tracker. The composite GitHub Action reviews against the PR base and exposes decision, gate-ran, and sarif-file. Use Linear or the local SQLite tracker only if you want the daemon to schedule work from issues.

What hardware does a self-hosted installation need?

There is no project-wide GPU or VRAM minimum. With a hosted provider, inference runs remotely; size the Node.js host for concurrent workers, Git worktrees, repository builds and tests, and persistent state. For local inference, size the model server separately: the model, quantization, context length, and concurrent requests determine RAM and VRAM needs.

Can we self-host OpenSwarm for commercial use?

Yes. The MIT license permits commercial use and modification; retain the copyright and license notices when redistributing covered copies. Self-hosting the orchestrator does not keep source code on-premises if you select a hosted model provider. Review provider terms and data-handling requirements separately.

When is OpenSwarm preferable to native CI checks or a standalone coding CLI?

Choose native CI checks when linting, tests, and branch protection cover your needs. Choose a standalone Codex or Claude Code session when a developer should direct each task. OpenSwarm adds a repeatable review-and-repair workflow, separate implementation and review roles, and optional tracker-driven scheduling, at the cost of more configuration and operational state.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining Intrect-io/OpenSwarm? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Intrect-io/OpenSwarm on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare