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
- Tencent Releases UI-Mate-27B, a Desktop GUI Agent Model — tencent · 2026-08-24
- Comparing AI Subscriptions: DeepSeek API vs. Claude Pro vs. Local LLMs — Unlikely_Bluejay5392 · 2026-08-24
- Claude Code introduces 'Remote Control' feature to boost coding efficiency — rohanpaul_ai · 2026-08-24
- rauchg lays out fx extension philosophy: MCP, Skills, Plugins and Unix composition — AccBalanced · 2026-08-24
- Netflix details its production LLM judge: hundreds of thousands of recommendations scored weekly — omarsar0 · 2026-08-24
- smolvm passes Simon Willison's Fable 5 agent test as a secure sandbox — yawnxyz · 2026-08-24