corral-tui
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Fail
- rm -rf — Recursive force deletion command in install.sh
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Run Claude Code, Codex, OpenCode, Cursor, Pi, and Antigravity side by side in a terminal session manager, then continue from iPhone or Mac — with session history search and cross-agent handoff.
Languages: English | 简体中文
Corral
Run all your coding agents from one terminal — and pick them up from your phone.
Claude Code, Codex, OpenCode, Cursor, Pi, and Antigravity side by side. See who needs an answer, open up to four panes together, and keep hosted agents running after you close the workspace.
One sidebar for all six assistants — preview conversations, search history, or work side by side.
Choose what to install
| Component | Purpose | Platform & availability |
|---|---|---|
| Terminal workspace & host | Run, monitor, search, and hand off coding agents in one terminal. | macOS / Linux · Available below |
| Mac & iPhone clients | Follow replies, answer questions, and switch between chat and terminal away from tmux. | Mac (macOS 26+): signed DMG or Homebrew Cask · iPhone (iOS 17+): Xcode source build |
| Self-hosted relay | Connect your host and Apple clients across networks with E2EE and optional APNs. | macOS / Linux / Windows · AGPL-3.0-only |
| Corral Ideas | Jot loose ideas locally and turn them into coding-agent tasks. | Planned |
Install
On macOS or Linux with Homebrew:
brew install x0c/tap/corral
corral
Use the full tap name: brew install corral installs an unrelated project. Homebrew installs Python and tmux for you.
Upgrade with brew update && brew upgrade x0c/tap/corral, or run corral update for interactive self-updates. When /Applications/Corral.app is installed, corral update keeps the Mac app synchronized with the CLI version (pass --no-mac to skip).
Install Python 3.10+ and tmux 3.2+ (the installer sets up an isolated Python and tmux bundle on macOS if missing), then run:
curl -fsSL https://raw.githubusercontent.com/corral-dev/corral-tui/main/install.sh | bash
corral
Follow the installer's PATH instructions if your terminal cannot find corral. A source-build fallback requires Rust.
Install and sign in to at least one supported coding assistant separately. Corral is free and MIT-licensed; each assistant uses its own account and may incur charges. Windows and WSL are not supported.
What Corral does
- See who needs you. Running agents, unread results, and sessions waiting for your answer appear in one sidebar across Claude Code, Codex, OpenCode, Cursor, Pi, and Antigravity.
- Work side by side. Open up to four sessions in split panes, group related work, and pin active tasks to the top.
- Keep agents running. Hosted sessions keep running after you close Corral or disconnect SSH, as long as the host stays awake.
- Hand work to another assistant. Pass a task and its conversation history to a new session in a different assistant — for example, Claude implements and Codex reviews.
- Continue from your phone or Mac. Stream replies live, queue follow-ups, inspect usage limits, or answer agent questions away from the terminal with the native Apple app.
- Find past conversations fast. Cycle the quick filter through Focus, Active, and all sessions, combine it with agent and project pickers (and clear active filters in one click with the collapsed
×button), or search full conversation text across every assistant while leaving open panes untouched.
Start using it
Open corral. Existing assistant sessions appear in the sidebar. Selecting a conversation previews its transcript without launching the agent. Press Enter to resume an ended session or attach to a hosted terminal.
Press Ctrl+N to start a new session. Quick Start remembers your five most recent assistant and project combinations — pick one to launch immediately, or right-click to remove it. You can also launch directly from your shell:
corral claude
# Also: corral codex | corral opencode | corral cursor | corral pi | corral antigravity
Mark two to four sessions with Space, then press Enter to open them side by side. Closing a pane only hides the view; it does not stop a hosted agent.
To continue in another assistant, open or select a session, press Ctrl+T, and pick a target. For example, after Claude finishes an implementation, hand that conversation to Codex for review. The original session stays intact while the receiving assistant reads the history it needs. Press Enter instead when you want the original assistant's native resume.
Press Ctrl+\ to return keyboard focus to the sidebar. Quitting Corral leaves hosted agents running.
Corral launches supported assistants with their automatic-approval modes enabled where available, so those agents act with your local user permissions.
Keys to remember
| Key | Action |
|---|---|
/ |
Filter projects and session titles |
Ctrl+F |
Search conversation text |
Enter |
Resume or enter the selected session |
Ctrl+N |
Start a new session |
Ctrl+P |
Pin or unpin the selected session |
Space, then Enter |
Select two to four sessions and split the view |
Ctrl+T |
Actions menu: export, copy, or hand off a session |
Ctrl+\ |
Return input focus to the sidebar |
Esc |
Close the current dialog or quit |
Sidebar shortcuts apply while the sidebar has focus. The footer shows the actions available in the current view.
More TUI screens: full-text search & new session picker
Share your week
corral flex renders an animated summary of the last 7 days across every assistant: tokens, sessions, daily totals, peak parallel sessions, agent share, and an hour-by-weekday activity map. Press s to save a 1200×630 PNG for sharing. Everything is read locally and nothing is uploaded. The card is powered by agentflex, which also runs standalone:
corral flex # or: npx agentflex
corral flex --month # or --all, --png week.png
Pick up from your Mac or iPhone
The native Apple app connects to the same sessions as the terminal: read syntax-highlighted Markdown chat or switch to live terminal view side by side, queue follow-ups, or answer questions away from your desk.
- Mac: install with
brew install --cask x0c/tap/corral-macor download the signed DMG (macOS 26+). Updates itself via Sparkle. - iPhone: build from source with Xcode (iOS 17+). A public App Store or TestFlight download is not available yet.
Installing the CLI does not install the Mac app. Installing the Mac app automatically installs or updates the matching CLI version (editable source checkouts are never overwritten). With the app installed, run this on the machine hosting your agents:
corral remote pair
Pairing starts remote access and installs any missing remote components. On the same local network, scan or paste the pairing code in the app. Away from home, configure a relay you host yourself; Corral does not bundle a shared public relay. Remote traffic is end-to-end encrypted. For cross-network access, follow the relay quick start. Use corral remote pair --readonly when a device should only view sessions.
Privacy
- Session browsing, full-text search, and
corral flexread local assistant history only. - Optional title generation uses your configured model gateway, or an installed agent's existing login when no gateway is configured. Short excerpts may consume quota on that account.
- Update checks contact GitHub.
- Pairing a device authorizes it to read and act on your sessions; remote traffic is end-to-end encrypted.
See the privacy policy for data flows and controls.
For scripts and coding agents
corral list --top 10 --compact
corral search "login" --deep
corral show <session-id> --messages 10 --compact
See the command reference for JSON/TSV and JSONL export, automation flags, and handoff planning.
FAQ
How is Corral different from cloud sandboxes or plain tmux?
Corral is a local-first terminal workspace over tmux on macOS and Linux. It runs the coding CLIs already installed on your machine directly — no throwaway containers or hosted broker — while adding unified attention indicators, up to four split panes, full-text conversation search, cross-agent handoff, and native iPhone/Mac sync.
How can I monitor or reply to Claude Code and Codex from my iPhone or Mac?
Install the native Corral Apple app and run corral remote pair on your host. Connections work directly over your local network or through a self-hosted corral-relay with end-to-end encryption. Signed Mac builds are available via Homebrew Cask or Releases; the iPhone app currently requires building from source with Xcode.
How do I hand off a Claude Code session to Codex or another assistant?
Open or select a session, press Ctrl+T, and choose the target assistant. Corral starts a new session for that assistant with access to the source conversation history while leaving the original session untouched.
Does Corral upload my code or conversation history?
No. Session browsing, full-text search, and corral flex run 100% locally on your machine. Optional title generation uses your configured model gateway or an installed assistant's existing login, update checks query GitHub, and paired devices communicate with end-to-end encryption.
Help and contribute
- Command reference — CLI usage and automation
- Terminal guide — panes, groups, focus, and shortcuts
- Remote guide — phone pairing and self-hosted access
- Contributing — development and pull requests
- Report a bug or suggest an improvement — include your OS, terminal, Corral version, and steps to reproduce. Remove private conversation content from reports.
If Corral fits your workflow, star the repository to find it again.
Related Tools
If you run multiple AI coding agents daily, check out the rest of the local-first toolkit:
| Repository | Description |
|---|---|
| corral-apple | Native Mac (macOS 26+) and iPhone (iOS 17+) clients for Corral sessions, split chat, and live terminals. |
| corral-relay | Self-hosted, end-to-end encrypted WebSocket relay and optional APNs bridge for Corral. |
| subswap | Check remaining quota and switch Claude Code, Codex, Cursor, Kimi Code, OpenCode, Command Code, and Antigravity accounts without logging out. |
| agentsync | Sync AGENTS.md, CLAUDE.md, skills, and MCP configs across coding agents from one local source of truth. |
| agent-doc-skills | Navigable project knowledge base skills (doc-init, doc-update, doc-compact) so coding agents do not rediscover your repo every session. |
| sesskit | Parse and export local session transcripts from Claude Code, Codex, OpenCode, Cursor, Pi, and Antigravity. |
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found