Memory API with Honcho as a custom storage backend.
What We’re Building
- CrewAI orchestrates agents, tasks, and memory recall.
- Honcho persists CrewAI memory records and exposes additional context, search, and reasoning tools.
CrewAI currently supports Python
>=3.10,<3.14; use one of those interpreters when installing this integration.Setup
Install the packages:environment="local".
CrewAI Memory Storage
HonchoMemoryStorage implements CrewAI’s current StorageBackend protocol and can be passed directly to Memory(storage=...).
Python
HonchoStorage is still available as a compatibility adapter for older CrewAI ExternalMemory integrations, but new projects should use HonchoMemoryStorage.CrewAI Tool Integration
Honcho also provides tools that let agents explicitly retrieve memory:HonchoGetContextToolretrieves session context with token limits.HonchoDialecticToolqueries Honcho’s representation of a peer.HonchoSearchToolperforms semantic search over session messages.
Python
When To Use Each
UseHonchoMemoryStorage when you want CrewAI to handle recall automatically through the unified memory system.
Use the Honcho tools when the agent should decide when and how to query memory, search messages, or ask Honcho for a peer-level representation.
You can combine both: unified memory for baseline context, tools for targeted retrieval. See the hybrid memory example for a complete implementation.
Related Resources
Honcho Architecture
Understand Honcho’s peer-based model and core primitives
Get Context
Learn about retrieving and formatting conversation context
Chat API
Query peer representations for deeper understanding
LangGraph Integration
Build stateful agents with LangGraph and Honcho