← all repositories

ctxrs/ctx

A Rust CLI that indexes and searches past coding agent sessions stored locally, enabling AI coding assistants to recover previous discussions and decisions.

501 stars Rust Coding Assistants
ctx
Collecting fresh signals — velocity needs a few days of history.
collecting data…
star history

ctx imports and normalizes agent session logs from Claude Code, Codex, Cursor, and similar tools into a local SQLite database optimized for retrieval. It provides a CLI interface for agents to query their own historical context, including discussions, commands, failed attempts, and file changes. The structured storage approach is designed to be significantly more token-efficient than raw transcript search.

Frequently asked

What is ctxrs/ctx?
A Rust CLI that indexes and searches past coding agent sessions stored locally, enabling AI coding assistants to recover previous discussions and decisions.
Is ctx open source?
Yes — ctxrs/ctx is open source, released under the Apache-2.0 license.
What language is ctx written in?
ctxrs/ctx is primarily written in Rust.
How popular is ctx?
ctxrs/ctx has 501 stars on GitHub.
Where can I find ctx?
ctxrs/ctx is on GitHub at https://github.com/ctxrs/ctx.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.