Show HN: ctx – Search the coding agent history already on your machine
Category: devtools
Tags: cli-tool, agent-history, local-search, rust, sqlite
Score: 7.8/10 (Innovation: 7, Technical: 8, Documentation: 8, Utility: 8)
ctx is an open-source CLI tool that indexes coding agent session logs into a local SQLite database, enabling fast, token-efficient semantic search across past agent interactions. It addresses the key pain point of agents losing context from previous sessions, and does so with a well-designed Rust implementation that prioritizes privacy and performance.
Target audience: backend devs, ai engineers, devops
Repository: https://github.com/ctxrs/ctx · Rust · Apache-2.0 · 179 stars
View on Hacker News