Guillaume Laforge @glaforge.dev ยท 1d

#AI coding agents waste a lot of time and tokens repeating the exact same trial-and-error mistakes across sessions. To fix this, I created theย ๐—ข๐—ฝ๐—ฒ๐—ป ๐—ฅ๐—ฒ๐—ฎ๐˜€๐—ผ๐—ป๐—ถ๐—ป๐—ด ๐—™๐—ผ๐—ฟ๐—บ๐—ฎ๐˜ (ORF) (a file-based specification that lets AI agents learn from past runs)

27 likes 5 replies

?

Replies

Kai Good ยท 13h

That repeated mistake loop is exactly the annoying part of coding agentsโ€ฆ writing the lesson to a file so the next run can reuse it makes a lot of sense.

Soham Dasgupta ยท 10h

Nice work. Is this specific to Antigravity or can be used with other ai-assisted coding tools? Was wondering, don't we need to mention the experience folder and its structure in agents.md or custom agent files? so that it refers to it when required? Also, how will this work with alongside ADRs?

Yash Jain ยท 23h

Session amnesia is the real tax on agentic coding right now. Curious how ORF handles conflicting lessons across projects though, since one repo's fix can be another repo's anti-pattern.

Ilja ยท 1d

Very interesting approach! I have a very large ongoing FAILS.md for Claude (in global user settings) and now Iโ€™m temped to let an agent parse it into experiences so that I donโ€™t start from zero ๐Ÿค”

Guillaume Laforge ยท 1d

๐Ÿ“ Article:ย glaforge.dev/posts/2026/...โ€จ ๐Ÿ’ป ORF optimizes agent trajectories: when an agent resolves a tricky bug or trap in one run, it records the lesson as a structured playbook.