← Back to Leaderboard
LTencent

Tencent/LoopForge

Self-hosted coding-agent orchestration for repeatable delivery with human approval

Engineering Health (Methodology)
A · 83/100
Maintenance Activity
● Updated today
Latest Release
v0.4.3
Commercial License Check
Custom / Check Repo

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

Maintenance35/35
Fork Adoption22/25
Release Cadence20/20
License Clarity6/20
DockerSelf-HostedMCP
Total Stars
★ 6,287
24h Growth
+26
7d Growth
+634
Forks
881

GitHub Star History

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

Tencent/LoopForge Star History (2026-07-28 - 2026-12-04) ALL-TIME STAR HISTORY (2026-07 – 2026-12) +6.3k in 129d · avg +49/day 6.6k 3.3k 0 2026-07-28: ★ 12026-08-08: ★ 32026-08-22: ★ 192026-09-05: ★ 232026-09-19: ★ 392026-10-03: ★ 432026-10-17: ★ 512026-10-31: ★ 692026-11-08: ★ 1612026-11-16: ★ 2,5122026-11-24: ★ 5,4062026-12-04: ★ 6,287 ★ 6.3k 07-28 09-30 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

LoopForge is a Go-based delivery platform that wraps coding-agent CLIs rather than replacing them. Main Bot opens a Docker workspace on demand, checks out project repositories and delegates work to roles as subagents. The LOOP engine runs published workflow definitions: nodes declare dependencies and artifacts, and advance as dependencies complete. Both paths write back to the same requirement record, so an interactive fix and a formal run remain part of the same delivery history.

The Go manifest includes Gin, Gorilla WebSocket, GORM, MySQL and SQLite drivers, and creack/pty. The packaged platform deploys MySQL; the SQLite dependency alone does not establish a supported Compose database alternative. The source tree separates Go entrypoints and internals (cmd/, internal/), frontend areas (chatbot/, web/) and migrations (migrations/). Reusable roles are the main extension point for prompts, executor and model selection, rules, Skills and MCP tools. Execution can use platform workers, Docker sandboxes or a connected machine.

Key Capabilities & Differentiators

The visual LOOP designer composes Agent, Script, Human gate, Sub-LOOP and Preview build nodes into versioned workflows. Conditional routing, branch joins and rework edges let teams send failed checks back to the right stage. Build and test commands can run as deterministic shell steps. Operators can steer chat mid-reply, pause or take over a run, and retry or rerun from a selected node. A shared approval inbox, tool traces, worker logs and per-node artifact snapshots provide evidence for sign-off.

The executor catalog covers CodeBuddy, Codex, Claude Code, OpenCode, Cursor CLI, Antigravity, Kimi Code, Pi, DeepSeek Harness and ZCode. Support is not uniform: Cursor CLI is installed on first chat use and is not installed into LOOP sandboxes; ZCode must be on the service or execution machine's PATH. The platform also tracks PR/MR status and merges, schedules agent tasks, and reports token and cost estimates using public list prices rather than provider invoices.

Trade-offs & Limitations

Compared with using Claude Code, Codex or CodeBuddy directly, LoopForge adds a separate delivery layer: it can give planning, implementation and review distinct roles, stop for sign-off and retain evidence across handoffs. That pays off on recurring team work, but adds runner and sandbox administration, credential management, template maintenance and persistent state. Compared with Dify, n8n or Flowise, it is more specialized: repository checkouts, coding roles and PR tracking are built in, while general-purpose business automation is not the main use case.

Self-hosting puts the orchestration platform and its stored history under your control; it does not include model usage or guarantee local inference. Review which providers receive source and prompts, what GitHub tokens can do, and which permissions connected machines give agent and script steps. Approval gates stop the workflow at configured points; they do not replace execution permissions. The deprecated loopforge-cli still serves existing Local workflows on fixed versions, but new adoption should distinguish that product from the maintained platform and its MCP connection.

Hardware & Deployment Guide

