Skip to main content

fast-resume

fast-resume

Search and resume conversations across Claude Code, Codex, Pi, and more, all from one terminal UI.

Coding agents can resume previous sessions, but searching those sessions is often limited or title-only. fast-resume builds a single full-text index over your local agent history so you can find a prompt, response, project, or session and jump straight back in.

https://github.com/user-attachments/assets/60f6e128-2ae4-431d-8a87-097f600b6d04

Highlights

  • Search titles, directories, user messages, and assistant responses across every supported agent.
  • Find imperfect matches with typo-tolerant Tantivy search and exact-match ranking.
  • Filter by agent, directory, and date from the command line or directly in the search box.
  • Preview conversations, copy resume commands, or hand off directly to the original agent.
  • Start immediately from the existing index while changed sessions refresh in the background.
  • Use agent artwork, mouse controls, responsive filters, and compact layouts in the Ratatui TUI.

Supported agents

Antigravity CLI, Claude Code, Codex, Copilot CLI, Copilot in VS Code, Crush, Cursor CLI, Grok Build, Kimi Code, OpenCode, Pi, and Vibe. See how it works for storage formats and resume behavior.

Install

Homebrew is the simplest option on macOS and Linux:

brew tap angristan/tap
brew install fast-resume

Nix users can run directly from the source package:

nix run github:angristan/fast-resume

You can also install with npm or a binary wheel with uv:

npm install --global fast-resume
# or
uv tool install fast-resume

See the installation guide for Nix, npm, uvx, Cargo, supported platforms, and terminal recommendations.

Quick start

# Search all sessions interactively
fr

# Start with a query or filters
fr "authentication bug"
fr -a codex -d backend "api error"

# Search without opening the TUI
fr --list "agent:claude date:<2d auth"

# Inspect or rebuild the local index
fr --stats
fr --rebuild

Inside the TUI, use the arrow keys to select a session and press Enter to resume it. Tab completes filters or cycles agents, Ctrl+P toggles the preview, and Ctrl+Y copies the resume command.

Agent usage

Coding agents can use the stable JSON output instead of parsing the human table:

fr --json --limit 10 "dir:backend authentication bug"
fr --json --limit 10 --offset 10 "dir:backend authentication bug"

Run fr --agent-context to print the bundled Agent Skill with safe search, pagination, and resume guidance.

Documentation

  • Installation — packages, platforms, terminals, and upgrades
  • Usage — search syntax, CLI options, keybindings, yolo mode, and statistics
  • How it works — adapters, indexing, search, refresh safety, and resume handoff
  • Development — local setup, validation, project layout, and release packaging

Configuration

No configuration is required. The Tantivy index follows the XDG Base Directory specification. It lives at $XDG_CACHE_HOME/fast-resume/tantivy_index when XDG_CACHE_HOME is an absolute path, or at ~/.cache/fast-resume/tantivy_index by default. It is rebuilt automatically when its schema changes.

To reset it manually:

rm -rf "${XDG_CACHE_HOME:-$HOME/.cache}/fast-resume"
fr --rebuild

License

MIT

Metadata

Release files for fast-resume 2.13.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for fast-resume 2.13.0
File
fast_resume-2.13.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
fast_resume-2.13.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
fast_resume-2.13.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
fast_resume-2.13.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details

Total release size: 21.0 MB

Release files / fast_resume-2.13.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL fast_resume-2.13.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 5.4 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
05b73fa5cd4af4ed6c686664c4bf651746d1aaaf30143ae008f415230e36739d
BLAKE2b-256 checksum
How to use checksums
b8f50739bb05c183a871fdd390d1c7436985979aff76ffba871a92af0403e9b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / fast_resume-2.13.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL fast_resume-2.13.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 5.2 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
90952486239b87f5c30c1626fddd826cd8bdd57b043ee36fab42d685126f077e
BLAKE2b-256 checksum
How to use checksums
ce5bd245e18db6caef25647016d5d6935908cb24328a2cdd051d0282abaa51c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / fast_resume-2.13.0-py3-none-macosx_11_0_arm64.whl

Download URL fast_resume-2.13.0-py3-none-macosx_11_0_arm64.whl
Size 5.0 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
84402fd2819db97da99d093229d7ee5a073db7612f8e7bde5905c5e85edb0dd1
BLAKE2b-256 checksum
How to use checksums
bcd2c659809a0a8b8d2ca263346fb14a83a9159a286a3e2584cfef878e2853a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / fast_resume-2.13.0-py3-none-macosx_10_12_x86_64.whl

Download URL fast_resume-2.13.0-py3-none-macosx_10_12_x86_64.whl
Size 5.3 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
14d228eb8bb22b49552783b1d2016e0a643d036a25dfc90245ff3a7e32b9798e
BLAKE2b-256 checksum
How to use checksums
eea282348222ea80ab2f0620e653d1443a918e03cc332cb489d90fa251121db0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

2.13.0 This release

4 release files

2.11.2

4 release files

2.11.1

4 release files

2.11.0

4 release files

2.10.0

4 release files

2.9.4

4 release files

2.9.3

4 release files

2.9.2

4 release files

2.9.1

4 release files

2.9.0

4 release files

2.8.0

5 release files

2.7.1

5 release files

2.7.0

5 release files

2.6.1

5 release files

2.6.0

5 release files

2.5.0

5 release files

2.4.0

5 release files

2.3.0

5 release files

2.2.0

5 release files

2.1.0

5 release files

2.0.0

5 release files

1.17.3

2 release files

1.17.0

2 release files

1.16.2

2 release files

1.16.1

2 release files

1.16.0

2 release files

1.14.1

2 release files

1.14.0

2 release files

1.13.1

2 release files

1.13.0

2 release files

1.12.8

2 release files

1.12.7

2 release files

1.12.6

2 release files

1.12.5

2 release files

1.12.2

2 release files

1.12.1

2 release files

1.12.0

2 release files

1.11.0

2 release files

1.10.0

2 release files

1.9.0

2 release files

1.8.1

2 release files

1.8.0

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page