Audrey

Audrey

MCP.Pizza Chef: Evilander

Audrey helps your AI coding assistants like Claude Code and Codex remember important project details and past mistakes so they don’t repeat errors. It works with apps like ChatGPT and VS Code, running locally without needing API keys. After a one-time developer setup, Audrey automatically recalls relevant memories and checks actions before they run, making your AI smarter and more reliable across sessions.

Coding
Other

Use This MCP server To

Remember coding errors to avoid repeating them Recall project preferences automatically Keep continuity across AI assistant sessions Check proposed code changes against past failures Store and retrieve procedural memory for coding tasks Link tool outcomes to previous checks for learning

README

Audrey

Memory that shows up before your coding agent makes the same mistake twice.

Audrey gives Codex and Claude Code one local, evidence-backed memory loop: remember what mattered, recall it automatically, check before acting, and learn from what happened next.

CI npm version MIT license

Your agent should remember the work, not just the chat

You fix the deploy command on Monday. On Thursday, a fresh session tries the broken version again.

You explain that this repository never commits generated files. The next agent helpfully commits them.

You discover a subtle migration rule, write it down somewhere, and still have to remember to paste it into every new conversation.

That is the gap Audrey closes.

Audrey sits beside the agent and participates in the work automatically. At the start of a session it brings back a small, relevant memory packet. When you submit a prompt, it recalls project facts, preferences, procedures, and recent risks. Before a side-effectful tool runs, Audrey checks the proposed action against prior evidence. Afterward, it links the outcome back to the exact check that preceded it.

The model does not have to remember that a memory tool exists. That is the point.

Meet Audrey Autopilot

Install Audrey once, review the hooks once, and then use Codex or Claude Code normally.

npm install -g audrey --allow-scripts=better-sqlite3,onnxruntime-node,sharp,protobufjs
audrey install --host auto

The explicit install-script list is for npm 12's safer dependency policy. It permits only the four packages Audrey needs for SQLite, local inference, and their generated runtime files. With npm 11 or earlier, the shorter npm install -g audrey is equivalent.

auto configures whichever supported CLIs are installed. You can choose one explicitly:

audrey install --host codex
audrey install --host claude-code

Restart the host after installation. Codex asks you to trust non-managed hooks once through /hooks; Claude Code may also ask you to approve project or plugin components. Audrey is automatic after that explicit install-and-trust step—never secretly installed.

Autopilot then closes the loop:

Moment What Audrey does
Session starts Injects a compact, agent-scoped memory briefing
You send a prompt Recalls relevant evidence; explicitly durable phrases such as “remember that…” or “I prefer…” can become memories
Bash/edit/write is proposed Checks exact prior failures, trusted rules, procedures, contradictions, and memory health
The tool finishes Correlates tool_use_id to the Guard receipt and records the redacted outcome
A tool failure is reported Forms a durable, sanitized failure memory for the next attempt
The turn stops or context compacts Runs lightweight, due-only consolidation without holding the conversation open

Each hook event carries a host-declared timeout (30 seconds for the PreToolUse Guard check); Audrey races its own internal embedding/LLM timeout a few seconds ahead of that deadline so it can exit cleanly instead of losing the race to the host's kill. Infrastructure failures are fail-open by default: if Audrey itself errors or runs out of time, the tool call proceeds unguarded rather than freezing the session. Set AUDREY_HOOK_FAIL_CLOSED=1 to deny the action instead when the PreToolUse check fails this way; other lifecycle hooks (session start, prompt recall, post-tool bookkeeping) have no "deny" to fall back to and always degrade open regardless of this setting.

Audrey FAQ

Can I use Audrey to help my AI coding assistant remember previous mistakes?
Yes — Audrey keeps track of past errors and prevents repeating them in new sessions.
Can Audrey work with ChatGPT and VS Code?
Yes — it supports both ChatGPT and VS Code clients to enhance AI memory continuity.
Do I need an API key or account to use Audrey?
No — Audrey runs locally without requiring any API keys or online accounts.
How hard is it to set up Audrey?
It requires developer-level setup involving Node.js and command-line installation.
Can Audrey remember project-specific preferences and procedures?
Yes — it recalls facts, preferences, and procedures automatically during your AI sessions.