Skip to content
melonleePublic

About

A GUI lets you run a fleet of bots with your own subscription (e.g. Claude Code, Grok, Agy, Codex). Available on desktop, mobile and remote runtime.

Topics

Resources

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English · 简体中文

F4Code

F4Code

A GUI for coding agents that takes local models seriously.

Install · Docs · Build from source · FAQ

F4Code means "Freedom 4 (for) Code": freedom to choose your tools, models, and where your code runs.

The F4Code wordmark on a dark background

F4Code runs coding agents behind one fast interface. A Node WebSocket server wraps the agents you already have installed — Codex, Claude Code, Cursor, Grok, OpenCode, Antigravity, Kiro, Pi, Muse Code, fx — and serves web, desktop and mobile clients from the same threads.

Think of it as a bring-your-own-subscription alternative to apps like Claude Desktop, Codex App, Cursor Glass and Conductor, with one difference that shapes the rest of the product: the model you point it at can be one running on your own laptop.

Switch agents and choose your editor

Switch between Cursor Agent, Codex and Claude Code, and open the project in Cursor, VS Code or Zed.

In Settings → Providers, choose which coding agents to enable for a project. Switch between them in the composer's model picker. On web and desktop, press ⌘/Ctrl + Shift + ↑/↓ while the picker is open to move straight to another provider. In a thread that supports handoff, the new agent receives context from the conversation. How handoffs work

To edit the files yourself, use Open in… to open the current workspace in an installed editor such as Cursor, VS Code or Zed.

What you get

  • Your subscriptions. F4Code does not resell tokens. It drives the agents you are already signed in to.
  • Local models first. Find a server on your machine, link an agent to it, and its model becomes the default. See below.
  • Desktop, web, and phone. One server, and every client shows the same threads. There are iOS and Android apps.
  • Remote ready. Run agents on any machine and connect over your local network, Tailscale, SSH, or a tunnel. End-to-end encryption is available.
  • Git built in. Each thread can work in its own worktree. Review the diff, then commit, push, and open a pull request.
  • No product telemetry. No analytics, crash reporting, tracing or install ID. Model catalog and price requests, update checks, and traffic to providers or environments you connect still use the network.

What it looks like

Use a local model dialog listing discovered servers, with a recommended agent choice

Pick a server the app found on this machine, and the agent that should drive it.

Settings → Inference listing two local servers, one of them marked Unreachable

Settings → Inference. Each server reports what it can actually do.

A thread answering a question about an attached image, using a local model

A local model reading an attached image, with its name and server shown in the composer.

Local models come first

Run a model on your own machine and connect your coding agent to a local server such as Ollama or LM Studio.

  • One step to a local model. From first run, Settings, the model picker, or the command palette, F4Code finds the servers on your machine (Ollama, LM Studio, llama.cpp, vLLM, SGLang, TensorFold), links an agent to the one you pick, and makes its model the default for new threads.
  • Repair instead of "Unreachable". When a server stops answering, Find server looks for where it moved and moves it there, keeping its name, key and linked agents.
  • Never quietly cloud. Local models only holds even before any local model is set up, and a Codex instance linked to a server waits for it instead of falling back to a cloud login.
  • Background writing stays local. Thread titles, commit messages, PR text, branch names and voice cleanup use a local model; Settings → Threads → Text generation fallback defaults to Local models only, so your diffs never leave the machine on their own.
  • The picker says where a model runs, and local models show Local instead of a cloud price.

Providers → Pi linked to a specific inference server, with a dropdown choosing which one

Link a provider to a server once. Every thread from that agent follows it.

Full detail is in Local models.

Three surfaces, one server

Continue the same conversation on your desktop, in a browser or on your phone by connecting to the same F4Code server.

  • Web — served locally by the f4 command, or pointed at any environment you run.
  • Desktop — an Electron app that bundles the server runner and can host remote connections.
  • Mobile — a React Native app for iOS and Android that drives any F4Code server.

From diff to pull request

Review a task's changes in its own Git worktree, commit, push and open a pull request.

Open the Diff pane to see what the agent changed in a turn. To commit, push or open a pull request, expand the repository in the thread details panel. Source control

Remote work, encrypted if you want

Connect over your local network, Tailscale, SSH, or a tunnel. In Settings → Sharing & access, both Private transports only (refuse tunnels, proxies and plain LAN) and End-to-end encryption are available and off by default. Limits are in Encrypted remote control.

The End-to-end encryption toggle, showing a session fingerprint to verify

No product telemetry

This fork's telemetry, analytics, tracing and identity collection were deleted from the code rather than switched off: no analytics, no crash reporting, no install IDs. The only network traffic is traffic you create — your prompts and files to the model providers you configure, tunnel traffic when you link environments, model-catalog and price fetches, and update checks. The complete list is in docs/user/network-calls.md.

Install

The latest macOS Apple silicon desktop build is available on the GitHub Releases page. Choose the .dmg asset marked arm64 for an Apple silicon Mac. F4Code is not published to a package registry or an app store yet, so other platforms should run it from source:

Requirements: Node 26 and pnpm 12 (pnpm install -g pnpm@12; the repo pins pnpm@12.14.0).

pnpm install
pnpm dev          # server + web; prints a pairing URL to open

Other entry points:

pnpm dev:web      # web client only
pnpm dev:desktop  # Electron shell
pnpm typecheck    # whole monorepo

You need at least one agent installed and signed in. Install F4Code covers per-provider setup, and Provider setup covers ACP agents.

Build a desktop app

Linux AppImage (needs a recent Rust, libsecret-1-dev and ImageMagick):

vp i
vp run dist:desktop:linux   # artifacts land in release/

The macOS arm64 release is currently distributed manually from GitHub Releases. The update check is not wired to a real server, so download a newer release when you want to update.

Documentation

All docs have the full list.

Layout

Path What lives there
apps/server WebSocket server, provider adapters, orchestration, checkpointing
apps/web React/Vite client
apps/desktop Electron shell around the web client
apps/mobile React Native client
apps/marketing Marketing site
packages/contracts Wire contracts shared by every client and the server
packages/client-runtime Connection and domain state shared by web and mobile
packages/provider-* One adapter per agent
docs/ User docs, internals, operations

AGENTS.md records the conventions this codebase is maintained with; MIA_CHANGELOG.md records what changed in this fork, newest first.

Credits and license

F4Code is an unofficial fork of T3 Code, built by T3 Tools Inc. and its contributors. This fork keeps their copyright notice and is not affiliated with or endorsed by T3 Tools; it follows their branding policy, so the name, wordmark and icons here are F4Code's own. TRADEMARK.md holds the upstream policy on the T3 marks.

Released under the MIT License, the same as upstream. That license covers source code only, not either project's trademarks or branding. Third-party notices are in third-party-licenses.

About

A GUI lets you run a fleet of bots with your own subscription (e.g. Claude Code, Grok, Agy, Codex). Available on desktop, mobile and remote runtime.

Topics

Resources

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages