TernaryCode is a native desktop workspace for AI coding agents, designed to solve the problems of scattered terminal windows, cumbersome account switching, and difficulty telling which agent is waiting for input when using Claude Code, Codex, Antigravity CLI (agy), or OpenCode across multiple projects. It is written in Rust, does not depend on Electron, starts in about 0.2 seconds, uses 0% CPU when idle, and keeps all credentials on the local machine, with no cloud account and no telemetry.
Main capabilities:
- Terminal-first: each project has tabs and split panes, and each pane shows the running agent, status, elapsed time, and the account in use. Changes, Files, History, and Browser open in side panels.
- Agent status awareness: supports "needs input", "running", "done", and "failed" states via hooks; questions appear as notifications in the pane and can be approved directly. The inbox lists all pending items, and ⌘J jumps to the next one.
- Multi-project overview: ⌘0 shows each project's live terminal and pages in a tiled layout, with direct input.
- Multi-account management: register multiple Claude Code and Codex accounts, each with its own login directory (CLAUDE_CONFIG_DIR / CODEX_HOME), showing the real 5-hour and weekly usage percentages reported by the server, plan, and reset time. When an account reaches its limit, fail over with one click or automatically, and resume the same conversation on the next account.
- Built-in browser: based on WebKit, WebView2, or WebKitGTK, agents can drive the browser through MCP tools (navigate, click, type, read, screenshot), and users can take over at any time. Browser profiles can isolate login information. PDF, Word, PowerPoint, Excel, CSV, and images can be opened in the Files panel.
- Review and commit: view diffs by run, branch, or commit, generate commit messages based on the agent's task, and Commit & Push with one click or create a pull request. Worktrees give each agent its own branch.
- Phone companion: over the same Wi-Fi or your own tunnel, view live output on your phone, answer agent questions as cards, follow up, and switch accounts. Each phone has its own revocable token, and sensitive information in the stream is redacted.
How to use: download and install from the latest release. On macOS, you can run the install command in the terminalOrder (verify SHA-256 and signature, then install to /Applications); the build is not yet notarized or code-signed, so a .dmg downloaded from a browser will be blocked; use the installer or "Open Anyway" in System Settings. On Windows, the first run requires choosing "More info" → "Run anyway" in SmartScreen. Linux requires OpenGL (a software renderer is also fine) and glibc 2.28+, and the browser requires WebKitGTK 4.1 (libwebkit2gtk-4.1-0). The app supports self-update.
Adding a project: click "+" in the sidebar, drag and drop a folder onto the window, or run ternarycode . in any terminal. Running an agent: ⇧⌘A to select Claude Code, Codex, Antigravity CLI, or OpenCode, run it in a new tab, the current tab, or a new worktree, or resume a previous session. Approve or reject in the panel, or press ⌘J to jump to the next waiting agent. Optional: add other accounts in Settings → Accounts, log in once per account, and drag to set the failover order.
Use cases: developers who need to manage multiple projects and multiple AI coding agents at the same time, especially users of Claude Code and Codex who want unified account usage management, less terminal window clutter, and to follow agent progress on their phone.
Limitations: the build is not yet notarized or code-signed; Linux requires OpenGL and WebKitGTK 4.1; the phone companion requires being on the same Wi-Fi or your own tunnel; no cloud sync; some features (such as browser profiles) are available on macOS 14 or later, Windows, and Linux.