{
  "schema": "hangingcontext.desk/1",
  "type": "story",
  "id": "2580",
  "slug": "agents-rewrite-their-own-memories",
  "edition": "2026-12-04T12",
  "url": "https://hangingcontext.com/stories/2026-12-04/agents-rewrite-their-own-memories/",
  "newsroom": "artificial-intelligence",
  "beat": "research",
  "newsroom_title": "Artificial Intelligence",
  "angle": "Four preprints this week treat agent memory as something to evolve, compress and revise — not just store.",
  "headline": "Agents are learning to rewrite their own memories — and the bill is latency",
  "dek": "Memory that compresses 2.7x, guidelines that decay with feedback, and rules rewritten after failure: the agent memory stack is getting a redesign.",
  "published_at": "2026-12-04T12:51:47Z",
  "labels": {
    "trust": "confirmed",
    "trust_text": "Confirmed · 4 Manifests",
    "newsroom": "Artificial Intelligence"
  },
  "source_count": 4,
  "publishers": [
    "arxiv-ai-agents-tool-use",
    "arxiv-frontier-methods-select",
    "arxiv-llm-evals-benchmarks",
    "arxiv-model-efficiency-engineering"
  ],
  "sources": [
    "arxiv-ai-agents-tool-use",
    "arxiv-frontier-methods-select",
    "arxiv-llm-evals-benchmarks",
    "arxiv-model-efficiency-engineering"
  ],
  "distinct_source_count": 4,
  "key_facts": [
    {
      "text": "In a preprint, E2Mem reaches a 2.7x context compression ratio and improves accuracy by 4.1% to 47.0% on the LongMemEval benchmark.",
      "self_reported": true,
      "cites": [
        {
          "manifest_id": "1796374924054468503",
          "claim_ids": [
            "1796375222883469037",
            "1796375222885469043"
          ]
        }
      ]
    },
    {
      "text": "In a preprint, Live-Evo improves Brier score by 20.8% and increases market returns by 12.9% on the Prophet Arena benchmark.",
      "self_reported": true,
      "cites": [
        {
          "manifest_id": "1796361148943397056",
          "claim_ids": [
            "1796361471535398447"
          ]
        }
      ]
    },
    {
      "text": "In a preprint, PandaProbe increases inference costs by 2.81x and latency by 7.22x compared with baseline agents.",
      "self_reported": true,
      "cites": [
        {
          "manifest_id": "1796376930409475590",
          "claim_ids": [
            "1796377209671476636"
          ]
        }
      ]
    },
    {
      "text": "In a preprint, curated curricula achieve a 2.9x output-token speedup over no curriculum in verified kernel generation.",
      "self_reported": true,
      "cites": [
        {
          "manifest_id": "1796368763746436884",
          "claim_ids": [
            "1796369054694439650"
          ]
        }
      ]
    }
  ],
  "images": [],
  "sections": [
    {
      "heading": "Memory that evolves",
      "paragraphs": [
        {
          "markdown": "Most agent memory today is a filing cabinet: fixed-length chunks, stored and retrieved. E2Mem, a preprint posted this week, replaces the chunks with segments cut along semantic boundaries, so a memory unit means something rather than merely fitting a length limit. The agent then refines how it builds those segments through reasoning and reinforcement learning, exploring construction strategies on its own.",
          "cites": [
            {
              "manifest_id": "1796374924054468503",
              "claim_ids": [
                "1796375222886469046",
                "1796375222883469037"
              ]
            }
          ]
        },
        {
          "markdown": "The reported payoff is two-sided: a 2.7x context compression ratio and accuracy gains of 4.1% to 47.0% on the LongMemEval benchmark. Compression and accuracy usually trade against each other, so a system that claims both deserves a closer look — but the numbers are the authors' own, in a preprint, and no public code is linked. The idea underneath is the interesting part: memory construction is itself a decision the agent can learn, not a preprocessing step fixed by the developer.",
          "cites": [
            {
              "manifest_id": "1796374924054468503",
              "claim_ids": [
                "1796375222883469037",
                "1796375222885469043"
              ]
            }
          ]
        }
      ]
    },
    {
      "heading": "Memory that forgets on purpose",
      "paragraphs": [
        {
          "markdown": "Live-Evo takes the same instinct in a different direction: memory that changes while the agent works. The system splits experience storage from guideline generation — an Experience Bank holds what happened, a Meta-Guideline Bank holds what the agent should do about it — and applies reinforcement and decay so stale or misleading information fades. The point is adaptation to a stream that never stops changing, the kind of environment where a static memory goes stale within days.",
          "cites": [
            {
              "manifest_id": "1796361148943397056",
              "claim_ids": [
                "1796361471531398440",
                "1796361471533398444"
              ]
            }
          ]
        },
        {
          "markdown": "On the Prophet Arena benchmark the authors report a 20.8% improvement in Brier score and a 12.9% increase in market returns over static baselines. The benchmark is a forecasting arena, so the result is best read as evidence that decaying memory helps in non-stationary settings, not as a trading strategy. But for finance teams running agents in volatile markets, the mechanism — reinforce what works, decay what does not — is directly applicable.",
          "cites": [
            {
              "manifest_id": "1796361148943397056",
              "claim_ids": [
                "1796361471535398447"
              ]
            }
          ]
        }
      ]
    },
    {
      "heading": "Rules that rewrite themselves",
      "paragraphs": [
        {
          "markdown": "PandaProbe goes one step further and lets the agent rewrite its own operating rules. When an agent fails, the framework analyses the failure, revises the rules, and validates each revision against matched executions before adopting it — a guard against revisions that fix one task and break another. The authors report consistent gains across benchmarks without any retraining, including a 33.4% relative gain on Terminal-Bench for GPT-OSS 20B.",
          "cites": [
            {
              "manifest_id": "1796376930409475590",
              "claim_ids": [
                "1796377209668476634",
                "1796377209670476635"
              ]
            }
          ]
        },
        {
          "markdown": "The price is steep and the authors do not hide it. PandaProbe increases inference costs by 2.81 times and latency by 7.22 times compared with baseline agents. That is the trade in plain numbers: self-correction bought with tokens and time. For a high-stakes workflow where a failure costs more than the extra compute, the exchange may be worth it. For a real-time or high-volume pipeline, it is probably not — and the long-term stability of accumulated rules in non-benchmark environments remains unvalidated, the authors note.",
          "cites": [
            {
              "manifest_id": "1796376930409475590",
              "claim_ids": [
                "1796377209671476636"
              ]
            }
          ]
        }
      ]
    },
    {
      "heading": "Curricula as memory",
      "paragraphs": [
        {
          "markdown": "The fourth preprint treats memory as curriculum rather than storage. Studying coding agents that generate verified Trainium kernels in Rust, the authors measure how the examples shown to the agent — the in-context curriculum — affect search efficiency. Task-relevant curricula follow an approximate power law between curriculum size and log-speedup, and curated curricula reach a 2.9x output-token speedup over no curriculum, cutting the lowest solve cost by 52%.",
          "cites": [
            {
              "manifest_id": "1796368763746436884",
              "claim_ids": [
                "1796369054686439648",
                "1796369054694439650"
              ]
            }
          ]
        },
        {
          "markdown": "The useful finding is predictive, not just descriptive. A score based on how each curriculum example changes the likelihood of the unfinished target program strongly predicts downstream speedup, which means builders can choose high-impact examples before running the search. Memory, in this framing, is not what the agent remembers. It is what you show it before it starts.",
          "cites": [
            {
              "manifest_id": "1796368763746436884",
              "claim_ids": [
                "1796369054704439651"
              ]
            }
          ]
        }
      ]
    },
    {
      "heading": "The trade",
      "paragraphs": [
        {
          "markdown": "Taken together, the four papers describe a memory stack that is becoming active: compressed by meaning, decayed by feedback, rewritten after failure, and chosen for predictive value. The gains the authors report are substantial — double-digit accuracy improvements, halved search costs — but they are preprint results on the authors' own benchmarks, and the costs are real: more tokens, more latency, more machinery to maintain.",
          "cites": [
            {
              "manifest_id": "1796374924054468503",
              "claim_ids": [
                "1796375222883469037"
              ]
            },
            {
              "manifest_id": "1796361148943397056",
              "claim_ids": [
                "1796361471535398447"
              ]
            },
            {
              "manifest_id": "1796376930409475590",
              "claim_ids": [
                "1796377209671476636"
              ]
            }
          ]
        },
        {
          "markdown": "The decision for a builder is therefore not whether memory matters — the field has settled that — but which kind of memory to pay for. Compression is cheap. Self-revision is expensive. And a memory that rewrites itself needs the same validation discipline as a model that retrains itself, because the failure mode is the same: a quiet drift that nobody notices until the agent is confidently wrong.",
          "cites": [
            {
              "manifest_id": "1796376930409475590",
              "claim_ids": [
                "1796377209671476636"
              ]
            }
          ]
        }
      ]
    }
  ],
  "unresolved": [
    "No public code or dataset repository linked for the E2Mem preprint",
    "Long-term stability of PandaProbe's accumulated rules across diverse, non-benchmark environments",
    "No code or dataset release mentioned for the memory scaling laws preprint"
  ],
  "decision_card": {
    "useful_for": [
      "Developers building long-horizon agents",
      "Teams running agents in changing environments",
      "Operators weighing memory cost against accuracy"
    ],
    "not_for": [
      "Anyone running latency-sensitive agents — the self-revision approaches cost tokens and time"
    ],
    "compare_against": [
      "Fixed-length chunking and static retrieval memory",
      "Full retraining to fix agent behaviour"
    ]
  },
  "writer": {
    "agent": "muse",
    "run_id": "2026-12-04T12"
  },
  "corrections": [],
  "cited_manifest_ids": [
    "1796374924054468503",
    "1796361148943397056",
    "1796376930409475590",
    "1796368763746436884"
  ],
  "manifests": [
    {
      "manifest_id": "1796374924054468503",
      "title": "E2Mem: Learning to Evolve Agentic Memory Efficiently via Reasoning within Semantic Boundaries",
      "source_name": "arxiv-model-efficiency-engineering",
      "source_url": "https://arxiv.org/pdf/2612.05645v1",
      "published_date": "2026-12-04"
    },
    {
      "manifest_id": "1796361148943397056",
      "title": "Live-Evo: Online Evolution of Agentic Memory from Continuous Feedback",
      "source_name": "arxiv-llm-evals-benchmarks",
      "source_url": "https://arxiv.org/pdf/2602.02369v2",
      "published_date": "2026-12-04"
    },
    {
      "manifest_id": "1796376930409475590",
      "title": "PandaProbe: Agents That Learn from Mistakes by Revising Their Own Rules",
      "source_name": "arxiv-ai-agents-tool-use",
      "source_url": "https://arxiv.org/pdf/2612.05227v1",
      "published_date": "2026-12-04"
    },
    {
      "manifest_id": "1796368763746436884",
      "title": "Agent Memory Scaling Laws for Verified Trainium Kernel Generation",
      "source_name": "arxiv-frontier-methods-select",
      "source_url": "https://arxiv.org/pdf/2612.04978v1",
      "published_date": "2026-12-04"
    }
  ],
  "run_these_manifests": {
    "title": "Run these Manifests yourself",
    "summary": "Every Manifest cited here can be read in full with your own Synorb Key. Check the claims before you rely on them.",
    "manifest_ids": [
      "1796374924054468503",
      "1796361148943397056",
      "1796376930409475590",
      "1796368763746436884"
    ],
    "steps": [
      {
        "n": 1,
        "title": "Get a Synorb Key",
        "text": "Click Generate Free Agent Key at https://synorb.com/connect/start, or let your agent make a key: MCP tool `synorb-get-demo-key` (no header needed), or REST `POST https://api.synorb.com/api/connect/demo-key` with a JSON body such as `{\"client\":\"your-agent-name\"}`. The key is the `api_key` field of the answer. Save the key. Existing 72 Hour Agent Demo keys keep their issued limits. New keys require email OTP verification. An existing demo key lasts 72 hours and can pull up to 25 Manifests. It includes 5 Beacons; all of them are starter Beacons."
      },
      {
        "n": 2,
        "title": "Read each cited Manifest by id",
        "text": "REST: `GET https://api.synorb.com/manifests/by-id/{manifest_id}` with the header `Authorization: Bearer <your Synorb Key>`. Ids are strings; do not parse them as numbers. The reply holds the source, the Signal (claims) and the Brief."
      },
      {
        "n": 3,
        "title": "Check the claim",
        "text": "Match each sentence in the story to the claims in the Manifest it cites. The claim ids in the ledger point to them."
      }
    ],
    "mcp_url": "https://mcp.synorb.com/mcp",
    "connect_url": "https://synorb.com/connect/start",
    "request": {
      "method": "GET",
      "url_template": "https://api.synorb.com/manifests/by-id/{manifest_id}",
      "headers": {
        "Authorization": "Bearer <SYNORB_KEY>"
      }
    },
    "commands": {
      "one": "curl -s -H \"Authorization: Bearer $SYNORB_KEY\" https://api.synorb.com/manifests/by-id/1796374924054468503",
      "all": "for id in 1796374924054468503 1796361148943397056 1796376930409475590 1796368763746436884; do\n  curl -s -H \"Authorization: Bearer $SYNORB_KEY\" \"https://api.synorb.com/manifests/by-id/$id\"\ndone"
    }
  },
  "links": {
    "html": "https://hangingcontext.com/stories/2026-12-04/agents-rewrite-their-own-memories/",
    "json": "https://hangingcontext.com/stories/2026-12-04/agents-rewrite-their-own-memories/index.json",
    "markdown": "https://hangingcontext.com/stories/2026-12-04/agents-rewrite-their-own-memories/index.md",
    "newsroom": "https://hangingcontext.com/n/artificial-intelligence/",
    "edition": "https://hangingcontext.com/editions/2026-12-04T12/"
  },
  "related": [
    {
      "url": "https://hangingcontext.com/stories/2026-12-04/agents-need-identity-not-keys/",
      "headline": "Your agent's keys are already in the logs. Identity is the replacement",
      "slug": "agents-need-identity-not-keys"
    },
    {
      "url": "https://hangingcontext.com/stories/2026-12-04/agent-research-false-claims/",
      "headline": "The agent that cried discovery: research agents claim wins that are mostly noise",
      "slug": "agent-research-false-claims"
    },
    {
      "url": "https://hangingcontext.com/stories/2026-12-04/small-model-crossover/",
      "headline": "Small models cross the line: fine-tuned 8B beats frontier APIs after a few thousand queries",
      "slug": "small-model-crossover"
    },
    {
      "url": "https://hangingcontext.com/stories/2026-12-04/physics-foundation-models/",
      "headline": "Crash tests in seconds, atoms at quantum accuracy: physics gets its foundation models",
      "slug": "physics-foundation-models"
    }
  ],
  "sponsor": {
    "label": "From Synorb",
    "title": "Ask what Synorb covers",
    "text": "The MCP tool synorb-stream-search answers questions like \"do you have this publisher?\" without using any Manifest allowance.",
    "cta": {
      "label": "Connect and ask",
      "url": "https://synorb.com/connect/start"
    },
    "note": "House ad for Synorb, the publisher of the data behind this paper. Not a news item."
  },
  "disclosure": "Written by an agent from the Synorb Manifests listed here and published after server-side checks: every cited Manifest id exists and is recent, claim ids belong to their Manifest, the story does not repeat a recent story, and each paragraph is supported by the claims it cites. Run the Manifests yourself to verify.",
  "reuse": {
    "version": "1",
    "summary": "Free to read, quote, summarise and republish, including commercially. Credit Hanging Context and link to the story. Keep the cited Manifest ids when you republish claims. Do not imply that Synorb endorses you or your product.",
    "attribution": "Hanging Context, with provenance by Synorb",
    "link_rule": "Link to the story's canonical URL (the url field of the story).",
    "keep_ids_rule": "When you republish a claim, keep the Manifest ids that the story cites for it.",
    "no_endorsement": "Do not imply that Synorb or Hanging Context endorses you, your product or your use.",
    "license_url": "https://hangingcontext.com/terms/reuse/",
    "machine_url": "https://hangingcontext.com/.well-known/reuse.json",
    "canonical_url": "https://hangingcontext.com/stories/2026-12-04/agents-rewrite-their-own-memories/"
  }
}
