frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: ctx – Search the coding agent history already on your machine

https://github.com/ctxrs/ctx
6•luca-ctx•1h ago
Coding agents don't have long-term memory.

But you do have months of full-fidelity agent transcripts stored on your machine.

A simple solution that goes a long way: ingest those transcripts and logs into a structured SQLite database, then search them with ranked text match. Everything is fully local and doesn't require anything fancy like a graph database or hosted memory service.

This is the idea behind ctx, a Rust CLI that handles the ingestion and searching.

We give our agents a skill that tells them to reference past sessions before working in an area. Usually we do this through an "Agent History Research Subagent" whose job is just to prepare a short brief covering any relevant history before the task begins.

A real example: sometimes our test suite runs would fail because disk was full on the runner. The correct approach was to run the cleanup runbook, but the root cause of the failure was not clear to the agents, so they would think it was a test regression and go down the wrong rabbit hole debugging. When the agent searched history, it realized this failure had been encountered before and found the right workaround immediately. That got the agent onto the right cleanup path, and later we improved the log output so the same failure would be clearer next time. It's a boring story, but it's real agent productivity.

Another nice use case is quickly generating session transcripts for sharing. You can exclude the noisy intermediate messages, so the transcript shows the important parts of the session more cleanly. Try attaching a session transcript to your next PR so your teammate and their agent can review the provenance and prompting behind the change.

If you're up for an additional challenge, ask your agent to "exhaustively review all agent history in this repo and find where the SDLC is struggling or isn't agent-native". Using past sessions to recursively improve the agentic SDLC is a loop that we're using a lot today.

If you try it out, please let us know what you think!

Comments

luca-ctx•1h ago
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!

Show HN: QUALITY.md – open format/specification, agent skill, and CLI

https://getquality.md
22•craigsmitham•1h ago•13 comments

Show HN: CLI tool for detecting non-exact code duplication with embedding models

https://github.com/rafal-qa/slopo
39•rkochanowski•3h ago•13 comments

Show HN: Mail Memories – A desktop app to rescue photos from Gmail

https://mailmemories.com
78•ltiger•3h ago•26 comments

Show HN: A graph paper generator that renders vector PDFs in the browser

https://freegraphpaper.net/
52•lam_hg94•4h ago•11 comments

Show HN: Claudoro, Pomodoro timer embedded in the Claude Code statusline

https://github.com/emson/claudoro
34•emson•1d ago•26 comments

Show HN: ZeroFS – A log-structured filesystem for S3

https://www.zerofs.net/
88•Eikon•4h ago•43 comments

Show HN: Fli – 18KB CLI file listing tool in no_std rust and Libc

https://github.com/tracyspacy/fli
3•yulkor•21m ago•0 comments

Show HN: Bais.News – News Neutralization Piepline

https://bais.news
2•adam_public•25m ago•0 comments

Show HN: Cyclearchive.com – search vintage cycling magazines

https://cyclearchive.com/search/
19•alastairr•5d ago•6 comments

Show HN: zkGolf, competitive optimization of formally verified circuits.

https://zk.golf/
23•rot256•2h ago•1 comments

Show HN: I built an open-source alternative to Claude Cowork

https://github.com/valmishq/valmis
15•wayneshng•4h ago•3 comments

Show HN: I built an MCP to allow Claude to pair-program with another Claude

https://github.com/zachlikefolio/tunnel-mcp
2•tunnel-mcp•1h ago•0 comments

Show HN: Simulate API traffic directly from your IDE with .http files

https://gopherglide.dev/
2•maniac00•1h ago•0 comments

Show HN: Enola-A deterministic architecture graph for developers and AI agents

https://github.com/enola-labs/enola/tree/main
5•GertLH•3h ago•2 comments

Show HN: ctx – Search the coding agent history already on your machine

https://github.com/ctxrs/ctx
6•luca-ctx•1h ago•1 comments

Show HN: Randomify – stumble onto niche music at random

https://randomify.net
2•s_e__a___n•1h ago•0 comments

Show HN: Kubelens-If kubectl works, you're ready. A browser UI for your cluster

https://github.com/jialinhuang00/kubelens
4•jiaLin1014•2h ago•0 comments

Show HN: Egaki – create videos with code and MDX files

https://egaki.org/docs
2•xmorse•2h ago•0 comments

Show HN: Claude skills to make anti-AI slop UI

https://github.com/Vinayak-Shukla-03/anti-ai-slop
3•vinayak-shukla•12m ago•1 comments

Show HN: I measured the half-life of 41,301 Show HN launches. It's 7 hours

https://jonno.nz/posts/your-show-hn-dies-in-7-hours/
15•jonnonz•6h ago•3 comments

Show HN: UATC – A Closed-Loop Controller to Prevent GPU OOM

https://github.com/sajjaddoda72-design/UATC
2•L_u_u_6•2h ago•0 comments

Show HN: MemSignal - an experimental memory-pressure indicator for Windows

https://github.com/riccardoruspoli/MemSignal
3•riccardoruspoli•4h ago•0 comments

Show HN: A lightweight CLI tool to track and purge temporary packages in Linux

https://github.com/hermetic-code/labeled-cli
3•joyalgeorgekj•4h ago•3 comments

Show HN: Newsprint – A native RSS reader for macOS with Hacker News support

https://github.com/ata-sesli/newsprint
3•ata-sesli•3h ago•0 comments

Show HN: Point0 – a fullstack TypeScript framework on Bun and React

https://github.com/1gr14/point0
3•1gr14•3h ago•0 comments

Show HN: SwiftShrink – compress an image to an exact KB size, in the browser

https://swiftshrink.com/
4•Talha_Asjad•5h ago•0 comments

Show HN: All the News You Need

https://github.com/ulyssestenn/allthenewsyouneed
2•bethanyhunt•3h ago•0 comments

Show HN: Pgblame – which Vercel deploy slowed your Postgres?

https://pgblame.com
2•liberzon•3h ago•0 comments

Show HN: Salt – a systems language with Z3 theorem proving in the compiler

https://salt-lang.dev
42•bneb-dev•1d ago•37 comments

Show HN: GolemUI – Declarative Form Engine

https://golemui.com
46•wtfdeveloper•1d ago•68 comments