IWE: An Open-Source Markdown Knowledge-Graph CLI for Claude Code Memory
gimalay · reddit · 2026-08-02
As Markdown-based memory files (like CLAUDE.md) grow in Claude Code, they often bloat into hundreds of files. This causes models to either burn the context window by re-reading everything or miss crucial details using standard grep.
A developer built IWE, an open-source Markdown knowledge-graph CLI (written in Rust, local-first) that turns notes into a queryable database. Key features include:
- Structured Queries: Uses WHERE-like clauses to find note statuses, decisions, or service references. Links act as JOINs, and frontmatter acts as the schema.
- Seamless Agent Integration: Runs as a single Rust binary in Bash. Claude can teach itself the syntax via iwe docs query, with built-in token budget limits.
- Write Protection: Flags like --expect 1 prevent models from quietly drifting formats or overwriting files during long sessions.
The author notes that the tool focuses on structured lookups rather than semantic search, making it ideal for heavy users whose memory folders have outgrown a single file.
More from coding & agent
- ERP•AI launches headless SaaS with $0 seats that bills machines: $1 buys 4,000 record writes — rohanpaul_ai · 2026-10-16
- FDE-Gym benchmark shows huge gap on real AI delivery tasks: top model scores 0.563 — DeepLethe · 2026-10-16
- Vibe-coded dashboard leaked franchise financials before anyone logged in — shauntrennery · 2026-10-16
- Fintech HR built a sourcing agent on 60,000 past applicants — 30 qualified candidates in a month — G0NZ0BOY · 2026-10-16
- Orchestrating a 100-image portrait of humanity for aliens with ChatGPT, Argon and p5.brush — dx8xb · 2026-10-16
- 3x DGX Spark cluster runs GLM-5.3-Flash locally behind a proxy, 1.75M tokens/day at 119W — Teknium · 2026-10-16