tuios README

The project's README from github.com/Gaurav-Gosain/tuios. As one markdown file: README.md.

tuios: a terminal window manager that knows what your agents are doing. Tilly, a small purple CRT whose screen is a tiled layout, stands beside the tuios wordmark and a tiled terminal session.

TUIOS: Terminal UI Operating System

Latest Release GoDoc Ask DeepWiki
Terminal Trove Tool of The Week

TUIOS

TUIOS is a modern terminal multiplexer and window manager built with Go. It provides a vim-like modal interface with multiple terminal panes, workspaces, BSP tiling, kitty graphics protocol support, and a command palette, all running inside your existing terminal. A daemon keeps sessions alive, reaches sessions on your other machines, and lets the coding agents in your panes report their state and message each other.

Built on the Charm stack (Bubble Tea v2, Lipgloss v2), TUIOS features event-driven rendering for near-zero idle CPU usage, flicker-free kitty image passthrough, and comprehensive keyboard/mouse interaction.

Documentation

Full documentation is available at tuios.dev (hosted) or in the docs/ folder. To try tuios without installing it, take the guided tour at tuios.dev/learn: the real app, compiled to WebAssembly, with a practice shell in every pane.

What changed in v0.8.1 is in the release notes.

Table of Contents

Installation

Package Managers

Homebrew (macOS/Linux):

brew install tuios

Arch Linux (AUR):

yay -S tuios-bin

Nix:

nix run github:Gaurav-Gosain/tuios/v0.8.1#tuios   # a release
nix run github:Gaurav-Gosain/tuios#tuios          # the latest main
nix run nixpkgs#tuios                             # the nixpkgs package

Put a release tag after the repo name to build that release. Without a tag, Nix builds the newest commit on main.

Other Methods

# Quick install script (Linux/macOS)
curl -fsSL https://raw.githubusercontent.com/Gaurav-Gosain/tuios/main/install.sh | bash

# Go install
go install github.com/Gaurav-Gosain/tuios/cmd/tuios@latest

# Docker
docker run -it --rm ghcr.io/gaurav-gosain/tuios:latest

GitHub Releases: Pre-built binaries for Linux, macOS, Windows, FreeBSD and OpenBSD, with a checksums.txt. The tuios-ghostty_* archives are tuios built on the libghostty-vt emulator, for Linux, macOS and Windows on amd64 and arm64.

Building from source needs Go 1.26.6 or newer.

Updating. If you installed with the quick install script or a release binary, tuios update fetches the newest release and puts it in place (tuios update --check just reports). Everything else has a package manager that owns the binary, so use that instead; tuios update detects which you have and prints the right command rather than overwriting it.

Requirements: A terminal with true color support. Kitty graphics and sixel support recommended (Ghostty, Kitty, WezTerm).

Features

TUIOS

Core

Agents

The guide is docs/AGENT_STATE.md.

Machines

Tiling

Scrollback & Copy Mode

Graphics & Protocols

Session Management

Automation

Discovery & Navigation

More

Quick Start

tuios                    # Launch TUIOS
tuios --show-keys        # Launch with key overlay for learning
tuios --standalone       # Launch without the daemon, for this run only

tuios attaches to a daemon-backed session, so the session outlives the terminal window it started in. New panes are tiled. See SESSIONS.md to turn either off.

Essential Keys

