Skip to content
IndosaramPublic

About

Native terminal workspace for parallel AI coding agents. Git worktree isolation, persistent sessions, embedded browser tabs, and mobile remote access. Built with Rust, Tauri, Ghostty, and wgpu.

Topics

Resources

Contributing

Security policy

Stars

22 stars

Watchers

1 watching

Forks

Latest commit

 

History

4,499 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 简体中文

Ferryx

Ferryx

A native terminal for coding agents on macOS, Windows and Linux.

Claude Code, Codex and any CLI agent keep running when you close the app, remote Linux boxes connect without SSH, and every tab shows which agent is waiting on you. Native Rust on Tauri v2 with a libghostty terminal core; no Electron. A lane supervisor is on main for the next release.

Download  ·  Website  ·  Docs  ·  Discord


Ferryx running an agent in a split terminal next to an embedded browser tab

An agent working in a native terminal pane, split beside an embedded browser tab.


Download

Platform Package
macOS arm64 DMG (Apple Silicon) .dmg
Windows Microsoft Store (Primary) / Installer (Secondary) Store / .exe
Linux Portable AppImage (x64) .AppImage
Linux Debian / Ubuntu package (x64) .deb
Linux (Headless) Server / VPS PTY Daemon & CLI (x64 only; arm64: build from source) install.sh (curl -fsSL https://relay.ferryx.dev/install.sh | bash)

The macOS, Windows, and Linux links resolve against the latest release. Local release assembly stages the headless ferryx-cli beside the Linux AppImage and .deb (as ferryx-cli-linux-amd64) and, when the universal macOS CLI is present, as ferryx-cli-darwin-arm64, so the one-line installer above resolves a current artifact when the release publishes one and otherwise fails closed. No prebuilt ferryx-cli exists for Linux arm64; the installer exits with code 2 there and points to the source build. The installers check the downloaded ferryx-cli against the release's SHA256SUMS and refuse a mismatch. Verify other downloads with the checksums published alongside the binaries:

sha256sum -c SHA256SUMS.txt

Speed. Isolation. Total control.

Every layer is engineered for minimal latency and autonomous agent collaboration.

Native Ghostty & wgpu engine

Desktop terminal panes parse output with libghostty-vt and render through Ferryx's own GPU-accelerated wgpu pipeline, giving crisp font rasterization and low-latency throughput.

  • libghostty terminal core
  • wgpu GPU pipeline
  • Measured render latency: see Performance

Multi-agent workspaces

Run parallel AI coding agents (OmO, Claude Code, Codex, Antigravity, OpenCode, pi, omp, GJC, GitHub Copilot CLI, Cursor CLI, Grok, Kimi, Cline, Aider, Crush, Droid) in isolated split panes with real-time status indicators.

  • Isolated worktree per agent
  • Live status indicators
  • Launch straight from the tab bar

Flexible split-pane tiling

Arbitrary vertical and horizontal splits with pointer-drag resizing and smooth layout transitions.

  • Vertical and horizontal splits
  • Pointer drag resizing
  • Drag tabs into any pane

Mobile web pairing

Authenticated remote access after you sign in to your Ferryx account. Stream terminal output to a dependency-free DOM terminal grid and steer agents from anywhere.

  • Account sign-in via email magic link
  • Streamed terminal grid
  • Steer agents from a phone

Remote Linux machine pairing (No SSH required)

Pair headless Linux servers, VPSs, and cloud instances as project-owning machines. Ferryx uses an outbound-only relay tunnel, so machines behind NAT, firewalls, or without public IPs / open SSH ports connect seamlessly. When both machines can reach each other over UDP, a paired session also moves onto a direct, end-to-end encrypted QUIC path without dropping the terminal, and falls back to the relay if that path breaks. The relay stays the baseline; the direct path is opportunistic. To operate your own relay instead of the default service, follow the self-hosted relay guide for TLS, mail delivery, machine enrollment, and the separate desktop account and gateway settings.

  • Headless ferryx-cli needs no display server and links no GTK, WebKitGTK, or JavaScriptCore; on Linux it needs only glibc (libc, libm, libgcc_s)
  • Outbound encrypted relay tunnel: no inbound SSH, open ports, or public IP needed
  • Native terminal split-panes and remote Git worktrees run directly on the machine

Local-port forwards for a saved SSH machine are documented in docs/SSH_TUNNELS.md.

# 1. One-line install on the remote machine (Linux x64, macOS). After installing ferryx-cli it
#    runs `ferryx-cli up`, which prints an approval link for your account and installs a
#    service that keeps the daemon running. Pass --no-up to install the binary only:
#    curl -fsSL https://relay.ferryx.dev/install.sh | sh -s -- --no-up
curl -fsSL https://relay.ferryx.dev/install.sh | bash

# Manual path (after --no-up, or when no terminal was attached during install):
# 2. Start the headless PTY daemon in a dedicated service or terminal;
#    use a second terminal for step 3 while this foreground process runs.
ferryx-cli --daemon

# 3. Link machine to your account via email magic link (no open ports or GUI PIN copying needed)
ferryx-cli account login --email you@example.com --origin https://your-account-service.example
# Open the authorization link in your email; the command waits for approval.
# --origin defaults to https://relay.ferryx.dev; environment, saved origin and enrollment overrides are preserved.

Zero Electron overhead

Tauri v2 with the platform's native WebKit or WebView2 engine, paired with a headless Rust PTY daemon. The core runs on macOS, Windows, and Linux; selected OS integrations such as Dock badges and the transparent native-surface window remain macOS-first, and Windows renders emoji without color.

  • Tauri v2 shell
  • Headless Rust PTY daemon
  • macOS, Windows, Linux

Resilient persistence

Workspace state snapshots automatically and the GUI can reattach to a running daemon. Closing the GUI leaves daemon-owned processes running; stopping the daemon or rebooting the host can still end live PTYs.

  • Layout snapshots
  • Daemon survives the GUI
  • Reattach with output replay

Is Ferryx for you?

Ferryx is a good fit if you:

  • run more than one CLI coding agent (for example Claude Code and Codex) on the same repository and want one worktree convention for all of them;
  • want agent sessions to keep running after you close the window, and to replay missed output when you come back;
  • want to check on or steer a long agent run from your phone;
  • are an individual or a company small enough to use it free (see the license FAQ).

Ferryx is probably not for you yet if you:

  • use a single agent vendor. claude --worktree or Codex's built-in worktrees already isolate that vendor's sessions, with less to install;
  • need SSO, centrally managed accounts, or a cloud-hosted service. Ferryx does not offer them today;
  • need prebuilt Linux or Windows ARM64 binaries. Those are not supported yet. (Hosts without a GPU adapter fall back to a slower DOM terminal renderer starting with the next release.)

Performance

The figure below is a single offscreen measurement, not a comparison with other terminals.

Reproduce the render figure:

cargo run --manifest-path src-tauri/Cargo.toml \
  --example native_terminal_renderer_poc -- \
  --headless --output bench/terminal/evidence/native-wgpu-phase2-latest.png

Run the terminal parser and throughput baseline suite (writes bench/terminal/evidence/baseline-*):

bun run bench/terminal/runner.ts

Numbers depend on hardware; run both on your own machine before relying on them.

Built different

An architecture inventory of Ferryx's native Ghostty and Rust components. This is not a performance benchmark against Electron-based AI IDEs or terminal emulators.

Architecture component Ferryx implementation
Terminal parser libghostty-vt
Desktop rendering WGPU native child surfaces
PTY lifecycle Headless Rust daemon with output replay
Embedded browser Native WebView split-tabs
Mobile pairing Account sign-in gateway with a custom DOM terminal grid
Agent supervision Manifest-driven status detection and notifications

Guides and comparisons

Practical walkthroughs:

Honest comparisons against the alternatives, on architecture and licensing rather than unmeasured performance claims:

Docs and support

Build from source

Prerequisites

  • Bun 1.4+
  • Rust stable (at least 1.89)
  • Zig 0.17.0 (required for the pinned Ghostty build)
  • Tauri CLI v2
  • On Windows, LLVM (libclang, for the FFmpeg bindings; set LIBCLANG_PATH if it is not found)

On Linux, install the GTK 3, WebKitGTK 4.1, and other system libraries required by Tauri before compiling the desktop app, plus the headers the built-in remote desktop links (Debian/Ubuntu package names):

sudo apt-get install clang libclang-dev libpipewire-0.3-dev libspa-0.2-dev libdbus-1-dev \
  libva-dev libdrm-dev libgbm-dev libegl-dev libgl-dev libxcb1-dev libxcb-shm0-dev \
  libxcb-randr0-dev libxcb-xfixes0-dev libx11-dev libxext-dev libxrandr-dev libxfixes-dev \
  libxtst-dev libxi-dev libevdev-dev libudev-dev

The headless CLI and relay build without any of them: cargo build --manifest-path src-tauri/Cargo.toml --release --no-default-features --bin ferryx-cli.

Clone and install

git clone https://github.com/Indosaram/ferryx.git
cd ferryx
git submodule update --init --recursive
bun install
bun install --cwd ui
bun install --cwd site

Fetch the bundled agent runtime (mhc + bun)

The hub runs its Slack, cron and judge turns through mhc, and mhc's eval and bash tools need bun. Every desktop package ships both. The versions and their sha256 values are pinned in src-tauri/resources/mhc/pin.json. One command downloads both from their public GitHub releases for your machine. It verifies the mhc minisign signature and the sha256 of both files, then places them in the gitignored src-tauri/resources/mhc/payload/<target triple>/:

bun scripts/fetch-mhc.mjs

The command is idempotent: it skips a download that is already present and verified. --target <triple> fetches for another platform; macOS releases use --target aarch64-apple-darwin only. Release builds run it automatically: cargo tauri build calls it from beforeBuildCommand. A dev build works without it. The hub then uses FERRYX_HUB_MHC_BIN when set, else an mhc bundled next to the running executable, else mhc from your PATH.

Fetch FFmpeg (remote desktop)

Remote desktop is part of every desktop build and links FFmpeg 9. You do not install FFmpeg yourself: one command downloads the pinned LGPL FFmpeg 9 SDK (headers and shared libraries, no GPL, nonfree or OpenH264 code) for your machine from a prerelease of this repository, checks its sha256 and build receipt, and places it in the gitignored src-tauri/resources/ffmpeg/sdk/:

bun scripts/fetch-ffmpeg.mjs

.cargo/config.toml points FFMPEG_DIR there, so cargo build, cargo test and cargo tauri dev link it, and dev binaries load it from there at run time. cargo tauri dev and cargo tauri build run the fetch automatically; run it yourself before a plain cargo command in a fresh clone. Prebuilt SDKs exist for Linux x86_64, macOS (arm64 and x86_64) and Windows x64. On other targets, or to use your own FFmpeg 9 build, set FFMPEG_DIR to its prefix (include/ and lib/); scripts/build-ffmpeg-lgpl.sh builds one from the pinned source.

Run the desktop app

The Tauri shell starts the UI dev server defined in src-tauri/tauri.conf.json:

cd src-tauri && cargo tauri dev

Run the site and docs

Astro + Starlight on port 14173:

bun run --cwd site dev

Validate changes

bun run --cwd ui build
bun run --cwd ui test
BASE_URL=/ bun run --cwd site build
cargo check --manifest-path src-tauri/Cargo.toml

Architecture

ferryx/
├── src-tauri/   # Rust Tauri v2 core: PTY daemon, IPC, notifications, remote gateway
├── ui/          # React frontend: native terminal surface, layout, remote pairing
├── site/        # Astro + Starlight landing page and docs, deployed to Cloudflare Workers
└── docs/        # Specifications, audit logs, and reference material

Rust native core (src-tauri) owns pseudoterminal lifecycles, manages Git worktree leases, hosts native child webviews, and runs an authenticated Axum WebSocket gateway for mobile pairing. Terminal sessions live in a headless daemon rather than the GUI, so closing the window never touches a PTY. Output lands in a ring buffer with monotonic sequence numbers, and reattaching replays from the last sequence.

Frontend (ui) is the React shell rendered inside WebKit or WebView2. It drives pane tiling, agent title detection, keyboard shortcuts, and terminal search overlays.

Site (site) is the static Astro and Starlight build that hosts the landing page, guides, and an embedded demo running the real product components.

Contributing

Contributions are welcome. Branch from main, run the validation commands above, sign the CLA, and open a pull request describing the user-visible result.

Questions and ideas are welcome in Discord.

License

This project is source-available under the Ferryx License. It is free for personal use, education at an accredited school or university, open-source work that a larger company does not pay for, non-profits, and companies that, counted together with their affiliates, have fewer than 50 employees and contractors and less than USD 5M in annual revenue. Larger companies need a Team (or higher) subscription for each person who uses Ferryx for work, after a transition period that ends 90 days after the Team plan opens. Anyone may run a self-hosted relay (ferryx-relay) free of charge; the desktop app, CLI, and mobile and web clients still follow the company-size rule. Releases published before the move to the Ferryx License remain under the Sustainable Use License (SUL-1.0) they shipped with. The license FAQ lists common allowed and disallowed cases with the clauses that govern them. Contributions require signing the CLA; see CONTRIBUTING.md.

Code Signing Policy

  • Maintainer: @Indosaram
  • Signing: the macOS DMG is signed and notarized. On Windows, the Microsoft Store signs the package it publishes; the GitHub .exe installer and the Linux AppImage and .deb are not code-signed, so verify them against the release's SHA256SUMS.txt.
  • Privacy: Ferryx stores workspace data locally. Remote access, embedded websites, external coding agents, and update services can exchange data over the network. See the Ferryx Privacy Policy for data handling and deletion choices.

About

Native terminal workspace for parallel AI coding agents. Git worktree isolation, persistent sessions, embedded browser tabs, and mobile remote access. Built with Rust, Tauri, Ghostty, and wgpu.

Topics

Resources

Contributing

Security policy

Stars

22 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Contributors

Languages