Skip to main content

Self-hosted · Open source

Command every coding agent from one browser.

Stream your coding agents and shells from your machines to a browser on your desktop or phone. Self-hosted, with no SSH or port forwarding. Terminals stay local or P2P whenever possible.

Free during beta — no card required

Claude CodeCursor AgentCodexGrokOh My PiPiKimi CodeopencodeShell+ z.ai · Kimi · DeepSeek · Fireworks via Claude
FTown desktop showing Codex receiving replies from its Claude Code and Pi sessions.

Codex opens Claude Code and Pi, delegates two checks and reads their replies. Waiting time omitted.

Your workspace, wherever you are.

Pick up from your phone.

Follow the same agents and their replies from your phone.

FTown on a phone-sized screen showing Codex's summary of replies from Claude Code and Pi, with touch controls.

See which devices have access.

Review the browsers and computers connected to your account from the Security panel.

FTown Security Access panel showing approved browsers and verified computer access.

Solo mode

Run it entirely on your network

One command starts the bridge, a realtime hub and the web panel on a single port of your own machine. Your code, terminals and agent output never leave your network. No account, no cloud service, no telemetry.

npx -y ftown@latest setup && "$HOME/.ftown/ftown" --solo

Prints a link like http://192.168.1.10:8040/#k=… — open it on any device on your Wi-Fi.

Nothing phones home — the only outbound traffic is two one-time downloads from GitHub (the hub binary, checksum-pinned, and the panel bundle), plus whatever your AI agents send to their own model providers.
Key in the URL, hash on disk — a 256-bit access key pairs your devices; only its hash is stored, and --rotate-key replaces it.
Also runs in Docker — docker compose up from docker/solo, or put it behind Tailscale or cloudflared when you want it off the LAN.

Encrypted browser controls require HTTPS or trustworthy localhost. Use a TLS tunnel for LAN access; plain LAN HTTP shows setup guidance.

Read the Solo guide →
7
agent CLIs supported
∞
parallel sessions
100%
self-hosted
MIT
open source

Encryption & trust

Follow the data, know the endpoints.

Approved endpoints encrypt application content before it leaves the device. Every route uses the same authenticated framing; a failed direct connection selects another encrypted route.

Add a device without copying a private link.

  1. 1. Request

    Sign in on a new browser, or start a new computer for your account. It waits for approval and cannot read your sessions yet.

  2. 2. Review

    On an approved browser, open Security → Devices → Pending approvals. Review the device you recognize. Review alone grants no access.

  3. 3. Compare & confirm

    Check the code on both actual devices and confirm locally on each. The trusted browser approves; verified approval unlocks encrypted access.

One browser approval covers current and future account computers. Each computer is approved once. Reject anything unexpected; cancel mismatched codes. First-device setup and private-link approval remain explicit alternatives.

Browser / PWA

Separate non-extractable encryption and signing keys in this installation’s IndexedDB. Only an approved browser signs account device membership.

Application encryption ↔
Local HTTP / WebSocket · WebRTC P2P · Centrifugo relay
Relay carries opaque content; routing metadata remains visible.

Your bridge

Encryption key and pinned signed account history stay in its local data directory. It cannot sign account device approvals. Decrypted sessions, terminal history, and mail are processed here.

Account, directory & notifications

HTTPS carries signed public device/computer history. The service orders and delivers updates; a directory alone cannot approve keys. IDs, hostname, online state, sizes and timing remain visible. Push carries a generic notice.

Local agents & model providers

The bridge decrypts before dispatching to local agents and tools. Their files, terminal data, and external model-provider connections have their own storage and trust boundaries. Local hook ingestion is an explicit plaintext exception.

Application encryption: HPKE Auth with P-256, HKDF-SHA256 and AES-256-GCM. Account history uses separate ECDSA P-256 signatures and pinned continuity.

Saved browser requests resume on reload. Requests expire after five minutes; lost temporary verification state requires an explicit fresh attempt, including after a bridge process restart. A lost approval reply can resume the exact committed operation. Local recovery restores one computer, not lost account signing keys.

Automatic approval uses a new FTown code-comparison protocol, not an externally audited protocol. Checking both devices provides approximately 48-bit protection per attempt; ignoring a mismatch defeats that check. The explicit private-link fallback uses a separate 256-bit secret and is never selected silently.

Connected computers refresh account trust every 30 seconds. Account access pauses after 24 hours without a valid refresh; this is not a guaranteed revocation deadline against a service withholding updates. Existing bridge approvals require explicit migration; Solo and local recovery remain independent.

Browser crypto requires HTTPS or trustworthy localhost, including Solo. Plain LAN HTTP cannot unlock encrypted controls. Minimal health/discovery and local hook ingestion remain outside application framing.

Endpoint software and an unlocked browser remain trusted. This does not provide anonymity, hardware-backed key protection, forward secrecy, or a zero-knowledge hosted service.

Every session tries the ladder, in order
Local
Loopback WebSocket, plain TCP — survives VPNs and endpoint filters like Cloudflare WARP that block UDP/WebRTC. Data never leaves the machine.
P2P
WebRTC DataChannel over LAN or localhost, STUN only. Data stays on your network.
Cloud
Centrifugo relay — the reliable fallback used only when both direct rungs fail.
While on Cloud, the browser keeps retrying Local and P2P in the background and seamlessly flips a live session back up the ladder with a full screen resync — no reload.
Three steps, no SSH
1
Run the bridge
Run the setup command once to install ftown on your machine, then start it with ftown start. It registers with your dashboard and installs future updates from there.
2
Open your browser
Sign in to the ftown UI from desktop or phone. Every bridge and its agent sessions show up live — no SSH, no port forwarding.
3
Orchestrate the swarm
Spawn Claude Code, Cursor, Codex, Grok, Pi, Oh My Pi, Kimi Code, opencode, or a shell. Run them in parallel, organize agent trees, and drive them all from anywhere.
Capabilities
Multi-agent orchestration
Run coding-agent CLIs and raw shells as full interactive TUIs. Build parent/child teams, move sessions between groups, and coordinate them through durable mail.
Real-time terminal streaming
PTY output flows directly to your browser over WebRTC when you're on the same machine or network, with scrollback replay, resize sync, and mobile-friendly controls.
Multi-bridge & multi-session
Connect many machines with ftown-bridge. Run parallel agent sessions and organize them from one dashboard.
Resume where you left off
Resume native Claude, Cursor, Codex, Pi, and Oh My Pi sessions after a bridge restart. Kimi Code continues by workspace.
Live activity & token usage
See agent activity, tool events, models, and token usage while sessions are running—not only after they stop.
Access anywhere
Mobile-optimized layout, PWA install, and connection diagnostics — manage agents from phone or desktop.
Self-hosted & private
Your stack: Next.js UI, Centrifugo for sessions and signaling, PostgreSQL auth, and bridges on your own hardware or cloud.
Terminal data stays on your network
On localhost or LAN, terminal I/O pairs peer-to-peer and never touches the cloud. Centrifugo only relays it while a remote viewer is actively watching.

Built by developers tired of SSH-ing into boxes to babysit agents.

Start your swarm

Self-host it free, or try the hosted version while it's open. Drive your agents from any browser in minutes.

Free during beta — no card required