Discover and explore top open-source AI tools and projects—updated daily.
ctxrsFast local search for coding agent context
Top 44.7% on SourcePulse
Summary
ctx is an open-source CLI tool designed to address the problem of coding agents losing context from previous sessions. It provides fast, local search capabilities across past agent interactions, indexing logs into an SQLite database. This allows current and future agents to quickly access discussions, decisions, failed attempts, commands, and test results from earlier work, preventing repetition and improving efficiency. The target audience includes engineers, researchers, and power users who leverage coding agents, offering the benefit of readily available, meaningful historical context.
How It Works
ctx indexes past agent sessions stored in local provider history files. It discovers supported sources, imports persisted records, and stores normalized session, event, and touched-file metadata in a local SQLite database optimized for retrieval. This approach enables fast, scriptable searches without requiring a background service. By structuring agent history into sessions, events, and indexed fields, ctx returns ranked, cited matches, allowing agents to access relevant history with significantly fewer tokens compared to raw transcript searches, making it 50x more token-efficient.
Quick Start & Requirements
curl -fsSL https://ctx.rs/install | shnpx is recommended for installing the agent skill (npx skills add ctxrs/ctx).https://ctx.rs/install. Documentation and CLI reference are accessible through ctx docs commands.Highlighted Details
Maintenance & Community
No explicit mentions of notable contributors, sponsorships, partnerships, or community channels (e.g., Discord, Slack) are present in the provided README.
Licensing & Compatibility
Limitations & Caveats
The README does not explicitly list limitations. However, the absence of explicit license information is a significant caveat for due diligence and adoption decisions. Users are responsible for reviewing indexed content for sensitive data, as transcripts are preserved verbatim. Official installer-managed binaries support self-upgrades, but source builds and package-manager installs do not.
1 day ago
Inactive