Claude Subconscious Adds Persistent Background Memory to Claude Code
Ihtesham Ali describes Claude Subconscious, an MIT-licensed tool that sends Claude Code session transcripts to a background Letta agent, which maintains eight memory blocks covering preferences, architecture, patterns and pending items across projects.
Original post · 1 min read
It's called Claude Subconscious, and it solves the biggest problem with every AI coding agent the amnesia that hits the moment you close a session.
Here is how it works:
After every Claude Code response, your full session transcript gets sent to a background Letta agent running underneath Claude. That agent reads your files, searches your codebase, updates its memory, and whispers back the most relevant context before your next prompt all without adding a single second of delay to your workflow.
The agent maintains 8 persistent memory blocks that grow smarter over time:
→ Your coding preferences and style choices it has learned from watching you
→ Project architecture - decisions and known gotchas it has read from your codebase
→ Session patterns - recurring struggles, time-based behaviours, common mistakes
→ Pending items - unfinished work and explicit TODOs it tracks across sessions
→ Active guidance it surfaces before each prompt when it has something useful to say
One agent brain connects across all your projects simultaneously, so the context you built in one repo carries into the next one you open.
Claude Code gets smarter the more you use it, without you changing a single thing about how you work.
MIT License. 100% Open Source.