# trix

> A terminal workspace for running multiple AI coding agents side by side and seeing which one is working, waiting on you, or finished.

trix is an open-source terminal workspace for AI coding agents, written in Rust and MIT licensed. It runs Claude Code, Codex, Grok, OpenCode, Cursor, Copilot, Muse, Gemini, Antigravity, Amp, shells or any CLI agent side by side, and shows which one is working, which needs you, and which finished. The latest release listed is v1.7.12, and it runs on Linux and macOS.

## What It Is

trix is an agent-aware alternative to general terminal multiplexers such as tmux and zellij. It starts each agent itself and hands it hooks or a plugin for that one process, so the agent reports its own lifecycle (prompt submitted, tool calls, permission requests, questions, turn finished). For agents that can't take per-process hooks, it reads terminal titles or screens, and falls back to output cadence heuristics. The project states that it never edits your agent configs and never answers a permission prompt for you.

## Working With Many Agents

Each agent card shows a live state glyph, current activity, time in state, an output sparkline, git branch and diff size. When an agent you are not looking at needs you, a red strip covers your pane's title and a desktop notification and bell fire; `alt+a` jumps to the agent that has waited longest. `alt+g` tiles agents in a live grid, `alt+f` searches every agent's scrollback, and `alt+b` broadcasts a prompt to idle or done agents. Agents run in a background server, so closing the terminal keeps them working, and after a crash or reboot trix can restore each one into its previous conversation.

## Worktrees, Review and Agent Control

A Worktree option gives each agent its own git worktree and branch (`trix/<name>`), and a repository's `.trix.toml` can define setup commands, files to copy and per-worktree port blocks. `alt+v` opens an agent's diff for line notes that can be sent back as a prompt, then commit, push, open a PR, merge and clean up. `alt+l` clones an agent with its uncommitted changes and, for Claude, Codex and Grok, a copy of its conversation. The `trix spawn`, `send`, `wait`, `read`, `close` and `events` commands let scripts or a lead agent drive other agents, and `trix triage` runs reviewer, fixer and gatekeeper agents over a pull request toward a merge you approve.

## Setup Path

Install with Homebrew, an Arch pacman package, a release binary, or from source with Rust. Every trix key uses Alt, so on macOS the terminal's Option key must be set to send Alt. Features include context gauges, cost and token tracking for Claude, Codex and Antigravity agents, layouts, named sessions, read-only viewers, settings, and 24 built-in themes. There is no Windows build.

## Features
- Run multiple AI coding agents side by side
- Live agent states: working, needs you, done, idle, unseen
- Hook-based agent state reporting without editing agent configs
- Needs-you alert strip, desktop notifications and sounds
- Jump to the longest-waiting agent with alt+a
- Live grid view of up to four agents
- Built-in git worktrees per agent with runnable worktree setup and ports
- Diff review with line notes, commit, push, PR and merge
- Clone an agent with its changes and conversation
- Search across all agents' scrollback
- Broadcast one prompt to many agents
- Agents survive terminal close and server crash; workspace restore
- Agent control commands: spawn, send, wait, read, close, events
- Triage cases with reviewers, fixer and gatekeeper agents for PRs
- Context gauge and cost/token tracking with budgets
- Saved layouts, named sessions and read-only viewers
- 24 built-in themes and in-app settings

## Integrations
Claude Code, Codex, Grok, OpenCode, Cursor, GitHub Copilot CLI, Muse Code, Gemini CLI, Antigravity CLI, Amp, Git, GitHub CLI (gh), Omarchy, Homebrew

## Platforms
WINDOWS, MACOS, LINUX, API, CLI

## Pricing
Open Source

## Version
v1.7.12

## Links
- Website: https://trixapp.ai
- Documentation: https://github.com/leofle/trix#readme
- Repository: https://github.com/leofle/trix
- EveryDev.ai: https://www.everydev.ai/tools/trix
