Blog

Notes from the cortex

Releases, ideas and lessons from building memory for agents.

RSS feed

AGENTS.md in Claude Code: why it isn't loading

Claude Code reads AGENTS.md since v2.1.277, but only when no CLAUDE.md or CLAUDE.local.md is on the path. How to check it loaded, each cause and its fix.

Claude Code memory: what it keeps, and where

Claude Code remembers between sessions through CLAUDE.md, which you write, and auto memory, which it writes. Where each lives, its limits, how to add more.

Claude Managed Agents memory stores, explained

Claude Managed Agents keep memory in memory stores: folders of text files mounted into each session, versioned on every write. How they work, and their limits.

Why your AI agent keeps reverting your fix

Your agent sees the code, not why it's written that way. Put the reason where it reads, add a test that fails on a revert, and block what must never change.

Agent memory vs RAG: the write path

RAG looks things up in a corpus someone else keeps. Agent memory also decides what to write, what to update and what to retire. Most memory uses RAG to read.

AGENTS.md shares rules, not memory

Share one AGENTS.md between Claude Code, Cursor and Codex to give them the same rules. What each agent learned stays behind unless they share a memory store.

Basic Memory vs Memorinth: alternatives compared

Basic Memory keeps AI agent memory in Markdown files, served over MCP. Where it wins (open source, cloud sync), its alternatives, and where Memorinth differs.

Why Claude Code forgets after compaction

Claude Code's compaction keeps your requests and key code but can drop early instructions. What survives, what doesn't, and how to keep the rest.

Claude Code memory: built in, or a server?

CLAUDE.md holds your rules and auto memory holds Claude's own notes. When those two are enough, and when a memory server over MCP earns its place.

CLAUDE.md vs MEMORY.md vs AGENTS.md

CLAUDE.md is the rules you write, MEMORY.md indexes the notes Claude writes, AGENTS.md is the rules file agents share. Who writes each, and when it loads.

Your CLAUDE.md is too long: what to move out

Anthropic says keep each CLAUDE.md under 200 lines. Sort every line into a rule, a procedure, a hard limit, a decision or a fact, and only the rules stay.

claude-mem alternatives: capture vs curate

claude-mem records every session and compresses it with a model. The alternative is curated memory: notes agents write on purpose, in files you read.

Cursor memories vs rules: what each agent keeps

Cursor removed Memories in 2.1, so rules are what lasts. What Cursor, Claude Code, Codex and Gemini CLI each remember, where, and what crosses between them.

Knowledge graph vs vector memory for agents

Vectors find what sounds alike, graphs follow how things connect, files stay readable. What each storage shape for agent memory is good and bad at.

Mem0 alternatives that run fully local

Five Mem0 alternatives that keep agent memory on your machine: Cognee, Supermemory's local mode, MemPalace, Basic Memory and Memorinth, with what each needs.

Mem0 vs Zep vs Letta: agent memory compared

Mem0 vs Zep vs Letta, checked November 2026: how each stores memory, pricing, licence, self-hosting and MCP support, and which to pick, with Mem0 vs Zep.

Obsidian alternatives built for AI agents

Logseq, Joplin, SiYuan, Anytype, Zettlr and Memorinth compared as Obsidian alternatives: licence, how notes are stored, mobile apps and MCP for AI agents.

Obsidian with Claude Code: MCP, CLI or skills?

Three ways to connect an Obsidian vault to Claude Code, compared: the Local REST API's MCP server, the official CLI and Obsidian's agent skills.

Claude Code session handoff: a template

A Claude Code session handoff is a short file the next session reads first. When to use one instead of --resume, a template to copy, and what goes in memory.

When agent memory goes stale

Stale agent memory is a note that stopped being true with no one saying so. Give each fact a source and a recheck date, and supersede it rather than edit it.

Types of AI agent memory, mapped to code

Working, procedural, semantic and episodic memory, mapped to the files a coding agent uses: CLAUDE.md, skills, facts, decisions, transcripts and git.

What is an MCP memory server?

An MCP memory server is a program your agent calls to save and search what it learns, kept outside the chat. When it helps, and when CLAUDE.md is enough.

Agent memory should be Markdown you own

Why Memorinth keeps what your AI agents remember as plain Markdown files on your disk, not rows in a database you can't read, edit or take with you.

Decisions and facts: ADRs for AI agents

Architecture decision records, adapted for AI agents: decisions that are superseded rather than edited, and facts with a source that come up for a recheck.

How offline hybrid search works

How Memorinth searches notes by keyword and by meaning on your own machine: sections by heading, SQLite full-text search, a local model, one score.