lfg_

Run a swarm of coding agents on your own VPS.

Self-hosted control plane for Claude Code, Codex, and OpenCode. Each agent lives in its own tmux session. Driven from an installable PWA over your tailnet. (One-time claude login required — OAuth or ANTHROPIC_API_KEY.)

1-click install
$
curl -fsSL https://lfg.omgs.app/install | bash
Needs Linux + bun · tmux · git · claude. setup.sh installs all of them. codex & opencode optional.
Open source
mit licensed
Self-hosted
your vps
Parallel
tmux sessions
Tailnet-only
no public ports
01 · install

One prompt. One VPS. You're running agents.

Paste this on a fresh Ubuntu/Debian VPS (as a normal sudo user, not root). The release bundle is self-contained — prebuilt web UI and deps vendored in, no npm step. Agent binaries aren't bundled: lfg uses whatever claude / codex / opencode are on your PATH.

requires
Linux · bun · tmux · git · claude CLI
setup.sh
installs all of them for you
optional
codex · opencode (any on PATH works)
one-time
claude login — OAuth or ANTHROPIC_API_KEY
bundle
~80MB — ships no agent binaries
root@vps-fra1-04 · ~
bash
# one command — fetches the prebuilt bundle and runs it.
$ curl -fsSL https://lfg.omgs.app/install | bash

✓ detected: ubuntu 24.04 · x86_64
✓ installing: bun · git · tmux · claude CLI
✓ joining tailnet …  (TS_AUTHKEY optional for non-interactive)
✓ downloaded: lfg-linux-x64.tar.gz  · prebuilt (web UI + deps vendored, no npm step)
✓ wrote: ~/.lfg/.env
✓ installed systemd user service: lfg.service
✓ tailscale serve → https://<host>.<tailnet>.ts.net  (tailnet-only, bound to 127.0.0.1:8766)

# next: run `claude` once to complete OAuth, then open the dashboard URL above.
$ claude▌
manual install

Prefer to inspect first? Grab the self-contained tarball directly from GitHub releases — extract, run.

https://github.com/BennyKok/lfg/releases/latest/download/lfg-linux-x64.tar.gz
build from source (for development)

Hacking on lfg itself? Clone the repo and run the dev scripts. Not needed for normal use.

git clone https://github.com/BennyKok/lfg && cd lfg && bun install
02 · features

Four ideas. Nothing else.

  • 01
    Parallel agents in tmux
    Run many Claude Code / Codex / OpenCode sessions side by side. Each is a real tmux session you can tmux attach to.
  • 02
    Drive from any device
    Installable PWA: launch sessions, stream the transcript live, answer permission/plan prompts as tappable actions, switch model mid-run.
  • 03
    Self-hosted & private
    Your VPS, your keys, your code. Binds to loopback and is served over your tailnet via tailscale serve. Not on the public internet.
  • 04
    Insight agents
    Scheduled markdown agents with input collectors (git log, repo files, GitHub issues/PRs, model lists, security scan) that produce reports and follow-up actions.
03 · how it works

Three steps. Then you're orchestrating.

step 01
One command on a fresh VPS

On a fresh Ubuntu/Debian box (as a normal sudo user, not root). Installs Bun, git, tmux, and the Claude CLI. Pulls the prebuilt release bundle — web UI + deps vendored, no npm step. Joins your tailnet, writes .env, and runs the web UI as a systemd user service fronted by tailscale serve.

curl -fsSL https://lfg.omgs.app/install | bash
step 02
Log in once

Run claude and complete the browser OAuth, or set ANTHROPIC_API_KEY in .env. One-time.

claude # or set ANTHROPIC_API_KEY
step 03
Open the dashboard on your tailnet

The setup script prints the HTTPS URL. Launch and steer agents from any device on your tailnet.

https://<host>.<tailnet>.ts.net
04 · in use

A board of real tmux sessions.

Each card is a long-lived tmux session lfg owns end-to-end. Steer them from your phone.

ada.tail4f2c.ts.net
[ + New session ]model: claude-code · opus ▾
CLAUDE-CODEopus
Refactor src/api to bun sql
~/atlas/api · feat/sql
● Working…
CLAUDE-CODEsonnet
Wire stripe webhooks v2
~/atlas · main
"Allow edit to src/server.ts?"
CODEXgpt-5-codex
Port worker to durable objects
~/atlas/jobs · main
Plan ready — review 5 steps.
OPENCODEqwen3-coder
Draft ADR: queue choice
~/atlas/docs · main
○ Awaiting input
CODEXgpt-5-codex
Audit auth flow
~/atlas/web · audit/auth
● Working…
OPENCODEqwen3-coder
Bump deps and rerun tests
~/atlas · chore/deps
Idle · last activity 12m
All sessions are real tmux sessions — tmux attach -t lfg-<id> from the box if you want a raw terminal.

Stop reading. Start orchestrating.

Self-hosted control plane for Claude Code, Codex, and OpenCode. One paste on a fresh VPS, one claude login, you're orchestrating.

1-click install
$
curl -fsSL https://lfg.omgs.app/install | bash