ctxrs / ctx
Local CLI that indexes your coding agent history into SQLite for fast, private, token-efficient context retrieval across sessions
活跃维护 Apache 2.0 Rust Tracked
1.1k 64 13 分钟前
agents ai claude codex coding-agents cursor developer-tools rust worktrees agent agent-skills agentic agentic-ai agentic-workflow antigravity claude-code
星标趋势
数据积累中,暂无足够数据生成趋势图
AI 分析
项目摘要
ctx is a Rust-based CLI tool that indexes and searches your local coding agent session history (Claude Code, Codex, Cursor, etc.) into a SQLite database, enabling fast, token-efficient retrieval of past decisions, failed attempts, and commands for current and future agent sessions.
为什么值得关注
It solves the 'agent amnesia' problem where coding agents start from zero each session, wasting tokens and repeating past mistakes. By structuring agent history into a searchable local index, it provides 50x token efficiency over raw transcript search while keeping data private and local.
优势
- Significant token efficiency improvement (50x) over raw transcript search
- Local-first, private by default with no background service required
- Supports multiple coding agent providers (Claude Code, Codex, Cursor)
- Fast performance via Rust and SQLite with scriptable CLI interface
- Active development with 17 releases in 6 months
局限性
- No CI/CD pipeline configured
- Limited documentation examples and no Docker support
- Very small contributor base (2 contributors)
- New project with limited production track record
使用场景
- Retrieving past architectural decisions and constraints before starting new agent sessions
- Finding previous failed approaches to avoid repeating mistakes
- Searching for specific commands or file paths from earlier debugging sessions
- Building context for new team members by surfacing historical agent interactions
目标用户: Developers and teams using AI coding agents (Claude Code, Codex, Cursor) who want to preserve and leverage institutional knowledge from past agent sessions
学习曲线: 低
分析模型:LongCat-2.0 | 分析时间:1 个月前