ctx: Rust CLI tool lets coding agents search past session transcripts locally
A developer has released ctx, an open-source Rust command-line tool that ingests coding agent transcripts and logs into a local SQLite database for ranked text search. The tool addresses the lack of long-term memory in coding agents by allowing them to reference previous sessions before starting new tasks. All processing runs entirely on the user's machine, requiring no external services or graph databases. A practical example shared by the creator shows an agent correctly identifying a disk-full runner issue by finding a matching past incident, rather than incorrectly treating it as a test regression. The tool also supports generating clean session transcripts for sharing with teammates and their agents via pull requests.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in