Join our daily and weekly newsletter for the latest updates and exclusive content on industry-leading AI coverage. learn more
AI agents can Automate many business tasks Want to perform. However, one drawback is that they tend to be forgetful. Without long-term memory, the agent must complete the task in one session, or constantly re-propose it.
Therefore, as businesses continue to explore the use cases of AI agents and how to implement them safely, companies developed by agents must consider how to make them less forgetful. Long-term memory will make agents more valuable in the workflow, and the instructions can be remembered even if there are complex tasks that require several turns.
Memory makes agents stronger, Redis’s vice president of AI product management told VentureBeat.
“Agent memory is crucial to enhancement [agents’] Efficiency and functionality Since LLM is inherently stateless – they don’t remember things like prompts, responses, or chat history,” Singer said in an email. “Memory allows AI agents to recall past interactions, preserve information and maintain context to provide more coherent, personalized responses and more impactful autonomy. ”
The company likes it Langchain The option to extend proxy memory has been started. Langchain’s Langmem SDK helps developers build agents using tools to “extract information from conversations, optimize agent behavior by timely updates, and maintain long-term memory of behaviors, facts and events.” ”
Other options include memoranduman open source tool was launched in January to enable agents to “user-centric” memory so applications can remember and adapt. Crewai also has long-term proxy memory tools, and Openai’s swarm Users are required to carry their memory model.
Mike Mason, chief AI officer at Tech Consultancy Thoughtworks, told VentureBeat in an email that better proxy memory changes how companies use proxy.
“Memory transforms AI agents from simple responsive tools to dynamic adaptive assistants,” Mason said. “With it, agents have to rely entirely on what is provided in a meeting, limiting their ability to improve interaction over time.”
Better memory
Lasting memories in an agent may have different flavors.
Langchain collaborates with the most common types of memory: semantics and processes. Semantics refer to facts, while programs refer to processes or how tasks are performed. The company said agents already have good short-term memory and can respond in the current conversation thread. Langmem stores program memory as update instructions in prompts. Langmem relies on its rapid optimization work, determines the interaction pattern, and updates “System prompts to enhance effective behavior. This creates a feedback loop where the core of the agent indicates development based on observed performance.”
Researchers are working on ways to extend memory from AI models, so AI agents have found that agents with long-term memory can learn from errors and improve. one Paper Starting in October 2024, the concept of AI self-evolution has been explored through long-term memory, suggesting that models and agents will actually improve their memory the more they will remember. Models and agents are starting to adapt to more personal needs as they remember more custom instructions for longer.
In another paper, Rutgers researchers, the Ant Team and Salesforce launch new The memory system is called A-MEMbased on Zettelkasten notes. In this system, the agent creates a knowledge network for “more adaptive and context-aware memory management.”
Redis’s Singh says proxies with long-term memory capabilities, like hard drives, “hold a lot of information that persists in multiple tasks running or conversations, allowing agents to learn from feedback and adapt to user preferences.” This adaptability and self-learning enables organizations to keep the same agent on tasks long enough to complete tasks without re-proposing them.
Memory considerations
But that’s not enough to make the agent remember more. Singh said the organization must also decide agent Need to forget.
“When designing a memory management architecture, you have to make four advanced decisions: What type of memory do you store? How do you store and update memories? How do you retrieve relevant memories? How do you fade memories?” Singer said.
He stressed that businesses must answer these questions because ensuring that “agent systems maintain speed, scalability and flexibility are key to creating a fast, efficient and accurate user experience”.
Lambanin also said that organizations must be clear about the human Muster suit and the behaviors that should be learned through memory; what types of knowledge agents should be constantly tracked; and what triggers memory.
“At Langchain, we found it useful to first discover the features your agent needs to learn, map them to a specific memory type or method, and then implement them in your agent,” the company said in the company. Blog Posts.
Recent research and these new products represent only the beginning of tool set development to allow agents to remember longer lastingly. As businesses plan to deploy agents on a larger scale, memory provides companies with the opportunity to differentiate products.
Source link