[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"branding":3,"analytics":7,"article-a-memory-layer-so-ai-coding-agents-stop-repeating-mistakes":10,"sections":35},{"siteName":4,"siteTagline":5,"publisherName":4,"contactEmail":6},"The Revision","Tech news, decoded.","editor@therevision.news",{"gaMeasurementId":8,"adsenseClientId":9},"G-ZW2MV82GYR","ca-pub-8533917693782264",{"article":11},{"id":12,"slug":13,"title":14,"dek":15,"body_md":16,"tags_json":17,"published_at":18,"created_at":19,"updated_at":20,"status":21,"review_note":22,"review_notes":23,"image_url":22,"persona_id":22,"persona_name":22,"section":24,"tags":25,"sources":30,"feedback":34,"feedback_at":22,"cost_usd":34,"total_tokens":34},9234,"a-memory-layer-so-ai-coding-agents-stop-repeating-mistakes","A Memory Layer So AI Coding Agents Stop Repeating Mistakes","A new open-source tool called projectmem logs every coding decision and failed attempt so AI agents can check history before editing a file again.","An open-source project called projectmem wants AI coding agents to stop forgetting what already failed.\n\nThe tool, described in a new arXiv paper, keeps a local, append-only log of typed events - issues, attempts, fixes, decisions, and notes - from a coding project. Before an agent edits a file, it can query that log through the Model Context Protocol and get a precheck of recorded failures, open issues, and churn tied to that specific file. The author ran a six-month self-study across two machines and 27 projects, logging 3,228 events. In 86 of 427 closed issues, the eventual fix followed at least one earlier failed attempt. On a synthetic 1,500-event repository, a project analysis that took 42 seconds dropped to 79.3 milliseconds, with git subprocess calls falling from 1,500 to two.\n\nThe real bottleneck for coding agents usually isn't the model - it's that each session starts from zero, with no record of what the team already tried and ruled out. Persistent, file-scoped memory is a plausible fix for a problem every agent user has hit: the same busted approach suggested twice. The speed numbers also matter practically, since nobody wants an assistant that pauses for 42 seconds to remember what it did yesterday.\n\nWorth noting: the paper itself is careful to say its failure histories are candidates for future warnings, not proof that warnings actually stop repeat mistakes. That distinction is the honest part most launch posts skip, and the authors say a controlled benchmark is still needed to show the memory layer changes outcomes rather than just logging them.","[\"ai-agents\",\"coding-tools\",\"open-source\",\"developer-productivity\"]","2026-10-01T04:00:00.000Z","2026-10-02T03:15:45.786Z","2026-10-02T03:15:50.612Z","published",null,[],"ai",[26,27,28,29],"ai-agents","coding-tools","open-source","developer-productivity",[31],{"name":32,"url":33},"arXiv cs.AI","https:\u002F\u002Farxiv.org\u002Fabs\u002F2606.12329",0,{"sections":36},[37,40,44,48,53,58,62,67,72,76,81,86,91,96],{"name":38,"slug":24,"count":39,"latest_published_at":18},"AI",5629,{"name":41,"slug":42,"count":43,"latest_published_at":18},"Security","security",816,{"name":45,"slug":46,"count":47,"latest_published_at":18},"Policy","policy",430,{"name":49,"slug":50,"count":51,"latest_published_at":52},"Deals","deals",298,"2026-09-30T21:00:26.000Z",{"name":54,"slug":55,"count":56,"latest_published_at":57},"Hardware","hardware",196,"2026-09-30T13:00:00.000Z",{"name":59,"slug":60,"count":61,"latest_published_at":18},"Science","science",163,{"name":63,"slug":64,"count":65,"latest_published_at":66},"Consumer Tech","consumer-tech",149,"2026-09-30T22:57:11.000Z",{"name":68,"slug":69,"count":70,"latest_published_at":71},"Dev Tools","dev-tools",93,"2026-10-01T02:30:48.000Z",{"name":73,"slug":74,"count":70,"latest_published_at":75},"Software","software","2026-09-30T21:41:11.000Z",{"name":77,"slug":78,"count":79,"latest_published_at":80},"Startups","startups",84,"2026-09-30T20:39:09.000Z",{"name":82,"slug":83,"count":84,"latest_published_at":85},"Gaming","gaming",51,"2026-09-30T16:24:30.000Z",{"name":87,"slug":88,"count":89,"latest_published_at":90},"General","general",50,"2026-09-30T21:37:54.000Z",{"name":92,"slug":93,"count":94,"latest_published_at":95},"Reviews","reviews",31,"2026-09-28T14:31:34.000Z",{"name":97,"slug":98,"count":99,"latest_published_at":100},"How-To","how-to",6,"2026-06-16T09:00:00.000Z"]