Gaurav-Gosain/tuios
A daemon-backed terminal multiplexer with a shared inbox for coding agents
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
TUIOS is a Go terminal multiplexer built around Bubble Tea v2's Model–View–Update loop and Lipgloss v2. PTY reader goroutines signal the UI over a buffered channel instead of making terminal content redraw on a fixed tick. internal/app/os.go owns workspaces and overlays, vt/ parses ANSI and maintains scrollback, and internal/app/render.go composites visible layers and batches graphics output. Modal keyboard and mouse routing lives in internal/input/.
The daemon keeps sessions alive beyond a client attachment. It exposes a JSON verb control protocol, while tuios mcp provides an MCP server interface. Program status can enter through OSC 7501 or tuios status; shell hooks on window, session, and agent events provide a separate extension point. Charm SSH and Wish v2 are present in the Go module, and the host model supports both attaching to a complete remote session and placing a remote PTY-backed pane in a local session.
Key Capabilities & Differentiators
The terminal layer offers nine workspaces, BSP tiling with split preselection, master-stack and scrolling layouts, zoom, and floating command popups. Vim-style copy mode works over 10,000 lines of scrollback, and OSC 133 markers allow navigation by command and output block. Kitty graphics reuse image IDs and batch synchronized output; sixel passthrough is experimental and lacks pixel-level clipping.
The distinction from a plain multiplexer is the agent workflow. Integration installation covers 19 harnesses, including Claude Code, Codex, Gemini CLI, and opencode; process and screen detection covers 24 agent CLIs. The Inbox aggregates blocked prompts, approvals, and completed turns across sessions and hosts. Helpers can run in a TUI or headlessly over ACP or the Codex app-server, and tuios worktree new --agent can place a helper in a separate worktree. These are integrations with external coding tools, not a bundled inference runtime.
Trade-offs & Limitations
Against tmux, TUIOS has a clear advantage when the main job is tracking multiple coding agents and responding to them from a single view. Its tmux shim provides a path for tools such as Claude Code agent teams, not proof that existing tmux plugins and scripts will behave identically. If your priority is preserving a mature tmux setup, test that compatibility first. Rendering is also host-terminal dependent: true color is required, graphics support varies, and per-cell dimming for unfocused panes prevents use of the cheaper unfocused rendering path.
Persistence has two distinct meanings: detaching leaves a daemon-managed session running, while after a daemon restart the Inbox can offer to resume agent conversations. Do not treat that as a guarantee that every pane process survives a restart unchanged. For remote use, review [hosts] policy and scope pane grants (read, write, fan, respond, admin) to the actions each integration needs. Those grants govern actions through TUIOS; they are not a substitute for OS-level isolation.
Hardware & Deployment Guide
For a workstation, Homebrew or a prebuilt release binary avoids the source toolchain. Release binaries cover Linux, macOS, Windows, FreeBSD, and OpenBSD; source builds need Go 1.27.3 or newer, and go.mod selects go1.27.4. Use a true-color terminal, with kitty graphics or sixel support if image output matters. The Dockerfile builds both ./cmd/tuios and ./cmd/tuios-web with CGO disabled and uses a non-root distroless runtime base.
The interactive Docker example uses --rm, so treat it as an evaluation path, not a persistence plan. Before making a self-hosted rollout depend on containers, verify the required shell and agent binaries, storage, and SSH configuration. The v0.13.1 release calls for one restart when moving from v0.12.1. v0.13.2 refined the agent thread view; v0.13.3 addresses four privately reported security issues and fixes a focus-key regression. On macOS and Linux, an upgrade from v0.13.1 or later can be applied live with tuios daemon upgrade after installing the new binary.
Developers running several coding agents alongside shells and build jobs who want persistent sessions, remote panes, and one place to handle requests for human input.
You need exact compatibility with an established tmux setup, only need basic splits, or are looking for a model-serving platform rather than a terminal workspace.
Quick Start & Installation
brew install tuios
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| tuios ★ | 6.9k | +64 | Go | MIT | A daemon-backed terminal multiplexer with a shared inbox for coding agents |
| herdr | 54.1k | +871 | Rust | Apache-2.0 | Rust terminal multiplexer for persistent, multi-machine coding-agent workspaces |
| cc-switch | 159.1k | +1.7k | Rust | MIT | Tauri desktop manager for AI coding providers, local routing, and MCP config |
| archify | 103.1k | +2k | JavaScript | Apache-2.0 | Agent skill and Node CLI for source-backed, interactive architecture diagrams. |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/Gaurav-Gosain/tuios.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about tuios
How do coding agents and ordinary shell programs report status?
tuios integration install to wire supported coding CLIs to report state. TUIOS can also recognize agent CLIs from process and screen activity. For ordinary programs such as builds and deployment scripts, emit OSC 7501 status or use tuios status to surface progress in the Rail and Inbox.Do I need a GPU, and how should I size a host?
Can a company self-host or redistribute TUIOS?
When should I choose TUIOS over tmux?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy