Skip to content

About

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.

Topics

Resources

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

986 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Languages: English | 简体中文

Corral

Corral

Run live coding-agent TUIs in one workspace — and pick them up anywhere.

Claude Code, Codex, OpenCode, Cursor, Pi, and Antigravity side by side.
Embed live agent terminals, jump straight to any prompt, hand off context across assistants, coordinate agents via A2A, monitor quotas, and continue from Mac or iPhone.

Latest release Tests Homebrew Platforms: macOS and Linux MIT license

Corral running a live embedded Claude Code TUI, expanding Your prompts to jump, splitting live Claude Code and Codex TUIs side by side, and searching history

Features

Embedded Live Agent TUIs

Run real Claude Code, Codex, OpenCode, Cursor, Pi, and Antigravity interactive terminal TUIs right inside Corral. Sessions stay hosted in isolated tmux keepalive panes so closing Corral or dropping SSH never interrupts running agents (Enter reattaches anytime; drag-select copies via OSC 52, paste images straight into prompts).

Terminal guide →

Corral embedding a live Claude Code interactive terminal session beside the unified six-assistant sidebar

Side-by-Side Live Multi-Agent Split View

Mark two to four sessions in the same repository (Space, then Enter) to supervise multiple live agent TUIs simultaneously in one terminal—pair Claude Code implementing with Codex reviewing, or mix live terminals with Markdown transcript previews (Ctrl+\ returns focus to the sidebar).

Corral running live Claude Code and OpenAI Codex TUIs side by side inside split panes with project sidebar

Your Prompts Outline, Jump & Quick Filters

Stay oriented in long sessions: expand the floating Your prompts card (Ctrl+G) to jump straight to any previous prompt in both rendered transcripts and live terminal scrollback (Back to latest returns to live output). Filter the sidebar by Focus / Active / All, assistant, or project—and clear folded filters in one click (×).

Expanded Your prompts jump outline over the session view together with collapsed Agent quick-filter chip and click-to-clear cross button

Cross-Agent Context Handoff

Want Codex to audit what Claude built, or hit a model limit mid-task? Press Ctrl+T and pick New session from this history to transfer conversation context and the exact working directory cleanly across all six assistants—or export, fork, restart in place, and copy canonical IDs.

CLI & handoff guide →

Corral Ctrl+T action and cross-agent handoff dialog listing Claude, Codex, OpenCode, Cursor, Pi, and Antigravity

Agent-to-Agent (A2A) Peer Coordination

Coordinate parallel agents safely from one workspace: discover sibling sessions (corral peers), send non-polling questions (corral send <id> "..." --ask, auto-tagged [from <agent> · peer, not user]), enforce 4-hop chain & concurrency limits, freeze peer sends anytime (corral a2a pause), and audit pair telemetry (corral a2a ledger).

Corral A2A peer coordination running corral peers, corral send --ask, corral a2a status, and corral a2a ledger

Instant Full-Text Search

Press Ctrl+F to search across user prompts and assistant outputs from every coding CLI and repository in milliseconds—with highlighted excerpts and direct jump into the matching conversation without disturbing open panes.

Full-text search modal showing matched conversation excerpts across Claude Code, Antigravity, Cursor, and Codex

Quick Start, Direct CLI & Shell Shims

Launch a fresh session (Ctrl+N) from your five most recent assistant × project combinations, pick any directory via More…, launch straight from the shell (corral claude, corral codex, corral antigravity), or use zero-lock shell shims so standalone runs remain visible and manageable.

New session picker with Quick Start presets, project filter, More directory chooser, and all six coding assistants

Background Workflows & Quota Fallback

Orchestrate multi-stage Python playbooks (corral workflow) with capability routing, automatic rate-limit fallback (claude → codex), and resumable checkpoints in the background—without polluting your interactive session list—and inspect live task DAGs on macOS.

Live 24-module workflow DAG graph showing capability routing, automatic fallback routing from quota limits, step JSON details, and resume button

Real-Time Multi-Assistant Quotas

Inspect read-only 5-hour and 7-day remaining quotas and countdowns across Claude Code, Codex, Antigravity, OpenCode, and Pi via corral quotas and the official subswap plugin—in the CLI as well as Mac and iPhone dashboards.

Real-time account quota dashboard showing 5-hour and 7-day ring gauges across Claude, Codex, and Antigravity accounts

Chat UI <-> Metal Terminal on Mac

Pair with corral remote pair and open the native Mac companion (corral-apple) to toggle any pane cleanly between rendered Markdown code cards (with drag-selection, Copy, and :line Finder links) and a Metal-backed live agent terminal.

corral-apple → · Remote guide →

