MultiAgentMemory: Shared and Asymmetric Memory for Multi-Agent LangChain Workflows #32119
dmitrykazhdan
announced in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🧠 Feature Proposal:
MultiAgentMemory
for Multi-Agent LangChain AgentsProblem
Current LangChain memory implementations (e.g.,
ConversationBufferMemory
,ChatMessageHistory
) are well-suited for single-agent or single-chain applications. However, as LangGraph and multi-agent workflows are becoming more-and-more common, there's a growing need for multi-agent memory management.This can start with built-in abstraction for:
Proposed Solution Outline:
MultiAgentMemory
A memory module with the following properties:
MultiAgentMemory(agent_ids: List[str], config: Dict)
Fact
,Event
,ChatMessage
)Example Use Case
Consider a LangGraph flow simulating agents in a social deduction game:
This could enable new LLM workflows involving:
Integration Plan
If the maintainers agree on the design, I can:
MultiAgentMemory
underlangchain/memory/
BaseMemory
Happy to adapt based on feedback 🙏
Beta Was this translation helpful? Give feedback.
All reactions