A lightweight TUI for managing tmux sessions, optimized for AI coding agents.
Managing multiple AI coding agents (Claude, Pi, Cursor) across projects gets messy fast. Hive solves this.
Problem: Juggling tmux sessions manually - creating, naming, finding, switching.
Solution: A single interface to manage all your agent sessions.
| Feature | What it solves |
|---|---|
| Unified Dashboard | See all sessions at a glance - status, tool, path |
| Quick Search | Find sessions instantly with / - no more tmux ls |
| CLI + JSON Output | AI agents can create/manage sessions programmatically |
| 12 Themes | Match your terminal aesthetic |
| Lightweight | ~4MB binary, instant startup, no runtime deps |
- tmux - Terminal multiplexer
Works on: macOS, Linux
curl -fsSL https://raw.githubusercontent.com/mdipanjan/hive/main/install.sh | bashThen run: hive
Other install methods
From Source
git clone https://github.com/mdipanjan/hive.git
cd hive
make build
sudo mv hive /usr/local/bin/Go
go install github.com/mdipanjan/hive@latesthiveKeyboard Shortcuts:
| Key | Action |
|---|---|
n |
New session |
enter |
Attach to session |
d |
Delete session |
/ |
Search sessions |
t |
Cycle themes |
? |
Help |
q |
Quit |
# List sessions
hive list # Plain text
hive list --json # JSON output
# Create session
hive create --tool pi --path /projects/myapp --name my-session
# Attach to session
hive attach my-session
# Delete session
hive delete my-sessionAliases:
list/lscreate/newattach/adelete/rm
JSON Output Example:
[
{
"name": "hive-abc123",
"tool": "pi",
"path": "/projects/myapp",
"status": "running"
}
]Config file: ~/.config/hive/config.json
{
"theme": "tokyo-night"
}Press t to cycle through themes:
- Tokyo Night (default)
- Tokyo Storm
- Dracula
- Nord
- Gruvbox
- Catppuccin
- One Dark
- Solarized Dark
- GitHub Dark
- Rose Pine
- Monokai
- Zinc Dark
DEBUG=1 hiveLogs are written to debug.log.
hive/
main.go
internal/
cli/ # CLI commands
components/ # UI components
config/ # Configuration
logger/ # Logging
session/ # Session types
styles/ # Themes & styles
tmux/ # tmux operations
tui/ # TUI logic
assets/ # Demo GIF
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing) - Commit your changes (
git commit -m 'feat: add amazing feature') - Push to the branch (
git push origin feature/amazing) - Open a Pull Request
MIT License - see LICENSE for details.
