Skip to content

Brain-AI Memory v0.6.0 — Automatic Session Memory for Codex and Claude Code

Latest

Choose a tag to compare

@Hahyun-Lee Hahyun-Lee released this 16 Jul 07:46

Brain-AI Memory can now keep a project moving across Codex and Claude Code sessions without requiring you to rebuild the context by hand each time.

What’s new

  • Opt-in, project-scoped automatic session memory for Codex and Claude Code
  • Bounded recall at session start and before prompts
  • Approved procedural-rule checks before actions
  • Successful-edit receipts and dirty-only checkpoints
  • A next-session handoff that can resume unfinished work
  • Preview-first install, exact managed-hook ownership, and safe disconnect

Try it

Install the tagged release:

git clone --branch v0.6.0 --depth 1 https://github.com/Hahyun-Lee/brain-ai-memory.git
cd brain-ai-memory
python3 -m venv .venv
source .venv/bin/activate
python -m pip install ".[mcp]"

Then, in the project you want the agent to remember:

cd /path/to/your/project
export PROJECT_ROOT="$PWD"
export BRAIN_AI_HOME="$PROJECT_ROOT/.brain-ai"

brain-ai init
brain-ai entity add --name my-project --type project

# Preview the project-scoped Codex integration, then apply it.
brain-ai connect codex --entity my-project --mode loop --project-root "$PROJECT_ROOT"
brain-ai connect codex --entity my-project --mode loop --project-root "$PROJECT_ROOT" --apply
brain-ai doctor --host codex --entity my-project --mode loop --project-root "$PROJECT_ROOT"

Use claude-code instead of codex for Claude Code. The first connect command is a preview; the second writes the project configuration.

Evidence boundary

The v0.6.0 suite contains 123 tests covering the loop, host integration, storage durability, concurrency, restart/resume, failure injection, and clean-wheel execution. These checks establish packaging and deterministic integration behavior. They do not claim improved LLM answer quality or long-run reliability in every host environment.

See the v0.6.0 changelog and automatic session memory guide.