# opensessions

> A tmux sidebar that shows live state for coding agents like Amp, Claude Code, Codex, and OpenCode across sessions.

opensessions is a sidebar for tmux from Ataraxy Labs that keeps track of sessions, coding agents, and localhost tabs as they multiply. It runs as a small pane inside an existing tmux workflow and shows live agent state, repo breadcrumbs, and quick jumps back into the right terminal. The latest release listed is v0.2.0-alpha.12.

## What It Is

opensessions is a terminal UI sidebar for tmux, installed through TPM. It does not replace tmux; it adds one pane for session switching and agent status. It is built in Rust with ratatui and talks to a local Rust WebSocket/HTTP server. tmux is the only supported multiplexer today.

## How It Tracks Agents

Watchers read each agent's local data: Amp thread JSON files, Claude Code JSONL transcripts, Codex session transcripts, and the OpenCode SQLite database. The sidebar shows per-thread markers for done, error, and interrupted states, the branch in the session list, the working directory and thread names in a detail panel, and detected localhost ports. Navigation works with j/k, arrows, Tab, and number keys, plus session reordering, hiding, creation, and killing.

## Programmatic API

Scripts and agents can push their own status, progress, and logs to the sidebar over a local HTTP API at 127.0.0.1. Endpoints include set-status, set-progress, log, clear-log, and notify, with tones from neutral to error that each have a distinct icon and color.

## Setup Path and Caveats

Add the plugin line to tmux.conf and install with TPM. On first load it downloads a prebuilt release bundle, or it can be built from source with cargo. Open the sidebar with prefix o then s. The app is local-only. Some config keys (plugins, port, keybinding) are parsed but not active runtime hooks, and older zellij code is not documented as supported.

## Features
- Persistent tmux sidebar showing live agent state across sessions
- Per-thread markers for done, error, and interrupted states
- Branch, working directory, thread names, and detected ports in the detail panel
- Local HTTP API for pushing status, progress, and logs
- Keyboard session switching, reordering, hide/restore, create, and kill
- In-app theme switching
- Native Rust ratatui sidebar with local WebSocket/HTTP server
- Install and update via TPM with prebuilt binaries

## Integrations
tmux, TPM, Amp, Claude Code, Codex, OpenCode, Ghostty

## Platforms
MACOS, LINUX, WEB, API, JETBRAINS_PLUGIN, CLI

## Pricing
Open Source

## Version
v0.2.0-alpha.12

## Links
- Website: https://ataraxy-labs.com/#opensessions
- Documentation: https://github.com/Ataraxy-Labs/opensessions/blob/main/docs/tutorials/get-started-in-tmux.md
- Repository: https://github.com/Ataraxy-Labs/opensessions
- EveryDev.ai: https://www.everydev.ai/tools/opensessions
