seshions
v0.2.13
Published
OpenTUI-based Agent Management
Readme
Seshions
Open-source multi-agent orchestration for terminal coding workflows.
When you run multiple agents at once (Claude Code teams, Codex sessions, or mixed tools), tmux quickly becomes pane chaos. seshions gives you one control dashboard to launch, route, and supervise parallel agents without losing context.
Demo

What It Does
- Run multiple coding agents in parallel from one dashboard
- Launch reusable blueprints to spin up role-based agent teams in one action
- Dispatch prompts to a single role or broadcast to a full group
- Track agent state (
running,waiting,idle,error) at a glance - Move through active panes quickly while attached (
Ctrl+Gnext pane,Ctrl+Cdetach) - Organize work by groups/workstreams
- Optional git worktree isolation per session
- Persist everything through tmux so sessions survive restarts
Why People Use It
- You are coordinating 3+ agents and want one control loop instead of tab/pane hunting.
- You want reproducible multi-agent setups (blueprints) instead of manually spawning sessions.
- You need to route instructions by role/group fast while staying in terminal.
Keyboard UX
- Footer is contextual: it always shows core keys (
Enter,r,q,/) and adapts extra hints based on what is selected. /opens the Action Hub (command palette) for advanced actions.- Action Hub includes orchestration commands:
Dispatch to roleandBroadcast to group. - Pressing
dopens a confirmation dialog before deleting a session or group. - Press
bto open Launch Blueprints. - Inside attached tmux sessions:
Ctrl+Gmoves to next pane,Ctrl+Cdetaches back toseshions.
Updates
seshionschecks npm once per day for a newer version.- If outdated, startup is blocked until updated (Codex-style behavior).
- You get a startup prompt:
Install now? (yes/no). - If you answer
yes, it runs:npm install -g seshions@latestand exits so you can relaunch. - If you answer
no(or update fails), the app exits. - Upgrade command:
npm install -g seshions@latest - Disable update checks only if needed with
SESHIONS_DISABLE_UPDATE_CHECK=1
Requirements
- Node.js 18+
- tmux
- At least one coding tool installed (
claude,codex,gemini,opencode, or custom shell command)
Install (One Command)
Run immediately (no global install):
npx seshions@latestInstall globally:
npm install -g seshions
seshionsThe npm launcher downloads the matching native runtime automatically and caches it in ~/.seshions/runtime.
Launch Blueprints (Multi-Agent Spawn)
Create and launch a reusable multi-session template:
- Open
seshions - Press
b(or/->Launch blueprints) - Create blueprint:
- Name
- Group path
- Worktree root path
- Roles list (
planner,builder,debugger,reviewer,explorer) - Tool + command template (
codex "You are the ${role} agent for this workspace. Stay in this role.") - Note for Codex:
--agentis not supported by Codex CLI
- Select blueprint and launch all sessions at once
Orchestration (From One Controller Session)
- Open Action Hub with
/ - Choose
Dispatch to roleto send one prompt to a single target session - Or choose
Broadcast to groupto send one prompt to every active session in that group - Composer supports multi-line prompts (
Enteradds newline,Ctrl+Entersends) - Broadcast requires an explicit second
Ctrl+Enterconfirmation before sending
Claude Code + Codex Workflows
seshions is designed for mixed-agent workflows and works well when you run Claude Code and Codex side-by-side in tmux-managed sessions. You can launch teams from blueprints and orchestrate them from one dashboard instead of manually managing each pane/session.
Local Development
bun install
bun run build
bun run typecheck
bun testRun
bun run dist/index.jsBuild Binary
bun run compileInstall Script
Alternative manual installer:
export SESHIONS_REPO="danhergir/seshions"
curl -fsSL "https://raw.githubusercontent.com/${SESHIONS_REPO}/main/install.sh" | bashUninstall
If installed with npm:
npm uninstall -g seshionsRemove cached runtime + state data:
rm -rf ~/.seshionsIf installed with the manual installer:
export SESHIONS_REPO="danhergir/seshions"
curl -fsSL "https://raw.githubusercontent.com/${SESHIONS_REPO}/main/uninstall.sh" | bashOptional full cleanup (manual installer):
curl -fsSL "https://raw.githubusercontent.com/${SESHIONS_REPO}/main/uninstall.sh" | bash -s -- --purge-data