ctx is an open-source CLI tool designed to facilitate fast local search across a user's past coding agent sessions, enhancing context retrieval and efficiency in software development.
Source: README View on GitHub →ctx is gaining attention due to its unique approach to indexing and searching coding agent history, addressing the challenge of retrieving context from past sessions efficiently. Its token-efficiency, support for multiple coding agents, and Rust-based architecture are notable technical choices that stand out.
Source: Synthesis of README and project traitsctx indexes past coding agent sessions into a local SQLite database, enabling fast and efficient searches without the need for cloud services or API keys.
Source: READMEctx is designed to be 50x more token-efficient than raw transcript search, allowing for meaningful history access with fewer tokens.
Source: READMEctx supports a wide range of coding agents, including Claude Code, Codex, Cursor, and more, ensuring compatibility with various development environments.
Source: READMEThe architecture of ctx is modular, with separate crates for different functionalities such as CLI, history capture, core, search, and store. It leverages Rust's concurrency and safety features, and uses SQLite for local storage. The design emphasizes efficiency, modularity, and security.
Source: Code tree + dependency filesCenter: project; inner ring: core feature modules; outer ring: key dependencies. Auto-generated from core_features and tech_stack.key_deps.
serderusqliteclapchronouuidctx is suitable for developers and technical teams who require efficient access to past coding agent sessions to avoid repeating mistakes, understand previous decisions, and improve collaboration with agents.
Source: READMEv0.19.0 (2026-07-03): Fixed Pi source discovery and imports, added hosted installer handoff marker support, and added exact file-only search behavior.
Source: GitHub Releasesctx is a promising tool for developers looking to enhance their efficiency and context retrieval in software development. Its focus on token efficiency and support for multiple coding agents makes it a valuable addition to the developer's toolkit, particularly for those working in environments where past coding agent sessions are critical for decision-making.
ctx is an open-source CLI tool designed to facilitate fast local search across a user's past coding agent sessions, enhancing context retrieval and efficiency in software development.
ctx's core features include: Local Search Indexing, Token Efficiency, Agent Session Support.
ctx is gaining attention due to its unique approach to indexing and searching coding agent history, addressing the challenge of retrieving context from past sessions efficiently.
ctx is suitable for developers and technical teams who require efficient access to past coding agent sessions to avoid repeating mistakes, understand previous decisions, and improve collaboration with agents.