ToolsThe story, in brief

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

Not a pilot. Developers are already using agent memory systems to catch production failures before they cascade.

Paper-cut illustration of a coral software window opening into a three-dimensional drafting space.
New tools for building and creating with AI.AI illustration by KeyNews
The KeyNews take

Why it matters

A practical tool addressing a real AI agent limitation—lack of long-term memory—by indexing local agent transcripts. Relevant to teams building with coding agents who need to reduce hallucination and repeated mistakes across sessions.

The key facts

14 to know
  1. ctx is a Rust CLI for ingesting and searching coding agent transcripts locally

  2. Uses structured SQLite database with ranked text matching—no external services required

  3. Real-world use case: agents avoiding repeated debugging of known failures by searching history

  4. Enables 'Agent History Research Subagent' pattern to prep context before tasks

  5. Can generate clean session transcripts for PR reviews and knowledge sharing

  6. Published: July 2, 2026

  7. Low adoption signal: 20 HN points, 4 comments (niche developer tool)

  8. ctx is a Rust CLI for ingesting agent transcripts into local SQLite

  9. Fully local—no hosted memory service or graph database required

  10. Real use case: agent identified disk-full test failures by searching history, avoided debugging rabbit hole

  11. Designed to integrate 'Agent History Research Subagent' into agentic workflows

  12. Supports session transcript generation for code review and PR collaboration

  13. Open-sourced on GitHub (ctxrs/ctx)

  14. Published July 2, 2026 on Hacker News

Go to the source

Hacker Newsgithub.com

Publisher excerpt: 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…
Read original report
Back to today's editionMore tools news

Keep reading

Related stories

More from Tools