Da

Darc – grep-like memory search tool for coding agents

Hacker News

Darc – grep-like memory search tool for coding agents

Hi HN, I’m Junha Park. I've been experimenting with agent memory, especially how to make agents run more reliably on large tasks. I built Darc, an open-source shared memory search tool for coding agents, with a different approach from most agent memory systems we can see today. It is an index + (lexical) search tool over agent session history, rather than a managed memory system. No embeddings, no agent-aided consolidation, no injection hooks. How it works: Darc archives Codex / Claude Code session rollouts that already exist under ~/.codex and ~/.claude, indexes them into a single SQLite DB, and exposes session/turn/tool call/file-level search commands over them. Why I built this: I've tried using different agent memory tools and they were useful, but sometimes I found them nosiy. I kept turning memory on/off depending on the task. For example, when I ran iterative code review rounds, I saw reviewer agents report "no findings" with "memory cited" memos, where the cited memory came from recent review sessions or the session that built the feature being reviewed. I believe this could put bias to the current reviewer's context window, and wanted to turn off those "injection hook" memory feature for such cases. So I came up with an idea. Recent coding agent tools tend do prefer simple lexical search (UNIX tools; `rg`, `sed`, etc.) to semantic search over vector embeddings, and they work quite well and reliably without the heavy embedding. Why don't we take similar approach to agent memories, treating the session history like documents or code? The idea is to let agents use Darc iteratively to discover relevant evidence or decisions from prior sessions, see which files or sessions are deeply related, and keep chaining the search until they understand the full picture of what happened in the past before they jump into editing code. I also added team sharing feature to Darc. Users can encrypt (via `age`) and share their indexed agent session history with other team members working on the same project via Git backend of their choice (GitHub or self-hosted Git server). Regex-based redaction is supported by default (so sensitive data like secret keys, API keys or env vars don't get into SQLite at all). Then, users can pull agent session history indexes from other team members and search over them to get decision context made by others. This is analogous to asking colleagues who wrote the code about context behind the work, like design decisions, before touching that part of the code. That said, it still needs proper evaluation. I'm working on simple bench/evals to compare scenarios like: - Baseline, with no memory - Using Codex / Claude Code built-in memory (the native memory system that summarizes prior sessions using background agents and writes MEMORY.md, not merely AGENTS.md or CLAUDE.md) - Using Darc - Using Darc + Codex / Claude Code built-in memory - Just `rg` on session history directly If this approach sounds interesting (or you think it doesn't make sense) I'd love to hear your feedback. I'd also love to learn what methods people are using to manage team-level context on project where coding agents are used heavily.

Share card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: agents, agent, claude · Missing: mac, macos, cursor
100%100% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: ios · Missing: supports, reddit linkedin, podcasting
87%87% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: exist, lua, code review · Missing: https docs, excited, just released
60%60% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: host, users · Missing: plus, platform, intuitive
42%42% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: ios, users · Missing: mobile apps, personal, entrepreneurs
41%41% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
19%19% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Fa
Fantail SLMs for Coding Agents61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Fantail SLMs for Coding Agents

Hacker News1
Sv
Sverklo – repo memory for coding agents33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sverklo – repo memory for coding agents

Hacker News3
Rt
Rta-Smriti – local-first project memory for coding agents33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rta-Smriti – local-first project memory for coding agents

Hacker News2
La
LazyAgent – All in one observerbility TUI app for coding agents39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

LazyAgent – All in one observerbility TUI app for coding agents

Hacker News6
Sk
Skillmem – local memory for coding agents that stores how, not what34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Skillmem – local memory for coding agents that stores how, not what

Hacker News1
MemoryCustodian
MemoryCustodian93%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Repo-native memory for coding agents

Product Hunt+145Developer Tools
Sl
Slowave – local adaptive memory for coding agents46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Slowave – local adaptive memory for coding agents

Hacker News1
Qarinah
Qarinah19%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Evidence-linked project memory for coding agents

Indie Hackers
Cl
Cloud Coding Agents35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cloud Coding Agents

Hacker News2
Cipher by Byterover
Cipher by Byterover96%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open-source, shared memory for coding agents

Product Hunt+341Developer Tools