Tencent/LoopForge
Self-hosted coding-agent orchestration for repeatable delivery with human approval
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & 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.
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.
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.
Quick Start & Installation
git clone https://github.com/Tencent/LoopForge.git cd LoopForge ./start.sh
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| LoopForge ★ | 6.3k | +634 | Go | — | Self-hosted coding-agent orchestration for repeatable delivery with human approv |
| herdr | 54.1k | +871 | Rust | Apache-2.0 | Rust terminal multiplexer for persistent, multi-machine coding-agent workspaces |
| cc-switch | 159.1k | +1.7k | Rust | MIT | Tauri desktop manager for AI coding providers, local routing, and MCP config |
| graphify | 156.8k | +2.4k | Python | Apache-2.0 | Local 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.
curl -sL https://repoforai.com/repo/Tencent/LoopForge.md
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?
Does a self-hosted deployment need a GPU, and what drives resource use?
Can my company deploy LoopForge commercially and keep sensitive code on premises?
When is LoopForge a better choice than using Claude Code or Codex directly?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
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