# LoopForge **Repository Path**: cuiyl/LoopForge ## Basic Information - **Project Name**: LoopForge - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-11-24 - **Last Updated**: 2026-11-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
English · 简体中文
Two ways to work · Quick start · SOPs · Features · Local (Legacy) · FAQ · Docs
https://github.com/user-attachments/assets/8af401d9-1aae-427c-b4bc-455c12d17beb80-second product tour (1080p, with sound).
**LoopForge** is a self-hosted workspace where your team ships software with coding agents. Describe what you need to **Main Bot** in chat: it opens a Docker sandbox, checks out your repositories, delegates to project roles, and opens the PR. When a way of working proves itself, save it as an **SOP** (a standard workflow of agents, scripts and human gates) so the next requirement is delivered the same way, with review and approval built in. Coding-agent CLIs do the work: CodeBuddy, Codex, Claude Code, OpenCode, Cursor CLI, Antigravity, Kimi Code, Pi, DeepSeek Harness and ZCode. LoopForge adds the roles, sandboxes, checkpoints and history around them, all on your own infrastructure under the MIT license. ## Two ways to work | | **Chat with Main Bot** | **Run an SOP** | | --- | --- | --- | | Best for | Exploring, quick fixes, iterating with the agent | Repeatable delivery with fixed stages and sign-off | | How it runs | Main Bot opens a [conversation workspace](docs/conversation-workspaces.md) (a Docker sandbox with your repos) on demand and calls project roles as subagents | The engine runs Agent, Script, Human-gate and sub-SOP nodes in order, in their own sandbox | | You stay in control by | Queuing or steering messages mid-reply, and pausing, resuming or taking over a running SOP from chat | Approving at human gates, sending work back to a chosen step, retrying or rerunning from any node | | Delivers | A PR/MR, or a direct merge into a shared branch (`mode=direct`) | Documents, code or a PR, plus per-node artifacts and logs | Both paths track the same **requirements**, so every change, whether made in chat or by an SOP, links back to what was asked for and counts toward delivery and cost reports.
The chat home. Type a request, @ a role, skill, requirement, SOP or repository, and pick the executor, model and permission mode per conversation.
The SOP designer with the built-in bug-fix SOP. Each step picks a role; failed checks can send the work back to an earlier step.
| Node | What it does | | --- | --- | | **Agent** | A role (prompt, executor, model, rules, Skills and MCP tools) that designs, implements, reviews or tests. | | **Script** | A deterministic shell step: build, test, lint, generate a report. No AI where AI is not needed. | | **Human gate** | Pauses the run until someone checks the artifacts and approves, or sends the work back to a step. | | **Sub-SOP** | Runs another SOP as a sub-workflow. | | **Preview build** | Builds a static site and archives it for review. | Each node declares its artifacts and dependencies, and the engine starts each step once its dependencies complete. Start from a built-in SOP, adapt its roles, rules and environment to your project, and publish versions as it evolves.
A run waiting at a human gate: approve and continue, add context and rerun the step, or send the work back upstream.
**A delivery we actually ran:** four CodeBuddy roles planned a Python fix, implemented it, reviewed it independently and summarized the delivery. Three real tests passed; the run waited for human approval, then verified the accepted code had not changed. The [reusable acceptance case](e2e/api/45-delivery-model.test.mjs) checks the files and results. See the [validation record](docs/validation.md) for scope and known gaps. ## Features | Area | What you get | | --- | --- | | **Chat workbench** | Main Bot with per-conversation executor, model and permission mode. `@` references for roles, skills, requirements, SOPs and repositories. Messages queue while a reply runs; *Steer* interrupts and sends now. Generated files open in a side panel with preview, source and download. | | **Conversation workspaces** | On-demand Docker sandboxes with the project's repositories checked out, project roles as native subagents, and direct control of a running SOP workspace: pause, resume or take over. | | **SOP designer** | Visual canvas with Agent, Script, Human gate, Sub-SOP and Preview nodes, rework-on-failure edges, validation, version history and publishing. Built-in backend, frontend, bug-fix and product SOPs. | | **Roles** | Reusable definitions: prompt, executor, model, rules, Skills, MCP tools, artifacts and gates, shared across SOP nodes and chat subagents. | | **Requirement → delivery** | Requirements tracked end to end, whether shipped by an SOP or straight from chat, with PR/MR status tracking, merge detection and direct-branch merges. | | **Runs & approvals** | Live node status, tool traces, worker logs, per-node artifact snapshots and workspace previews. A single **Needs review** inbox for every gate waiting on you. | | **AI scheduled tasks** | Recurring agent tasks with full workspace, SOP and MCP access; a shared market of versioned, parameterized task templates; automatic SOP dispatch for new requirements. | | **Insights & cost** | Engineering metrics, business-domain reports with static HTML/SVG export, and token/cost accounting for SOPs and conversations at public list prices. | | **Execution environments** | Platform workers, Docker sandboxes, or a connected local execution machine using your own tools and repositories. | | **Team-ready** | Password accounts, projects and members, light/dark/system themes, an OpenAPI-described HTTP and MCP API. Management pages are in English and Chinese; the chat workbench is Chinese for now. |
Built-in SOPs are read-only blueprints; copy one into your project to run and edit it.
## LoopForge Local > **Legacy.** Previously published versions of LoopForge Local (`loopforge-cli`) remain available. The [Local guide](docs/local/usage.md) covers installing a fixed version and keeping existing workflows and artifacts. To use platform projects and SOPs from a coding assistant, [connect CodeBuddy to your LoopForge instance over MCP](docs/local/usage.md#connect-to-loopforge-with-mcp). Local continues to run its built-in workflows inside the coding assistant without a LoopForge server. | | Platform | Local (Legacy) | | --- | --- | --- | | Best for | Teams sharing chat workspaces, SOPs, approvals and history | One developer inside an IDE or CLI | | Needs | Docker + Python 3 | Node.js 20+, Python 3.8+ and a coding assistant | | Workflows | Chat with Main Bot + custom SOPs on a visual canvas | Built-in Classic / Portable workflows | | Evidence | Shared run details, approvals and metrics in the web workspace | Artifacts under `artifacts/{task_slug}/` + optional local dashboard | ## FAQ **Do I need an API key to try it?** No. The demo SOP uses only a script and a human gate. Chat and agent steps need a key for the executor you pick. Model usage is not included; you bring your own credentials. **Do I need GitHub?** No. Chat, documents and new projects run in the task workspace. Connect GitHub when you want to change an existing repository or open PRs. **Should I use chat or an SOP?** Use chat to explore and iterate; Main Bot can still open a PR. Once you find a way of working you want every requirement to follow, with fixed reviewers, tests and sign-off, put it in an SOP. Main Bot can start, pause and take over SOP runs, so the two paths work together. **How is this different from Dify, n8n or Flowise?** Those are general-purpose AI and automation workflow builders. LoopForge is built for **software delivery with coding agents**: implementer and reviewer roles, Docker sandboxes with real repositories, GitHub delivery, human acceptance gates and run evidence. **How is this different from using Claude Code, Codex, CodeBuddy or another coding CLI directly?** LoopForge doesn't replace them; it orchestrates them. Each agent step and each chat turn runs one of those CLIs. LoopForge adds what surrounds it: who does what, in which sandbox, in which order, with which checks, and who signs off. **Is it safe to expose on the internet?** New installations listen on all interfaces and target a trusted team. Read the [account and access model](docs/deployment.md#accounts) and set up HTTPS before opening it up. Report vulnerabilities privately via the [security policy](SECURITY.md). ## Documentation | I want to… | Start here | | --- | --- | | Deploy, manage accounts, connect execution machines | [Deployment](docs/deployment.md) | | Understand chat workspaces, scheduled AI tasks and token pricing | [Conversation workspaces](docs/conversation-workspaces.md) · [AI scheduled tasks](docs/ai-scheduled-task-capabilities.md) · [Token pricing](docs/token-pricing.md) | | Maintain an existing Local installation | [LoopForge Local](docs/local/usage.md) · [Editions](docs/local/editions.md) | | Extend the platform or use the HTTP / MCP API | [Architecture](docs/architecture.md) · [API reference](docs/api/README.md) · [Shared schedules API](docs/api/shared-schedules.md) | | Contribute to the UI | [Frontend design conventions](design.md) (Chinese) | | Check functional coverage and release readiness | [Validation record](docs/validation.md) · [Acceptance matrix](docs/testing/acceptance-matrix.md) · [Release review](docs/release-readiness.md) | | Understand source provenance and maintenance | [Public scope](docs/open-source-scope.md) · [Upstream synchronization](docs/upstream-sync.md) | ## Community Scan the QR code to join the LoopForge community group.
## Contributing
Issues and PRs are welcome: share a use case, report a bug, or improve workflows, integrations and the platform experience. Start with the [contributing guide](CONTRIBUTING.md). Security issues go through the [security policy](SECURITY.md).
If LoopForge is useful to you, a star helps others find it.