Jump back into any Codex CLI, Claude Code, or OpenCode session from one picker.
Agent Session Hub is a native Rust CLI that gives AI coding tools a shared, fzf-powered session switcher with previews, aliases, and resume-in-project behavior.
- One session picker across
codex,claude, andopencode - Resume from the right project directory instead of hunting through history
- Preview sessions before reopening them
- Rename, reset, and delete sessions without leaving the terminal
- Keep fast daily commands:
csx,clx, andopx
macOS / Linux:
curl -fsSL https://github.com/vinzify/Agent-Session-Hub/releases/latest/download/install.sh | shWindows PowerShell:
irm https://github.com/vinzify/Agent-Session-Hub/releases/latest/download/install.ps1 | iexThe public installer downloads the matching release binary for your platform and installs:
sessionhubcsxclxopx
sessionhub
sessionhub providers
sessionhub helpsessionhub is the discovery entrypoint. Once it becomes muscle memory, use the direct launchers:
csx
clx
opxExamples:
csx browse repo:Agent-Session-Hub
clx browse branch:main
opx browse title:landing
csx rename <session-id> --name "Fix auth bug"
opx delete <session-id>| Capability | Provider-native history | Agent Session Hub |
|---|---|---|
| One picker across multiple AI CLIs | No | Yes |
Fuzzy search with fzf |
Varies | Yes |
| Preview pane before resume | Rare | Yes |
| Resume from the matching project directory | Varies | Yes |
| Repo and branch-aware grouping | No | Yes |
| Rename and reset session aliases | Rare | Yes |
| Delete from the picker | Varies | Yes |
- Codex CLI via
csx - Claude Code via
clx - OpenCode via
opx
Requirements:
fzfinPATH- At least one of
codex,claude, oropencode - Rust only when installing from a local checkout
The installers automatically run:
csx install-shellThat shell integration keeps the direct launchers shell-native for resume flows:
- select a session
- change into the matching project directory when possible
- reopen the session with
codex,claude, oropencode
To remove shell integration:
csx uninstall-shellgit clone https://github.com/vinzify/Agent-Session-Hub.git
cd Agent-Session-Hub
./install.shgit clone https://github.com/vinzify/Agent-Session-Hub.git
cd Agent-Session-Hub
.\install.ps1src/app.rs: CLI dispatch and provider-mode selectionsrc/session.rs: Codex JSONL, Claude JSONL, and OpenCode SQLite parsing plus filteringsrc/browser.rs:fzfrow generation, preview output, and picker actionssrc/config.rs: alias persistence and legacy index importsrc/shell.rs: shell integration for bash, zsh, fish, PowerShell, and Windowscmdsrc/provider.rs: provider metadata and runtime behavior
Start with CONTRIBUTING.md.