Corral for Mac displaying rendered Markdown chat on the left beside a live Metal-rendered Codex agent terminal on the right

Pick Up from Your iPhone

Leave your desk without stopping your agents. Connect over local Wi-Fi or your self-hosted E2EE corral-relay to triage waiting (?) and unread (●) sessions, read syntax-highlighted code cards, queue follow-ups, answer questions, and get APNs alerts.

Corral for iPhone session list with unread and waiting status indicators across assistants Corral for iPhone conversation view with code cards and tool activity

Also in the box:

  • Weekly activity card (corral flex): Generate an animated local summary or 1200×630 PNG across all six assistants—powered by agentflex.
  • Scriptable automation contract: corral list --compact, corral search "term" --deep, and corral show <id> emit clean JSON/TSV/JSONL for scripts and coding agents.
  • Official plugin runtime (corral plugin): Bundles workflow, a2a, and subswap cleanly with zero lock-in and automatic dependency checks.
  • Concise generated titles: Optional local-gateway or installed-CLI title summaries keep long histories recognizable at a glance.

Supported Coding Agents

Bring your own local CLI installations and subscriptions—no proxy billing, no cloud sandbox lock-in:

Claude Code   Codex   OpenCode   Cursor   Pi   Antigravity


Corral Suite

Component Role Platform & Availability
corral-tui Terminal cockpit, live TUI host, A2A, workflows & CLI macOS / Linux · MIT
corral-apple Native Mac (macOS 26+) & iPhone (iOS 17+) companions Mac: signed DMG / Homebrew Cask · iPhone: Xcode source build · GPL-3.0
corral-relay Self-hosted, E2EE WebSocket relay + optional APNs bridge macOS / Linux / Windows · AGPL-3.0-only

Install

On macOS or Linux with Homebrew:

brew install x0c/tap/corral
corral

Use the full tap name: bare brew install corral installs an unrelated tool. Homebrew handles Python and tmux automatically.

Upgrade with brew update && brew upgrade x0c/tap/corral, or run corral update for interactive self-updates (keeps /Applications/Corral.app aligned unless --no-mac is passed).

Without Homebrew (macOS / Linux direct installer)

Requires Python 3.10+ and tmux 3.2+ (on macOS, the installer bundles an isolated Python and tmux automatically if missing):

curl -fsSL https://raw.githubusercontent.com/corral-dev/corral-tui/main/install.sh | bash
corral

Follow the printed PATH guidance if needed. Source-wheel fallback requires Rust.

Install and sign in to at least one supported coding assistant separately. Corral launches CLIs with automatic-approval flags where available so tasks run smoothly without blocking. Windows and WSL are not supported.

Pair Mac & iPhone

brew install --cask x0c/tap/corral-mac   # installs Mac app + synced corral CLI
corral remote pair                        # run on your agent host machine

Scan or paste the code over your LAN (--readonly for view-only access). Outside LAN, deploy your own corral-relay; Corral bundles no shared hosted relay.


Shortcuts & CLI Reference

Key Action
/ Filter project names and session titles
Ctrl+F Full-text search across conversation history
Enter Attach to live Agent TUI or resume ended session
Ctrl+G Expand / collapse floating Your prompts outline
Ctrl+N Start new session (Quick Start combos & directory picker)
Ctrl+P Pin or unpin session
Space, then Enter Open 2–4 same-project sessions in split view
Ctrl+T Session actions: export, fork, restart, or cross-agent handoff
Ctrl+\ Return focus to the sidebar
Esc Dismiss modal or quit (hosted tmux agents keep running)
corral claude                      # direct launch (codex / opencode / cursor / pi / antigravity)
corral peers --project . --active  # list active sibling sessions on the same repo
corral send <id> "question" --ask  # A2A message with auto report-back
corral a2a status && corral a2a ledger --hours 24
corral quotas                      # read-only Subswap quota check
corral flex                        # animated 7-day activity card (`s` saves PNG)

See docs/SKILL.md for JSON/TSV/JSONL schemas and workflow/A2A contracts.


Privacy & Help

  • Session browsing, full-text search, and corral flex read local history strictly on-device.
  • Optional title generation calls your configured gateway or installed assistant login; update checks query GitHub.
  • Paired Apple devices use end-to-end encryption. See PRIVACY.md.
  • Links: Command reference · Terminal guide · Remote guide · Contributing · Issues

Related Tools

Repository Description
corral-apple Native Mac (macOS 26+) and iPhone (iOS 17+) clients for live terminal/chat splits, workflow DAGs, quotas, and remote triage.
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.

MIT License

About

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.

Topics

Resources

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages