Updated · Markdown
Make AI agents remember, learn on the job and get smarter
Updated 2026-11-29. Written by the team that builds Tex, so weigh it accordingly.
Short answer: an agent forgets because each session starts from its prompt and nothing else. To make it learn, three things have to happen after every run: someone writes down what the run taught, the next run reads it before it starts, and someone removes what turns out to be wrong. You can do this by hand with a notes file the agent reads. Tex does it for you: a curator agent writes each run's lessons into a shared knowledge base, every agent reads it first, and every night the curator rechecks and cleans it.
Why agents forget
A model doesn't change between your runs. What changes the next run is only what goes into its context: the instructions, the files it reads, the tools it calls. A chat's built-in memory keeps a few facts about you, but it is hard to see, fix or share, and it doesn't hold the details of a job: which sources were noise, which customer is sensitive, which test is known to flake.
The ways to make them learn
| Way | Good for | The catch |
|---|---|---|
| Update the instructions yourself after each run | One agent, a few stable rules | You do the writing, and it falls behind |
A notes file the agent appends to (CLAUDE.md, AGENTS.md, a memory folder) |
Coding agents in one repo | Agents write duplicates and stale lines, and nobody prunes them |
| A memory library or service | Developers building agents into a product | You build the review and cleanup around it |
| A curated knowledge base, such as Tex's | A team's recurring jobs | It is for jobs that repeat, not one-off chats |
How Tex does it
- Every agent reads the knowledge base before it works. It is plain markdown, mounted in the agent's sandbox at
/knowledge_base. - A curator writes what each run taught. When a session ends, Tex sends its synopsis to the knowledge base's curator. Only the curator, and people editing pages, write the knowledge base. Every line cites the session or person it came from.
- Corrections go in, in your words. A correction or a good or bad verdict in the session chat reaches the curator as you wrote it.
- Every night the curator dreams. It rechecks pages against the real sessions, removes lines that don't hold up and merges duplicates.
- You can read and undo all of it. Every revision is a diff in the console that you can revert, and any revision downloads as a zip that opens as an Obsidian vault.
Agents that share a knowledge base learn from each other, so a lesson one agent learned on Monday is in every agent's context on Tuesday.
Questions people ask
Does it retrain the model? No. The model stays the same. What improves is what the agent knows when it starts, which is why you can read it and undo it.
What if it learns the wrong thing? Edit the line, tell the curator in a session's chat, or revert the revision. Each line says where it came from, so you can see why it is there.
Can my team see and correct what it learned? Yes. Tex is an organization with members. Everyone reads the same pages, and anyone who can chat with an agent can correct it.
How much does the learning cost? On our own account in November 2026, the curator's turn that filed one run into the knowledge base cost $0.18 on Claude Opus. New organizations start with $10 of credit and no card.
What Tex doesn't do
- Few teams run agents on Tex so far, so try it on one recurring job first.
- The console is for desktop browsers.