cross-agent memory and session management for your terminal. Recall, search, and resume the work every agent left behind.

$ npx @termem/cli
or npm i -g @termem/cli · cargo install termem

leox255 Loading latest commit… main ·  Commits
termem — zsh
cross-agent memory & sessions
6 sessions
~/code/termem
type to filter
sessions
    preview
    ↑↓ move   open  type filter  esc quit
    README

    termem

    Cross-agent memory and session management for your terminal.

    Coding agents forget everything between sessions, and none of them can see what the others did. termem is the shared memory layer underneath them all. It indexes every Claude Code, Codex, Gemini, opencode, and shell session by the directory it ran in, so you can:

    • Recall prior work in a directory through the MCP server. An agent reads what happened there before, even sessions a different agent created, and picks up where you left off.
    • Resume the exact past session in the right tool and directory.
    • Search across everything by message content, not just titles.

    termem never calls a model and never makes a network request. Your agents do the reasoning; termem does the retrieval and storage.

    Install

    With Node:

    npx @termem/cli

    Or with a Rust toolchain:

    cargo install termem

    Or download a prebuilt macOS / Linux binary from the releases page and put termem on your PATH.

    Use

    termem                       open the picker for the current directory and subfolders
    termem --here                only sessions started exactly here
    termem --all                 every session, any directory
    termem ls                    print a table instead of opening the picker
    termem ls --source codex     filter by tool: claude, codex, opencode, gemini, shell
    termem ls -s "query"         search message content, title, prompt, and path
    termem resume <id|text>      resume the best match
    termem index                 rebuild the index now

    In the picker: type to filter, arrow keys to move, Enter to resume, Esc to quit.