fx
An experimental open-source coding agent from Vercel Labs, shipped as one small native binary with an inline terminal interface and a one-shot `fx ask` mode. Run it in EnvHaven from any browser, signed in once with your own account, and keep it working 24/7; or install it on your own machine.
Updated November 23, 2026 · Checked against fx 0.0.11 in EnvHaven v1.9.0
| At a glance | |
|---|---|
| Made by | Vercel Labs |
| Command | fx |
| Version checked | 0.0.11, in EnvHaven v1.9.0 |
| License | Apache-2.0, source |
| Documentation | fx.sh/docs |
Use fx in EnvHaven
- Open your workspace in any browser, on a laptop, a tablet or a phone.
- Tap Launch, choose fx and tap Sign in: it starts fx, which asks you to sign in the first time. For an API key, choose Set key instead and paste
AI_GATEWAY_API_KEY; the workspace keeps it write-only. - Start it with one tap: signed in, fx gets a green dot in the Launch menu and an icon in the workspace’s top bar. Support is built in (0.0.11), so there is nothing to install or update.
- Give it a task. The image sets
FX_PERMISSION_MODE=yolo, which fx 0.0.11 reports as “mode=full access”. - Close the tab whenever you like. The workspace is an always-on Linux machine, so fx keeps working, and every device you open it from shows the same session.
Every agent signs in with your own account: EnvHaven never resells tokens or adds a markup.
Install fx on another machine
macOS, Linux:
curl -fsSL https://fx.sh/setup.sh | bash
Sign in from the terminal
In a workspace the Launch menu does this for you. On any other machine, or when you would rather type it:
- Run
fx loginfor a Vercel account (AI Gateway, the default provider),fx login codexfor a ChatGPT plan orfx login grokfor SuperGrok. - For scripts and CI, set
AI_GATEWAY_API_KEY. - ChatGPT Plus, Pro, Business, Enterprise or Edu through its Codex provider, SuperGrok or X Premium through its Grok provider, or Vercel AI Gateway billing.
Run fx without permission prompts
For every session, as an environment variable (fx 0.0.11):
export FX_PERMISSION_MODE=yolo
fx’s default mode, auto, sends every unresolved tool call to a reviewer model and bills that request; full access skips the check. Newer releases call the mode full-access (flag --full-access) and read the old name yolo only until 0.0.18, and fx updates itself in the background, so full-access is the spelling that lasts. fx permissions shows the current mode.
In EnvHaven: The image sets FX_PERMISSION_MODE=yolo, which fx 0.0.11 reports as “mode=full access”. The details, and when full access is safe, are on the fx full-access page.
Instructions file
fx reads AGENTS.md, ~/.fx/AGENTS.md.
Add MCP servers
fx mcp add <name> <command> [args...]
fx mcp add --transport http <name> <url> adds a remote server; servers live in ~/.fx/mcp.json.
The MCP config converter writes the same server for every agent at once.
Run it from scripts
fx ask "<prompt>"
Headless runs cannot stop to ask, so they need the full-access setting above.
fx away from your desk
fx keeps working only while the machine it runs on is awake. In EnvHaven that machine is the workspace, which never sleeps: start a task, close the laptop and check on it from a phone.
- fx in the browser
- fx on iPhone
- fx on iPad
- fx on Android
- fx on a Chromebook
- fx on Windows
- fx on a VPS
- fx in Docker
- fx on a Raspberry Pi
- fx 24/7
When fx misbehaves
- Is fx down? Live status of the providers it depends on.