Deploy LoopForge

Self-hosted coding-agent workflows with approval gates, on MySQL

Deploy LoopForge

/data

Just deployed

/var/lib/mysql

Deploy and Host LoopForge on Railway

LoopForge is Tencent's open-source, self-hosted workspace for delivering software with coding agents. Teams chat with agents such as CodeBuddy, Codex and Claude Code, turn requirements into repeatable SOP workflows that mix scripts, agent roles and human approval gates, and review runs, logs and code changes in one browser UI.

About Hosting LoopForge

Hosting LoopForge means running its Go platform (web UI, API and workflow engine) next to a MySQL 8.4 database, keeping both on persistent storage, and protecting the first administrator account. This template builds LoopForge 0.4.0 from upstream's official image pinned by digest, adds MySQL 8.4.13 on its own volume, and wires them over Railway's private network. On first start it creates the admin account with a generated password, turns self sign-up off, and loads upstream's starter SOPs and welcome project. Railway has no Docker socket, so AI SOPs run on an execution machine you connect from the LoopForge UI.

Common Use Cases

  • Run coding agents on your repositories through reviewed SOP workflows with approval gates
  • Give a small team one shared place for requirements, agent runs, logs and delivered changes
  • Coordinate several agent CLIs (CodeBuddy, Codex, Claude Code) with per-user keys on connected execution machines

Dependencies for LoopForge Hosting

  • MySQL 8.4 (included as a service with its own volume)
  • An execution machine with Docker or the agent CLIs for AI runs, connected from the LoopForge UI

Deployment Dependencies

Implementation Details

  • Sign in as admin with the LOOPFORGE_ADMIN_PASSWORD value from the LoopForge service's Variables tab. Change it later in Platform administration; editing the variable after the first start has no effect.
  • Self sign-up is off. Add AGENTFLOW_ALLOW_SIGNUP=true to let visitors create accounts, or create them as the administrator. Every account can see every project, so only invite people you trust.
  • Without a Docker socket, the web UI, API, SOP designer, approvals and script steps run on Railway. For AI SOPs and conversation workspaces, open Execution machines in LoopForge, copy the binding command and run it on a Linux or macOS host. Model keys go in each user's personal settings.
  • Data lives on two volumes: /data (workspaces, sessions, CLI state) and /var/lib/mysql.

Why Deploy LoopForge on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying LoopForge on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
117
View Template
Weaviate
Vector database with hybrid search and an API key-protected API

GitHub Locker
1
View Template
Möbius Personal AI OS
Self-hosted AI agent that builds and runs apps for you, with memory.

Tracklayer
1