Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Give Claude Code a subconscious
| Date | Stars |
|---|---|
| 2026-07-31 | 2858 |
| 2026-08-03 | 2858 |
| 2026-08-06 | 2865 |
Today
+7 stars today
This week
— stars this week
This month
— stars this month
Momentum
18.0
growth rate 0.00%/day
> [!IMPORTANT]
> Claude Subconscious is demo app built using the Letta Code SDK, and is not intended to be used in production.
>
> If you want to use a coding agent that runs background subconscious agents, use [**Letta Code**](https://github.com/letta-ai/letta-code), which is also fully open source.
>
> Install the Letta Code CLI with `npm install -g @letta-ai/letta-code`, then use `letta` to launch.
# Claude Subconscious
A background agent that whispers to Claude Code. A subconcious agent that watches your sessions, reads your files, builds up memory over time, and whispers guidance back.

## What Is This?
Claude Code forgets everything between sessions. Claude Subconscious is a second agent running underneath — watching, learning, and whispering back:
- **Watches** every Claude Code session transcript
- **Reads your codebase** — explores files with Read, Grep, and Glob while processing transcripts
- **Remembers** across sessions, projects, and time
- **Whispers guidance** — surfaces context, patterns, and reminders before each prompt
- **Never blocks** — runs in the background via the [Letta Code SDK](https://docs.letta.com/letta-code/sdk/)
Not just a memory layer — a background agent with real tool access that gets smarter the more you use it.
Using Letta's [Conversations](https://docs.letta.com/guides/agents/conversations/) feature, a single agent can serve multiple Claude Code sessions in parallel with shared memory across all of them.
## How It Works
After each response, the transcript is sent to a Letta agent via the Letta Code SDK. The agent reads files, searches the web, updates its memory — then whispers back before the next prompt. Nothing is written to CLAUDE.md.
```
┌─────────────┐ ┌──────────────────────────┐
│ Claude Code │◄────────►│ Letta Agent (background) │
└─────────────┘ │ │
│ │ Tools: Read, Grep, Glob │
│ │ Memory: persistent │
│ │ Web: search, fetch │
│ └──────────────────────────┘
│ │
│ Session Start │
├───────────────────────►│ New session notification
│ │
│ Before each prompt │
│◄───────────────────────┤ Whispers guidance → stdout
│ │
│ Before each tool use │
│◄───────────────────────┤ Mid-workflow updates → stdout
│ │
│ After each response │
├───────────────────────►│ Transcript → SDK session (async)
│ │ ↳ Reads files, updates memory
```
## Installation
Install from GitHub:
```
/plugin marketplace add letta-ai/claude-subconscious
/plugin install claude-subconscious@claude-subconscious
```
### Updating
```
/plugin marketplace update
/plugin update claude-subconscious@claude-subconscious
```
### Install from Source
Clone the repository:
```bash
git clone https://github.com/letta-ai/claude-subconscious.git
cd claude-subconscious
npm install
```
Enable the plugin (from inside the cloned directory):
```
/plugin enable .
```
Or enable globally for all projects:
```
/plugin enable --global .
```
If running from a different directory, use the full path to the cloned repo.
### Linux: tmpfs Workaround
If plugin installation fails with `EXDEV: cross-device link not permitted`, your `/tmp` is likely on a different filesystem (common on Ubuntu, Fedora, Arch). Set `TMPDIR` to work around this [Claude Code bug](https://github.com/anthropics/claude-code/issues/14799):
```bash
mkdir -p ~/.claude/tmp
export TMPDIR="$HOME/.claude/tmp"
```
Add to your shell profile (`~/.bashrc` or `~/.zshrc`) to make permanent.
## Configuration
### Required
```bash
export LETTA_API_KEY="your-api-key"
```
Get your API key from [app.letta.com](https://app.letta.com).
### Optional
```bash
export LEExcerpt of 18,669 characters
Read on GitHubCameron · @letta-ai · United States
103
8
8
Charles Packer · @letta-ai · United States
4
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:52afb98c78a6d122, llm:Repository name and description: 'claude-subconscious' and 'Give Claude Code a subconscious' (TypeScript). No topics or README provided.
matched fp:52afb98c78a6d122, llm:Repository name and description: 'claude-subconscious' and 'Give Claude Code a subconscious' (TypeScript). No topics or README provided.