explaingit

zszz3/agent-session-search

Analysis updated 2026-05-18

50TypeScriptAudience · developerComplexity · 2/5Setup · moderate

TLDR

A local desktop app that indexes and searches past sessions from AI coding agents like Claude Code, Codex, and CodeBuddy, so you can find and resume them without digging through the file system.

Mindmap

mindmap
  root((Agent-Session-Search))
    What it does
      Indexes agent sessions
      Full-text search
      Resume sessions
    Tech stack
      Electron
      React
      TypeScript
      SQLite
    Use cases
      Find past sessions
      Tag and organize
      Reopen in terminal
    Audience
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Full-text search across all past AI coding agent sessions from one window.

USE CASE 2

Pin, hide, or tag sessions with custom titles for easier organization.

USE CASE 3

Reopen a past session directly in your preferred terminal emulator.

USE CASE 4

Track token usage and message counts across all your coding sessions.

What is it built with?

ElectronReactTypeScriptSQLiteNode.js

How does it compare?

zszz3/agent-session-searchapex-quant-systems/polymarket-weather-trading-botigorwarzocha/howaboua-pi-stuff
Stars505050
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatehardeasy
Complexity2/54/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Node.js 22.13 or later, and installation is a manual clone-and-build rather than a packaged installer.

In plain English

Agent-Session-Search is a local desktop application for searching, organizing, and resuming past sessions from AI coding agents such as Claude Code, Codex, and CodeBuddy. If you regularly use these tools and accumulate many sessions over time, this app gives you a single place to find and reopen them without digging through file system directories. The app reads existing session files directly from the locations where each tool stores them on your machine. It builds a local search index so you can do full-text searches across session content, project paths, and titles. It does not modify the original session files, any notes you add, such as custom titles and tags, are stored separately in a local SQLite database. You can also mark sessions as pinned or hidden, and filter by project, source tool, or time range. For resuming work, the app can open a session in several terminal emulators (Terminal, iTerm, Ghostty, WezTerm, or Warp on macOS, standard terminals on Windows), copy a resume command to the clipboard, or export the session as a Markdown file. It also tracks token usage and message counts across sessions and, if enabled, records how often individual Claude Code skills have been used. The app runs as a background process with an icon in the menu bar (macOS) or system tray (Windows). On macOS the default keyboard shortcut to open the search window is Option+Space. On Windows it is Ctrl+Alt+Space. Both shortcuts can be changed or disabled in settings. Light and dark themes are available, and the interface supports both Chinese and English. It is built with Electron, React, and TypeScript, and requires Node.js 22.13 or later. Installation involves cloning the repository, running the build, and registering a global command. The README is written primarily in Chinese, with an English version available in the docs folder.

Copy-paste prompts

Prompt 1
Help me install and build Agent-Session-Search from source on macOS.
Prompt 2
Show me how to search past Claude Code sessions by project path using this app.
Prompt 3
Explain how this app keeps my original session files unmodified while adding notes.
Prompt 4
Set up the global keyboard shortcut to open Agent-Session-Search on Windows.

Frequently asked questions

What is agent-session-search?

A local desktop app that indexes and searches past sessions from AI coding agents like Claude Code, Codex, and CodeBuddy, so you can find and resume them without digging through the file system.

What language is agent-session-search written in?

Mainly TypeScript. The stack also includes Electron, React, TypeScript.

How hard is agent-session-search to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is agent-session-search for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.