Documentation Index
Fetch the complete documentation index at: https://docs.memanto.ai/llms.txt
Use this file to discover all available pages before exploring further.
CrewAI + Memanto
crewai-memanto package.
By default, CrewAI agents lose context when a crew run ends. With Memanto, agents can store facts, decisions, and preferences — and recall them in future runs.
Important: We recommend explicitly settingmemory=Falseon your CrewAICrewobjects. This prevents CrewAI from auto-injecting its own temporary LanceDB memory tools, which can confuse agents when mixed with Memanto’s persistent memory tools.
How It Works
Prerequisites
- Python 3.10+
- Moorcheh API key (free tier: 100K ops/month)
- OpenRouter API key (for CrewAI’s LLM — free tier available)
Install
Quick Start
Thecrewai-memanto package provides pre-built tools that wrap Memanto’s SDK. You don’t need to make HTTP requests manually.
Available Tools
Thecreate_memanto_tools function returns a dictionary containing these pre-built CrewAI tools:
remember (MemantoRememberTool)
Allows agents to store a piece of information in long-term memory.
- Smart Categorization: The tool schema has definitions for all 13 Memanto memory types (e.g.,
fact,preference,observation) baked directly into the prompt. The LLM intrinsically understands how to categorize what it discovers without you needing to explicitly define the types in your CrewAITaskdescription. - Confidence Scoring: The agent is forced to actively evaluate its certainty on every memory it stores, assigning a mandatory confidence score between 0.0 (unverified) and 1.0 (objective fact).
- Capacity: Agents can store up to 10,000 characters per memory block.
recall (MemantoRecallTool)
Allows agents to search long-term memory for relevant information using semantic search. Best used when the agent needs raw memory items to reason over.
answer (MemantoAnswerTool)
Uses Memanto’s built-in RAG to synthesize a response directly from stored memories — no extra LLM call needed from your agent.
Tip: Useanswerwhen the agent needs a ready-to-use response, such as for a final task output or a direct reply to a user, and userecallwhen they just need the raw data.
Persistent Memory Across Runs
Because memories live in Memanto (not in-process), they persist between separate crew runs. Additionally, the integration handles all backend infrastructure automatically — you never need to manually provision databases or namespaces; the integration auto-creates the required secure Moorcheh namespaces the moment you initializeMemantoSetup.
agent_id ties memories together across runs.