For developers · Coding agents

I teach my coding agents once. Every agent on both my laptops remembers.

Each coding agent keeps its own memory, on one machine. Here is how I keep one memory for all of them, kept apart per client, in a git repo I own.

I build products and do client work, with coding agents, on two laptops. For most of this year I kept teaching them the same things.

I'd tell Claude Code how I want pull requests written. A week later, in another project, I'd say it again. I'd correct an agent about how a project stores dates, then open the other laptop and watch it make the same mistake. Codex read none of what Claude Code had learned. And a rule from one client's project must never show up in another's.

Each agent keeps its own memory, on one machine. So I built Taught to keep one memory for all of them.

How it works

When I correct an agent about something lasting, it records the correction as a rule with taught note. The rule is a markdown file in a private git repo I own. Taught writes it into each agent's own file: CLAUDE.md for Claude Code, AGENTS.md for Codex, Cursor's rules files. A background sync carries it to my other laptop within minutes. There is no Taught server and no account.

Three kinds of rule

Personal rules are about how I work, and apply in every project: "Recommend decisively; don't present option menus." "Approval for one step is not approval for the next." Project rules stay with one project. Repo rules stay with one repository.

Clients stay apart

Each project's rules stay with that project. A client's memory can live in its own private repo, the one their team uses, or on one laptop only. Nothing from one client reaches another.

Where I am now

454 rules in use: 27 personal, 405 for projects, 22 for a single repo, across 18 projects. The oldest came in from what Claude Code had saved in March. I open taught ui to read, edit or delete them; every change is in git history.

What it doesn't do

  • It keeps rules, not conversations: chat history stays with each agent.
  • It is built and tested on macOS. Linux should work but is little tested, and Windows is untested.
  • It's a free beta, closed source, and it changed a lot in its first week; that's settled now.

Try it

You need macOS, Node 20+, git, and an empty private repo:

npm i -g taught
taught setup --remote git@github.com:you/taught-memory.git

Then correct an agent about something lasting, and ask a different agent the same question.

I'm looking for feedback from people who work across several agents, laptops or clients: what broke, what was confusing, what you expected it to do. The issues page is the place.