Key Action
Ctrl+P Command palette: search and run any action
Alt+Space Launcher: search and start a program (Enter runs it, Tab types it out)
n New pane (Window Management mode)
i / Enter Enter Terminal mode
Prefix+Esc or Alt+Esc Back to Window Management mode (a bare Esc goes to the shell)
Prefix+d Detach in a daemon session, otherwise back to Window Management mode
z (WM) or Prefix+z Toggle pane zoom
Prefix+Space Toggle BSP tiling
Prefix+[ Enter copy mode (vim scrollback)
Prefix+S Session switcher
Prefix+L then l/s Load/Save layout template
Prefix+? Help overlay
Prefix+q Quit

The prefix key is Ctrl+B by default (configurable).

Daemon Mode

tuios new mysession          # Create persistent session
tuios attach mysession       # Reattach
tuios ls                     # List sessions
tuios kill-session mysession # Kill session

Layout Templates

# In-app: Ctrl+B, L, l to load / Ctrl+B, L, s to save
# Or via command palette: Ctrl+P → "Save layout" / "Load layout"

# CLI:
tuios layout list            # List saved layouts
tuios layout delete mysetup  # Delete a layout
tuios layout export mysetup  # Export as tape script

Configuration

tuios config edit            # Edit config in $EDITOR
tuios keybinds list          # View the common keybindings

See the configuration reference (or run tuios list-options) for all options including show_clock, show_cpu, show_ram, shared_borders, window_button_style, window_button_position, custom themes, and keybinding customization.

Architecture

TUIOS follows the Model-View-Update pattern on Bubble Tea v2. For details, see Architecture Guide.

Key design decisions:

Core Components:

Performance

Development

git clone https://github.com/gaurav-gosain/tuios.git
cd tuios
go build -o tuios ./cmd/tuios
./tuios

To install a local build on your PATH instead, ./scripts/install.sh builds and installs into ~/.local/bin. It builds the pure Go emulator. ./scripts/install.sh ghostty builds the ghostty emulator backend instead, and tuios --version says which is installed.

go test ./...              # Run tests
go vet ./...               # Vet
golangci-lint run          # Lint with the checks CI runs (.golangci.yml)
govulncheck ./...          # Known vulnerabilities in what the build reaches

Support: ko-fi

Star History

Star History Chart

GitHub Language Count GitHub Top Language Repo Size GitHub Issues GitHub Closed Issues GitHub Pull Requests GitHub Closed Pull Requests GitHub Contributors GitHub Last Commit GitHub Commit Activity (Week)

License

MIT License. See LICENSE for details.

Acknowledgments

tuios (Gaurav-Gosain/tuios)

Searching Database…

5.5K ·GitHub
Что это?TUIOS — это оконный менеджер и мультиплексор терминалов, написанный на Go: он добавляет поверх вашего терминала тайловые панели, рабочие пространства и постоянные сессии на базе демона, а из коробки понимает, чем заняты кодинг-агенты в его панелях.
Это замена tmux или нечто иное?Он закрывает те же задачи, что и tmux (сессии через демон, отключение/переподключение), но добавляет модальный оконный менеджер в стиле vim с BSP-тайлингом, палитру команд и Inbox, следящий за агентами; в комплекте есть даже tmux Shim, чтобы инструменты, созданные для tmux, вроде агентских команд Claude Code, могли работать в панелях tuios.
Нужен ли особый терминал для хорошей работы?Нужен терминал с поддержкой true color, а для отрисовки изображений рекомендуется поддержка Kitty graphics или sixel; в качестве удачных вариантов названы Ghostty, Kitty и WezTerm.
Какие кодинг-агенты он реально поддерживает?Команда `tuios integration install` подключает 19 оболочек агентов, включая Claude Code, Codex, Gemini CLI и opencode, чтобы они сообщали своё состояние, а tuios также умеет распознавать 24 агентских CLI, просто наблюдая за их процессом и экраном, без какой-либо настройки.
Он работает и на Windows, и на BSD, или только на macOS/Linux?Да, готовые бинарники покрывают Linux, macOS, Windows, FreeBSD и OpenBSD, а ещё есть отдельная сборка на базе эмулятора терминала Ghostty для Linux, macOS и Windows на amd64/arm64.
Что такое Inbox?Inbox (Prefix+i) собирает всё, требующее вашего внимания, во всех сессиях и на всех машинах: запросы подтверждения, вопросы, агентскую почту, ошибки и завершённые ходы; отвечать на запросы можно прямо оттуда, не переключаясь на панель.
Что такое Fleets?`tuios fan` отправляет один и тот же промпт сразу нескольким кодинг-агентам, можно даже смешивать разные оболочки, каждая работает в своём git worktree, а `tuios start-agent` порождает одного агента-помощника рядом с вами.
Могут ли агенты управлять tuios через MCP?Да, `tuios mcp` поднимает MCP-сервер, открывающий те же возможности, что и его CLI-инструменты, — только для чтения и в рамках сессии самого агента, если вы явно не дадите больше прав через Pane Grants.
Можно ли пользоваться tuios по SSH или из браузера?Да, есть режим SSH-сервера для удалённого мультиплексирования терминалов, а отдельный бинарник `tuios-web` открывает доступ из браузера.
Size
84.3 MB
Stars
5.5K
Age
1y
Commits · 90 Days