Радар на почту

Как я создал память для Claude Code и Codex: минимальное вмешательство, максимальная самостоятельность

DEV · 13.11.2026 · 00:56

Память агента работает лучше, когда она ограничена: добавляйте только ту информацию, которую агент не может узнать самостоятельно, а остальное пусть запрашивает.

Читать в источнике

Оригинал

How I built memory for Claude Code and Codex: inject little, let them pull the rest

Agent memory works best when it's on a diet: inject only what the agent can't find out for itself, and let it ask for the rest. Key findings Inject only what a coding agent can't find out for itself: decisions and rejected approaches, where you stopped, and what happened outside the agent. Let it pull the rest through MCP tools. In 9,470 tool calls from my Claude Code transcripts, agents called memory tools 42 times. The median call returned about 160 tokens. Cap every pushed item in code, la