rpai-0.1.1 is not a library.
rpai
A tool for managing multiple AI coding agent sessions (opencode, claude, codex, cursor) in tmux.
Features
- Scan for running AI agent processes and ability to jump around.
- Running/Waiting indicator - shows if agent is active or stale (▶/⏸).
- Multiple color themes (gruvbox, nord, catppuccin, dracula, tokyo, solarized).
- Recommended workflow is to map to a tmux popup window.
Installation
Option 1: Install from crates.io (Recommended)
Option 2: Install from source (Latest dev version)
This builds and installs rpai in one step.
Tmux Setup
Add this line to your ~/.tmux.conf (or alternative mapping).
Then reload tmux:
Now use it:
- Press
prefix + ato open rpai in a centered popup.
Usage
|
Keyboard Shortcuts (TUI)
| Key | Action |
|---|---|
j / k / ↑ / ↓ |
Navigate sessions |
Enter |
Jump to selected session |
t |
Cycle through themes |
/ or : |
Enter command mode |
q / Esc / Ctrl-C |
Quit |
| Mouse click | Select session |
| Mouse scroll | Navigate sessions |
Commands (type after /)
theme [name]- Switch theme (gruvbox, nord, catppuccin, dracula, tokyo, solarized)themes- List available themes
Themes
- gruvbox (default) - Warm retro colors
- nord - Cool arctic blues
- catppuccin - Pastel mocha vibes
- dracula - Purple vampire aesthetic
- tokyo - Tokyo Night purple/blue
- solarized - Classic solarized dark
Theme is persisted to ~/.config/rpai/theme
Config Directory
~/.config/rpai/
theme- Current theme name
License
MIT