Updated · Markdown
Stop AI agents from making the same mistake every time
Updated 2026-11-29. Written by the team that builds Tex, so weigh it accordingly.
Short answer: a mistake comes back because the fix was given in a conversation that ended. The next run starts without it. Three steps stop it: write the fix where every run reads it before it starts, check on the next run that it held, and remove fixes that turn out wrong so they don't pile up. Tex automates all three for agents that run recurring jobs.
Where the fix should live
- Not only in the chat. It ends, and the next run never sees it.
- In the instructions, if the fix is a rule that never changes. Edit the agent's instructions.
- In a knowledge base, if it is something learned about the work: a source that is noise, a customer that is sensitive, a command that must run first. These pile up fast, so they need a place that is easy to read and clean.
How Tex keeps a fix
- You correct the agent in its session's chat, or press thumbs down and say why.
- When the session ends, Tex's curator writes the fix into a knowledge base page, citing you and the session.
- Every agent that reads that knowledge base starts its next run from the page.
- Every night the curator rechecks pages against the real sessions and removes what doesn't hold up.
- If a fix was wrong, edit the line or revert the revision in the console.
Questions people ask
What if the agent repeats the mistake anyway? Say so in the chat. The curator sees both the fix and that it didn't hold, and can make the line clearer. You can also move a hard rule into the agent's instructions.
Does this work for ChatGPT or Claude chats? No. Tex runs agents that do recurring jobs in the background, not your personal chats.
Can I see what the agent was told? Yes. Every line in the knowledge base says where it came from, and every revision is a diff.
What Tex doesn't do
- It doesn't change the model itself. It changes what the agent knows when it starts.
- The console is for desktop browsers.