LoopForge
Self-hosted workspace that runs coding agents through repeatable SOPs with human approval gates.
- Source repo
- Tencent/LoopForge
- Stars
- ★ 5.9k
- Last updated
- today
- FARS reviewed
- Nov 18, 2026
- License
- NOASSERTION
- Primary language
- Go
- FA score
- 68/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A platform team that wants every backend or frontend change to follow the same plan, implement, review, test and accept sequence, starting from the built-in backend, frontend, bug-fix and product SOPs copied into their project.
- Not a fit if
- Teams exposing the platform to untrusted multi-tenant users (default sandboxes use the host Docker socket)
- English-only teams that need a fully English chat workbench
- Users without Docker who expect a pure desktop install
- Website
- loopforge.cn ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-23+415.4 ★/day over 7 days
- Source review
- 68/100 · Some gaps
What does this agent do, and when should you use it?
LoopForge is a self-hosted workspace from Tencent for shipping software with coding agents. You can either chat with Main Bot, which spins up a Docker sandbox conversation workspace with your repositories checked out, or run an SOP whose engine executes Agent, Script, Human gate, Sub-SOP and Preview build nodes in dependency order. Roles are reusable definitions — prompt, executor, model, rules, Skills, MCP tools and artifacts — that work both as SOP nodes and as subagents in chat. The actual work is done by coding-agent CLIs including CodeBuddy, Codex, Claude Code, OpenCode, Cursor CLI, Antigravity, Kimi Code, Pi, DeepSeek Harness and ZCode. Deployment is ./start.sh, which brings up a Compose stack (MySQL, platform services, built-in sandboxes) listening on 0.0.0.0:8090; the project is MIT licensed and you supply your own model credentials.
A user describes a requirement to Main Bot in the chat workbench. Main Bot opens a conversation workspace — a Docker sandbox with the project's repositories checked out — delegates to project roles as subagents, and delivers a PR/MR or a direct merge into a shared branch (mode=direct). On the SOP path, the engine starts each node once its dependencies complete: Agent nodes (role prompt, executor, model, rules, Skills, MCP tools), Script nodes (build, test, lint, report generation), Human gate nodes that pause the run for approval or send work back to a chosen step, Sub-SOP nodes and Preview build nodes. Every node declares its artifacts and dependencies. Runs record node status, tool traces, worker logs, per-node artifact snapshots and workspace previews, surface everything in one Needs review inbox, and can be paused, retried or rerun from any node. Both paths track the same requirements, so changes link back to what was asked for and count toward delivery and cost reports. The platform also provides AI scheduled tasks, engineering metrics with static HTML/SVG export, token/cost accounting at public list prices, and an OpenAPI-described HTTP and MCP API.
- A platform team that wants every backend or frontend change to follow the same plan, implement, review, test and accept sequence, starting from the built-in backend, frontend, bug-fix and product SOPs copied into their project.
- A developer who wants to explore a fix conversationally with Main Bot in a Docker sandbox that already has the repository checked out, then have it open a PR/MR.
- A team already using several CLIs (Claude Code, Codex, CodeBuddy) that wants to assign a different executor and model to planning, implementation, review and testing roles while keeping traces and artifacts in one place.
- An engineering lead who needs a human sign-off before code ships, using the Needs review inbox plus per-node status, logs and artifact snapshots as evidence.
- A team that needs recurring agent tasks with full workspace, SOP and MCP access, and requirement-to-delivery cost reporting.
- An individual developer who only wants built-in workflows inside an IDE or CLI, served by the legacy LoopForge Local (
loopforge-cli).
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Config files
compose.yaml- Runtime
- Go 1.26.11+
- Install notes cover
- macOS · Linux · Docker
How do you install or deploy this agent?
Install Git and clone the repository first. The installer checks Docker, Compose, Python 3 and curl and offers to install missing components; on Linux, Python/curl installation supports apt, dnf and yum, and the Compose plugin supports x86_64/arm64 with SHA-256 verification of the official release. macOS needs a working Python 3 and Docker Desktop. Set LOOPFORGE_YES=1 to accept installation prompts.
git clone https://github.com/Tencent/LoopForge.git
cd LoopForge
./start.sh./start.sh pulls the GHCR release image pinned in compose.yaml without building locally, creates the MySQL and platform services, generates configuration and session secrets, and installs the built-in sandboxes, starter SOPs and welcome project. If ghcr.io downloads stall, choose a registry explicitly:
MIRROR=ghcr.io ./start.sh
MIRROR=ghcr.nju.edu.cn ./start.sh pullTo build the checkout from source use ./start.sh dev; native development needs Go 1.26.11+ and runs via bash scripts/dev.sh.
How do you use this agent?
Open the address printed by the installer and create your account; the first account becomes the administrator. The service listens on 0.0.0.0:8090 by default — allow that port in your cloud security group or put an HTTPS reverse proxy in front, and restrict access to your own IP until the administrator exists.
./start.sh
./start.sh logs
./start.sh stop
./start.sh restart
./start.sh pullTo try it without an API key, new accounts join the LoopForge demo project: open Templates → Platform check · script & approval → Run SOP. A real script writes a report and the run waits at the approval step; approve from Needs review or the run page. For real work, use the home page quick-access guide to add a model key for the chosen executor and connect a repository (personal settings → Connect GitHub, device-code approval through the built-in OAuth App, no PAT required). GitLab, Gitea and Gogs need Git SSH configured per the docs, and PR/MR or Issue automation needs a hosting API token or a separately configured MCP.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- SOPs turn roles, scripts and human gates into versioned, publishable workflows, so the same requirement follows the same stages and checks every time.
- Ten coding-agent CLIs are supported as executors, and each role can pick its own CLI, model, rules, Skills and MCP tools — no single-vendor lock-in.
- SOP runs and conversation workspaces both execute in Docker sandboxes with real repositories checked out, with artifacts, logs, tool traces and node status in one place and pause/retry/rerun from any node.
- Requirements are tracked from request to PR/MR merge, with token and cost accounting at public list prices plus engineering metrics.
- MIT licensed and fully self-hosted, with an OpenAPI-described HTTP and MCP API for integrating your own systems.
- In the default Compose install, sandboxes start through the host Docker socket, which grants host daemon control and is intended for trusted teams, not untrusted multi-tenant isolation.
- The chat workbench is Chinese-only for now; management pages are English and Chinese, so English-only teams lose part of the experience.
- Installation needs Docker, Compose, Python 3 and curl, plus model credentials for each executor you use; model usage is not included.
- PR/MR and Issue automation depend on GitHub authorization or a separately configured MCP, and GitLab/Gitea/Gogs need extra Git SSH setup.
- LoopForge Local (
loopforge-cli) is marked legacy: existing installs and workflows keep working, but it is no longer the primary path.
How does this agent compare with similar options?
The README distinguishes two kinds of alternative. Dify, n8n and Flowise are general-purpose AI and automation workflow builders, while LoopForge targets software delivery with coding agents: implementer and reviewer roles, Docker sandboxes with real repositories, GitHub delivery, human acceptance gates and run evidence. Against using Claude Code, Codex or CodeBuddy directly, LoopForge does not replace the CLI — each agent step and chat turn runs one of them; LoopForge adds who does what, in which sandbox, in which order, with which checks, and who signs off.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| LoopForge This agent | 68 · Some gaps | Self-hosted serviceFree + model costs | ★ 5.9k | today | Go | Codex · Claude Code |
| Rovai AI | 77 · Good | — | ★ 277 | today | Rust | Codex · Claude Code |
| tlbx | 73 · Some gaps | Self-hosted serviceFree + model costs | ★ 119 | today | C# | Codex · Claude Code |
| DeterminFlow | 73 · Some gaps | Desktop appFree + model costs | ★ 979 | 2mo ago | Python | — |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence shows README openly admits Docker socket grants host daemon control, default bind 0.0.0.0:8090, and trusted-team (not multi-tenant) design — honest disclosure rather than least-privilege design, so least_privilege is 1; human gates, mandatory --user-confirmed for REQUIREMENT, and explicit-stage DSH approve give solid user confirmation (2). Data flow is documented via the external usage contract, SHA-256-only token storage, Authorization-header-only credentials, and logs excluded from Git (2). Sensitive handling has SECURITY.md and a Skill rule against printing env vars (2). Dependency security has govulncheck, npm audit, gitleaks and SHA-256 verification, but go.mod lacks lockfile checksums and no SBOM detail, so 2. External effects include mode=direct merges, auto-execution/high-privilege agent modes and scheduled tasks; gated but broad by default, deducted to 1. Rollback has pause/retry/rerun, install stops on conflict, backup guidance (2). Attribution has LICENSE third-party notices, AGENTS.md Grasp/Harness UI license references, superpowers modification notice (2).
Self-consistency: README, AGENTS.md, docs and Skills agree on SOP nodes, editions and approval gates, but AGENTS.md is contributor architecture rules rather than product instructions and cli.py is truncated, leaving minor inconsistency risk, so 2. Dependency availability: relies on ten external coding CLIs, npm first-use installs, GHCR images and MIRROR hosts; broad external surface with some CLIs unbundled, deducted to 1. Failure messages: Skill specifies no-retry on 400/401/403/409/413, 409 fact-checking, doctor diagnostics, and clear status codes (2).
Audience and scenarios: README clearly separates chat vs SOP, team vs solo, platform vs Local Legacy, covering scenarios well (3). Capability boundaries: Skills and docs repeatedly state no implementation, no commit, no token estimation, no re-reporting native Runs, no source creation — clear boundaries (3). Trigger precision: devflow Skill states ordinary small edits should not auto-trigger, but ten executors and multiple editions complicate trigger selection, so 2. Environment fit: supports Linux/macOS, Docker, native deployment, multiple Git hosts, but macOS needs Docker Desktop and some CLIs need manual install, so 2.
Information architecture: README TOC, layered docs, AGENTS.md domain split are clear (3). Install notes: start.sh, install.sh, MIRROR, pipx, npx paths are detailed (3). Naming stability: AgentFlow/agentflow mixed with LoopForge, AGENTFLOW_* and LOOPFORGE_* env vars coexist, deducted to 2. Examples and FAQ: demo SOP, FAQ, acceptance matrix, video tour (3). Known limitations: Local marked Legacy, no multi-tenant isolation, chat workbench Chinese-only, external data excluded from requirement counts (3). License: MIT with third-party notices, but metadata is NOASSERTION and LICENSE wraps MIT in a custom header, deducted to 2. Versioning/changelog: only tags and npm versions mentioned, no CHANGELOG, so 1. Maintenance responsibility: SECURITY.md states only latest stable and default branch maintained, but publisher identity unverified, so 2.
Output usability: artifact layout, PR/MR, per-node artifacts, reports and approvals are clear, but chat workbench is Chinese-only and some executors need extra install, so 2. Marginal value: adds role separation, sandboxes, approvals and observability over raw coding CLIs, clear value but heavy dependencies, so 2. Cost-benefit: BYO credentials, token/cost accounting, demo needs no API key, but requires Docker, MySQL, multiple CLIs and manual migrations, so 2.
Claim traceability: README cites e2e test files, validation.md, acceptance-matrix, release-readiness, locatable (2). Cross-source corroboration: README, docs, CI workflows and Skills corroborate approval gates and usage contract (2). Fact/inference separation: docs distinguish passed/failed/blocked/not-run, Skill forbids token estimation and rewriting report success as business success, but some performance/security claims remain self-asserted, so 2.
- Default bind 0.0.0.0:8090 and Docker socket grants host daemon control; suitable only for trusted teams, require HTTPS and access restriction before public exposure.
- mode=direct merges, auto-execution/high-privilege agent modes and scheduled tasks broaden default capability; tighten at deployment.
- Depends on ten external coding CLIs, npm first-use installs and GHCR images — broad supply chain; MIRROR trusts a third-party host, verify digests.
- Publisher identity unverified and license metadata is NOASSERTION; verify license and provenance before adoption.
- AGENTS.md is contributor architecture guidance, not product instructions; do not execute it as agent behavior spec.
FAQ
Can I evaluate it without a model API key?
Is GitHub required?
Is the sandbox safe for untrusted users?
What does it cost?
Should I use chat or an SOP?
Is LoopForge open source?
Is LoopForge still maintained?
Who makes LoopForge?
What is LoopForge's official website?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.