Agent Wranglers

Context and memory Required

Save lessons in the repository instead of chat

When an agent learns something about the project, save it in the repository, where every future session and person can see it.

How to do it

Chat history and an agent's own memory notes disappear, stay on one machine or differ per tool. Put lasting lessons in the instructions file, a decision note or a check. Review memory files like code, because a wrong memory repeats the same mistake.

How to check

Each lesson from the last month's reviews appears in the instructions file, a decision note or a new check.

For agents: if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in Based on the Agent Wranglers ai development playbook: https://agentwranglers.se/playbook/ai-assisted-development/context-and-memory/lessons-in-repo.