The standard path requires Git and runs ./start.sh from a checkout. The installer checks Docker, Compose, Python 3 and curl, then starts the platform and MySQL, generates configuration and session secrets, and provisions starter sandboxes and LOOPs. A packaged install requires neither Go nor Node.js on the host. The Compose database service defaults to MySQL 8.4, with persistent storage and a loopback-only host port mapping. After startup, the script-and-approval demo works without model credentials; configure an executor for agent steps and authorize GitHub for existing-repository PR work.

The v0.4.3 checkout pins ghcr.io/tencent/loopforge:0.4.3 in Compose, and its release publishes a digest. ./start.sh dev builds the checkout instead. Online setup requires access to image and package sources; some CLIs also install on first use, so a self-hosted install should not be treated as an offline one. The platform listens on all interfaces by default and is intended for a trusted team: review the account model, restrict network access and configure HTTPS before exposing it.

Shared delivery record: Chat and LOOP runs link work back to requirements and track PR/MR status and merge detection.
Workflow control flow: Versioned graphs support conditional routing, branch joins, sub-LOOPs and rework edges.
Execution contract: Nodes declare dependencies and artifacts, with deterministic shell steps available for build, lint and test.
Reusable roles: A role carries its CLI, model, rules, Skills and MCP tools into both chat subagents and LOOP nodes.
Review and recovery: A central approval inbox sits alongside tool traces, worker logs, per-node artifact snapshots and targeted reruns.
Executor compatibility: Ten coding-agent CLIs are supported, but Cursor CLI is chat-only and ZCode must be installed separately.
Best For

Teams that already use coding CLIs and want a repeatable path from requirement to PR, with independent review roles, deterministic checks, human approval and retained run evidence.

Skip If

A single CLI already handles your day-to-day edits, you cannot operate Docker workers and MySQL, or you need a turnkey offline inference stack or an actively maintained standalone Local CLI.

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

Quick Start & Installation

DockerSelf-HostedMCP
git clone https://github.com/Tencent/LoopForge.git
cd LoopForge
./start.sh

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
LoopForge ★6.3k+634Go—Self-hosted coding-agent orchestration for repeatable delivery with human approv
herdr54.1k+871RustApache-2.0Rust terminal multiplexer for persistent, multi-machine coding-agent workspaces
cc-switch159.1k+1.7kRustMITTauri desktop manager for AI coding providers, local routing, and MCP config
graphify156.8k+2.4kPythonApache-2.0Local AST graphs for dependency tracing, with CLI and MCP access.

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/Tencent/LoopForge.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.

Tencent/LoopForge Star History on RepoForAI

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

Frequently Asked Questions about LoopForge

Where do coding CLIs and MCP fit into the architecture?

LoopForge runs a selected coding CLI for chat turns and Agent nodes. A reusable role sets the executor, model, prompt, rules, Skills and MCP tools. CodeBuddy can also connect to the platform over MCP to use projects and LOOPs. That integration is distinct from the deprecated LoopForge Local CLI.

Does a self-hosted deployment need a GPU, and what drives resource use?

There is no fixed GPU or VRAM requirement for a deployment that uses external model APIs. Size the host for MySQL, concurrent Docker workspaces, and the builds and tests they run. Allow disk capacity for images, repository checkouts, logs and artifacts. If you run models separately on your own infrastructure, size that inference service independently.

Can my company deploy LoopForge commercially and keep sensitive code on premises?

LoopForge is distributed under MIT, which permits commercial use subject to its notice obligations. Review LICENSE and THIRD_PARTY_NOTICES.md for redistribution. Self-hosting the platform does not change the terms of coding CLIs or model APIs, nor does it ensure that code and prompts stay on premises when an external provider is used.

When is LoopForge a better choice than using Claude Code or Codex directly?

Start with the CLI directly for one-off edits and solo iteration. Add LoopForge when multiple people need the same delivery stages, a reviewer separate from the implementer, required sign-off, or a shared record of tests and artifacts. Dify, n8n and Flowise are broader choices when the workflow is not primarily about delivering changes to repositories.

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 Tencent/LoopForge? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Tencent/LoopForge 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