# SessionGrep indexes CLI agent session histories into searchable SQLite database

> Source: <https://www.getreadyforagents.com/news/session-history-memory-layer-agents/>
> Published: 2026-07-28 22:21:17+00:00

# SessionGrep indexes CLI agent session histories into searchable SQLite database

According to GitHub, sessiongrep provides a local-first memory layer that indexes Claude Code, Codex CLI, Cursor, and other agent session histories into a single SQLite database with full-text search, allowing users to find previous work by topic, repository, or provider. The tool also ships an MCP server so agents can search their own session history, enabling context to be carried across different coding agents and tools.

## Topics

## Sources

- Official
[Read article](https://github.com/braincompany/sessiongrep)

## Go deeper

This intelligence is sourced automatically from public sources across the web and synthesised by the Prefactor AI pipeline. Stories are reviewed before publication.
