Urgent.News

What's breaking now, across thousands of outlets.

AI

How AI agent memory works (and what happens when it forgets the wrong way)

Modelo de linguagem não lembra de nada. Cada chamada recebe um prompt, gera uma resposta e pronto, esqueceu. Quando um agente "lembra" que o projeto usa pytest , quem lembrou foi um sistema fora do modelo, que guardou isso em algum lugar e recolocou no prompt na hora certa. Esse sistema é a memória do agente. Nesse post eu explico como ela funciona, mostro quatro políticas de memória que…

Translated from Portuguese Read in Portuguese

A text-based AI model lacks memory, processing each prompt and generating a response without retaining any information. To address this limitation, an external memory system is used to store and retrieve relevant information. The author explains how this memory system works and presents four different memory policies that were implemented and tested.

These policies aim to solve issues such as obsolete values, false conflicts, forgotten rare facts, and unreliable content. The policies include a naive approach, subject key with write substitution, and others that use various techniques like storing semantic, episodic, and procedural information with associated metadata.

Written by urgent.news from Dev.to's report — not a translation of it. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

OpenCode Model Router: per-agent model fallback chains with a local web UI

Long sessions tend to end the same way: the primary model starts returning rate-limit errors, or the provider goes quiet mid-task.

  • OpenCode Model Router adds model fallback chains with a local web UI
  • Each agent has its own primary, secondary, and tertiary model chain
  • Web UI allows management at http://127.0.0.1:37337

More from Tuesday 6 October →