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

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 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

fast_resume-2.9.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

fast_resume-2.9.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

fast_resume-2.9.4-py3-none-macosx_11_0_arm64.whl (4.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

fast_resume-2.9.4-py3-none-macosx_10_12_x86_64.whl (5.3 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file fast_resume-2.9.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: fast_resume-2.9.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: Python 3, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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}

File hashes

Hashes for fast_resume-2.9.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 82ac62e54a4335d16f3a414c5d3170b06a1403591c897171360a0ee89a860e68
MD5 6afc804099d5bf414d7075f8b8c94a00
BLAKE2b-256 ad9945b6e8018323c022dc1289d270d981c7fb5f02cc76449709fece385ff2da

See more details on using hashes here.

File details

Details for the file fast_resume-2.9.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

  • Download URL: fast_resume-2.9.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
  • Upload date:
  • Size: 5.2 MB
  • Tags: Python 3, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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}

File hashes

Hashes for fast_resume-2.9.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 439eb4ed687cb9217a56d60540d3635b8008e294ab4ca3f445178893e4642d5e
MD5 5c01c8f94fb0b68361c50e843e879c1a
BLAKE2b-256 d6267ab05143fdc1a1f5e934f97090a88088d3c82682e81db986d5f2e299d2e6

See more details on using hashes here.

File details

Details for the file fast_resume-2.9.4-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: fast_resume-2.9.4-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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}

File hashes

Hashes for fast_resume-2.9.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6b421aa22dfe35994e156877b28d48d6fef8df42b9c0a0c8fd0ca64868ea71b8
MD5 bb69c76dfefa8ca0a112a6de9cf3f27e
BLAKE2b-256 49a2a0c3d8e3a4529c8e25837631b2c0be4eb6696ffcf60623579bb77c563489

See more details on using hashes here.

File details

Details for the file fast_resume-2.9.4-py3-none-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: fast_resume-2.9.4-py3-none-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: Python 3, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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}

File hashes

Hashes for fast_resume-2.9.4-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a9f38738c4e7ce8c6eb2962aac1b97059986cfcb0234f8cec462fe5822f48dbd
MD5 b6ea1d688480214818adcff6652ab754
BLAKE2b-256 b9305db1c7df8af893ef5c6d2cb761cc12513131a7658d6bee2f0063b1c5ce31

See more details on using hashes here.

Release history Release notifications | RSS feed

2.11.2

4 files

2.11.1

4 files

2.11.0

4 files

2.10.0

4 files

This release

2.9.4 This release

4 files

2.9.3

4 files

2.9.2

4 files

2.9.1

4 files

2.9.0

4 files

2.8.0

5 files

2.7.1

5 files

2.7.0

5 files

2.6.1

5 files

2.6.0

5 files

2.5.0

5 files

2.4.0

5 files

2.3.0

5 files

2.2.0

5 files

2.1.0

5 files

2.0.0

5 files

1.18.0

2 files

1.17.3

2 files

1.17.2

2 files

1.17.1

2 files

1.17.0

2 files

1.16.2

2 files

1.16.1

2 files

1.16.0

2 files

1.15.3

2 files

1.15.2

2 files

1.15.1

2 files

1.15.0

2 files

1.14.3

2 files

1.14.2

2 files

1.14.1

2 files

1.14.0

2 files

1.13.1

2 files

1.13.0

2 files

1.12.8

2 files

1.12.7

2 files

1.12.6

2 files

1.12.5

2 files

1.12.4

2 files

1.12.3

2 files

1.12.2

2 files

1.12.1

2 files

1.12.0

2 files

1.11.0

2 files

1.10.0

2 files

1.9.0

2 files

1.8.1

2 files

1.8.0

2 files

1.7.0

2 files

1.6.0

2 files

1.5.0

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.3.3

2 files

1.3.2

2 files

1.3.1

2 files

1.3.0

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 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