How is Trek different from cmux or tmux?

Trek vs cmux and tmux

cmux and tmux are terminals, so any coding agent that runs in a terminal runs in them. cmux is a native macOS terminal built on Ghostty with notifications for agents, and tmux is a terminal multiplexer whose sessions keep running after you disconnect. Trek is an app rather than a terminal. It runs the agent CLIs itself and shows their work as threads, with a terminal beside each one.

At a glance

Because cmux and tmux are terminals, many rows below read “Whatever the agent in it does”. The agent’s own interface decides how approvals, undo and worktrees work there.

Trekcmuxtmux
Agents it runsClaude Code, Codex, OpenCode, Droid, Cursor, GitHub Copilot and other ACP agents such as Gemini CLI. Also models on an API key, and local modelsAny agent that runs in a terminal, such as Claude Code, Codex, OpenCode and Gemini CLIAny program that runs in a terminal. Its docs don’t mention coding agents
Made byToby Dokyi, one developerManaflow, Inc.Its contributors. Its licence names no company
PriceFree. Your agents’ own plans still applyThe macOS app is free. Paid plans from $15 a month add cloud VMsFree to use under its licence
LicenceOpen source, Apache-2.0Open source, GPL-3.0-or-later. Its server parts are BUSL-1.1Open source, ISC
PlatformsmacOS 13 or later (not notarized yet), Windows 11 x64, Linux (preview)macOS 14 or later. A waitlist for other platforms. An iOS app in beta on TestFlightOpenBSD, FreeBSD, NetBSD, Linux, macOS and Solaris. Windows is not stated
Account neededNo Trek account. Each agent uses its own loginNone to use the terminal. A signed-in account and a paid plan for cloud machinesNone
Where agents runYour computer, or another one running TrekOn your Mac, on remote machines over SSH or remote tmux (beta), or on cmux Cloud machines on paid plansWherever tmux runs, on your computer or a server over SSH. Sessions survive a dropped connection
WorktreesLocal or a new worktree, per thread. Copies in ignored .env and .env.localWhatever the agent in it does. Its docs show a custom command that adds a git worktree and runs Codex and Claude Code in itWhatever the agent in it does
Review and undoEach turn’s diff, with line comments to the agent. Undo any turn. In a git repo, its file changes are undone tooA diff viewer with line comments you can hand to an agent. Undo is whatever the agent in it doesWhatever the agent in it does
Pull requestsCommit and push. Open a pull request or merge from a worktree thread. A card follows its checksThe sidebar shows a linked pull request’s status and number. Opening one from the app is not statedWhatever the agent in it does
Waiting on youOne inbox, each row saying what it needsRings around panes, unread badges, a notification popover and a macOS notification when an agent signals it, and a shortcut to the latest unreadWhatever the agent in it does. tmux can highlight a window on activity, a bell or silence
Terminal, browser, editorA terminal, an editor and a browser agents can driveA terminal drawn with libghostty, a browser pane agents can drive, and a built-in file editorA terminal multiplexer that runs inside your terminal. No browser or editor
Trek on a Mac, with Claude Code and Codex threads side by side. Claude Code has added a verbose flag, Codex is reviewing the change, and the Inbox shows a thread waiting for approval on top.
Trek on a Mac, with demo threads. Click a thread in its sidebar.

Where they are alike

All three run the agent CLIs you install, and all three are open source. In each, an agent can run on a remote machine as well as your own. cmux and Trek each have a browser pane that agents can drive, and line comments on a diff that go back to an agent. Both also offer computer use on a Mac, which cmux gives to Claude Code and Codex sessions.

Where they differ

In cmux and tmux you see each agent’s own terminal interface, with its own keys and screens. Trek reads the agent’s protocol and shows its approvals, plans and diffs in a thread. cmux’s preview rewrite, cmux NEXT, adds agent chats with messages, tool calls and diffs.

What cmux or tmux does better

What Trek does better

FAQ

Can cmux run open-weight models?

In its preview rewrite, cmux NEXT, yes. You point an agent at any server that speaks the OpenAI-compatible Chat Completions API, on the Mac, on your own GPU machine or on your team’s server. Trek’s own agent loop drives Ollama, LM Studio and llama.cpp models.

Does an agent’s own terminal interface show in a Trek thread?

No. A Trek thread runs the agent through its own protocol, such as Claude Code’s stream-json, Codex’s app-server or ACP, so the agent’s own key bindings and full-screen interface aren’t there.

Sources

Every agent. One trail.

Free and open source, for macOS, Windows and Linux (a preview). No Trek account.

Download TrekWaiting on you

Your system
Download for macOS

Apple silicon · macOS 13 or later Other chip: Intel

The first time you open it, go to System Settings, Privacy & Security and click Open Anyway.

Download for Windows

Installer, x64 · Windows 11 Other file: Zip, no installer

The first time, SmartScreen asks. Click More info, then Run anyway.

Download for Linux

x86_64 AppImage · Preview Other files: .debArm AppImageArm .deb

Runs on Ubuntu 22.04, Debian 12, Fedora 36 or later. Make the AppImage executable, then run it.

  • Homebrew (macOS)brew install --cask dokyit/trek/trek
  • npmnpx trek-desktop
  • Shell (macOS, Linux)curl -fsSL https://trekdesktop.com/install.sh | sh
  • PowerShell (Windows)irm https://trekdesktop.com/install.ps1 | iex

Every release, on GitHub

Trek is a desktop app. Open this page on your computer to get it.