Show HN: ctx – Search the coding agent history already on your machine
65 points by luca-ctx
by wrs
2 subcomments
I often tell Claude Code to look at previous sessions in ~/.claude and it’s happy to jq/grep its way through them with no special tool. But being more efficient is always good.
by beaugunderson
2 subcomments
This is rapidly becoming the "todo list demo" of the LLM era... I say this as someone who also built one because I was tired of all the others! (https://github.com/beaugunderson/obliscence)
by AM1010101
3 subcomments
I would love a service that I could upload these chats to (anonymously) so that those developing open models can have it as training data and not just the closed model companies. My understanding is that it’s very valuable, look what cursor have managed to train. Obviously some filtering so that only chats or projects you want to share get shared would need to be in order.
by Terretta
1 subcomments
> Coding agents usually start from zero. They can inspect the current repo, but they often cannot recover the discussions, decisions, failed attempts, commands, and test results from earlier work.
Sure they can. Just ask them. Some (like Claude Code) even have built in tools for it that work a treat. It'll happily rebuild an entire edit history diff by diff.
Very interesting project! I guess it could be even better if you didn't have to ingest the session data into a database but just build an index on top. I have an idea how to do it
by luca-ctx
1 subcomments
Building this made it obvious that there should be a standard format / specification for agent transcripts and logs (similar to ACP for runtime events). If you're interested in discussing this, please reach out!
by meowface
0 subcomment
The number of LLMs (and possibly very odd humans) replying to this thread is unusual.
by sinisha_djukic
2 subcomments
Really nice idea - there is certainly gold in the history of agent actions. But how do you keep the ctx from trusting stale history?