One AGENTS.md, Everything an Object: A Cross-Session Memory Convention for Coding Agents

Honest-Papaya-5196 · reddit · 2026-11-25

A developer shared their "Everything is an Object" convention built with Claude Code and Codex: a single AGENTS.md instructs agents to store work as linked objects in a folder they own — questions, decisions, attempts, and results each get an identity, type, links, and history, so context survives across sessions.

Snapshot of their own use:

Design: agents look for an existing object or type first, and only define new local types by asking explicitly — so you don't have to get the structure right upfront. The author likens it to Unix's file interface: many kinds of things, one common way to work with them.

Honest costs:

Original post →

More from coding & agent

coding & agent channel →