
Deploy CCCC
Coordinate AI coding agents in a group chat, with a token-locked Web UI
Just deployed
/data
Deploy and Host CCCC on Railway
CCCC is an open-source coordinator for AI coding agents. It puts Claude Code, Codex, Pi, OpenCode and other agent CLIs into one persistent Group chat with tracked delivery, read receipts, tasks and shared context, and gives you a Web UI to run and watch them from any browser, including your phone.
About Hosting CCCC
This template runs one service: the official CCCC v0.4.60 Linux release (checked against its sha256) with Claude Code, Codex and Pi preinstalled, built from a public GitHub repo. A single volume at /data keeps Groups, ledgers, access tokens, agent logins and your project folders, so they survive redeploys. The Web UI is locked on the first deploy: a generated admin Access Token is the only way in. The LLM API key you enter is used by the Pi agent; you can sign in to other agent CLIs from their terminal in the Web UI. CCCC with one Pi agent stays near 100 MB; give it more memory for more agents.
Common Use Cases
- Run a small team of coding agents (a foreman plus peers) on a repository and follow their work from the browser
- Keep long-running agent work going 24/7 on a server instead of a laptop, with a durable message history
- Check on agents and answer their questions from your phone, or through Telegram, Slack or Discord bridges
Dependencies for CCCC Hosting
- An API key for an OpenAI-compatible LLM provider (OpenAI by default), or an agent CLI login such as Claude Code
- A Railway volume for
/data(included)
Deployment Dependencies
- CCCC source and releases: https://github.com/ChesterRa/cccc (v0.4.60)
- Documentation: https://chesterra.github.io/cccc/
- Template repo: https://github.com/aalfath/cccc-railway-template
Implementation Details
Services. One service, CCCC, built from aalfath/cccc-railway-template. It runs cccc --headless (daemon and Web UI) as an unprivileged user on Railway's PORT, behind Railway's HTTPS domain. Health check: /api/v1/health.
After deploy.
- Open the service's variables and copy
CCCC_ADMIN_TOKEN. - Open the public URL and paste the token into the sign-in form. The browser keeps a session cookie for 30 days.
- Choose New, create a Group in a folder under
/data/workspace(for example/data/workspace/myproject; clone your repo there from an agent's terminal), then Add an agent and pick a runtime. Pi is already set up with yourLLM_API_KEY,LLM_BASE_URLandLLM_MODEL. For Claude Code or Codex, sign in once from the agent's terminal, or addANTHROPIC_API_KEY/OPENAI_API_KEYto the service variables.
Variables. CCCC_ADMIN_TOKEN is generated. LLM_API_KEY is the only prompt. LLM_BASE_URL (default https://api.openai.com/v1) and LLM_MODEL (default gpt-5.4-mini) point Pi at any OpenAI-compatible provider, such as OpenRouter, DeepSeek or a self-hosted gateway. Changing CCCC_ADMIN_TOKEN adds the new value as an admin token on the next start; remove old tokens in Settings > This instance > Web Access.
Security. Agents run with their approval prompts bypassed and can run any command inside the container, and anyone with the admin token controls them. Keep the token private, and give agents only the credentials they need. Docker-in-Docker and CCCC's projected browser are not available on Railway.
Resources. CCCC with one Pi agent running a tool job peaked under 100 MB in our tests at a 0.5 GB limit, so one agent fits the Free plan. We did not measure Claude Code or Codex under load: for those, or for several agents at once, choose Hobby or higher and raise the service's memory limit.
Updates. The template builds from a public GitHub repo. When we publish a new CCCC version there, Railway shows you an "update available" notice and you choose when to apply it. Read the repo's CHANGELOG.md first. Your data on /data is kept.
Why Deploy CCCC 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 CCCC 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
LLM_API_KEY
API key for an OpenAI-compatible LLM provider, used by the preconfigured Pi agent (for OpenAI: platform.openai.com/api-keys).

