mlsanityData to 7 Oct 2026

PROJECTMEM: A Local-First, Event-Sourced Memory and Judgment Layer for AI Coding Agents

arXiv 2606.12329 ↗First posted 10 Jun 2026cs.AIcited by 3

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

AI coding agents often lose project-specific rationale across sessions and may repeat approaches that previously failed. The bottleneck is often not model capability but missing coding agent memory: a durable record of what was decided, tried, and ruled out. We present projectmem, an open-source, local-first memory and judgment layer for AI coding agents, which records development as an append-only, plain-text log of typed events (issues, attempts, fixes, decisions, and notes) and deterministically projects it into compact summaries served through the Model Context Protocol (MCP). When invoked before an edit, a file-scoped advisory precheck returns recorded failures, open issues, and churn for the target file, a design point we call Memory-as-Governance. We evaluate feasibility through an author-run, six-month self-study on two machines, a controlled latency benchmark, and client-compatibility tests. The study contains 3,228 unique events from 27 projects; 56% are issue-lifecycle events, and 86 of 427 distinct issues closed by a recorded fix had at least one failed attempt before the first fix in event-log order. These histories are candidates for later warnings, not evidence that warnings prevented failures. On a synthetic repository, the median analysis time for a 1,500-event log decreased from 42.0 seconds to 79.3 milliseconds, while git subprocesses per check decreased from 1,500 to two and the tested warning output was preserved. The results establish the feasibility of persistent project memory for AI coding agents and motivate a controlled repeat-failure benchmark for measuring whether coding-agent memory prevents repeated failures. Source code is available at https://github.com/riponcm/projectmem.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 26 of its 34 references that are in the map. First posted on arXiv 10 Jun 2026.

Builds on

26 of 34 references.

Closest ancestors · 4

Same direction, newest first

  1. 2026Codified Context: Infrastructure for AI Agents in a Complex Codebase24 Feb
  2. 2026Where Do AI Coding Agents Fail? An Empirical Study of Failed Agentic Pull Requests in GitHub21 Jan
  3. 2025Where LLM Agents Fail and How They can Learn From Failures29 Sep
  4. 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunities15 Aug

Other references · 22

  1. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  2. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  3. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
  4. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,000
  5. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 722
  6. 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 539
  7. 2023Cognitive Architectures for Language Agentscited by 422
  8. 2025Zep: A Temporal Knowledge Graph Architecture for Agent Memorycited by 372
  9. 2025Model Context Protocol (MCP): Landscape, Security Threats, and Future Research Directionscited by 257
  10. 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactionscited by 236
  11. 2025LlamaFirewall: An open source guardrail system for building secure AI agentscited by 114
  12. 2025AGrail: A Lifelong Agent Guardrail with Effective and Adaptive Safety Detectioncited by 82
10 more
  1. 2026ToolSafe: Enhancing Tool Invocation Safety of LLM-based agents via Proactive Step-level Guardrail and Feedbackcited by 64
  2. 2026STALE: Can LLM Agents Know When Their Memories Are No Longer Valid?cited by 36
  3. 2026MemMachine: A Ground-Truth-Preserving Memory System for Personalized AI Agentscited by 14
  4. 2026Beyond the Context Window: A Cost-Performance Analysis of Fact-Based Memory vs. Long-Context LLMs for Persistent Agentscited by 13
  5. 2025Large Language Models for Software Engineering: A Reproducibility Crisiscited by 8
  6. 2026TOKI: A Bitemporal Operator Algebra for Contradiction Resolution in LLM-Agent Persistent Memorycited by 7
  7. 2026Memanto: Typed Semantic Memory with Information-Theoretic Retrieval for Long-Horizon Agentscited by 6
  8. 2025Meta-Policy Reflexion: Reusable Reflective Memory and Rule Admissibility for Resource-Efficient LLM Agentcited by 5
  9. 2026ESAA: Event Sourcing for Autonomous Agents in LLM-Based Software Engineeringcited by 4
  10. 2026MemCog: From Memory-as-Tool to Memory-as-Cognition in Conversational Agentscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Memory as Infrastructure: Reliability Engineering for Persistent Agent Memory in Months-Long LLM-Assisted Development
  2. 2026ESAA-Conversational: An Event-Sourced Memory Layer for Continuity, Handoff, and Curation Across Heterogeneous LLM Coding Agents
  3. 2026VibeMemBench: Evaluating Memory Systems for Coding Agents on Real Repository Coding Tasks
  4. 2026Latent Programming Horizons in Coding Agents
  5. 2026Ontology-Grounded Project Memory for Coding Agents
  6. 2026Agentic Coding in the Wild: Characterizing GitHub Copilot Traces at Production Scale
  7. 2025Agent READMEs: An Empirical Study of Context Files for Agentic Coding
  8. 2026Just-In-Time Agent Memory with Runtime Agentic Research