tooluniverse.memory_manager module¶
Memory Manager for Multi-Agent Systems Manages session-based memory for multi-agent workflows
- class tooluniverse.memory_manager.MemoryManager[source]¶
Bases:
objectManages session-based memory for multi-agent systems.
- update_session_context(session_id, updates)[source]¶
Update the context dictionary for an existing session.
- add_agent_result(session_id, agent_name, result, phase=None)[source]¶
Record an agent execution result in the session history.
- get_context_for_agent(session_id, agent_name)[source]¶
Build a JSON context string suitable for passing to an agent.