Skip to content

Conversation

@Teeeio
Copy link
Contributor

@Teeeio Teeeio commented Nov 4, 2025

PR Category

Core

PR Types

New Features
Improvements

PR Description

implement short-term memory (InMemoryMemory) with in-memory storage
implement long-term memory (Mem0LongTermMemory) using mem0 for vector retrieval
add MemoryManager for unified short/long-term orchestration and diagnostics
provide MemoryToolkit and register_memory_tools for ToolRegistry integration
add YAML-based configuration and loader (env + file), with ModelFactory
support embedding dimension adaptation (config.dimensions → vector store)

implement short-term memory (InMemoryMemory) with in-memory storage
implement long-term memory (Mem0LongTermMemory) using mem0 for vector retrieval
add MemoryManager for unified short/long-term orchestration and diagnostics
provide MemoryToolkit and register_memory_tools for ToolRegistry integration
add YAML-based configuration and loader (env + file), with ModelFactory
support embedding dimension adaptation (config.dimensions → vector store)
@Teeeio Teeeio requested a review from a team as a code owner November 4, 2025 10:09
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a comprehensive memory module for the agent, including short-term (in-memory) and long-term (vector-based via mem0) capabilities, along with configuration management and tool integration. The overall structure is well-designed. However, I've identified a critical issue in the custom adapters for mem0 where asyncio.run() is used unsafely, which could lead to runtime crashes. I've also found an incorrect value in the example YAML configuration that would cause API errors. My review includes suggestions to fix these issues to ensure the stability and correctness of the new memory module.

@Teeeio Teeeio changed the title feat(memory): add Agent memory module with docs and config feat(memory): add Agent memory module Nov 5, 2025
@CLAassistant
Copy link

CLAassistant commented Nov 18, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants