In short.
Mem0's CrewAI guide is a tutorial for Python developers adding remembered preferences to AI agents, but its example depends on Mem0, OpenAI and Serper services without specifying prices or compatible package versions. It retrieves memories for a user before starting a CrewAI task. The example uses one agent and saves only a destination note after planning. Runtime correctness, memory persistence and recommendation quality remain untested.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete selected documentation page at [https://docs.mem0.ai/integrations/crewai], including all code snippets, feature claims and the compatibility notice. Linked documentation, repositories, service dashboards and other integration guides are excluded. ExternalMemory is described only as an option named by this page. The example remains unexecuted; installation, service behavior, persistence, compatibility and output quality were not assessed.
The overview
Identity
This is the CrewAI integration tutorial published in Mem0's documentation [https://docs.mem0.ai/integrations/crewai]. It explains a Python application pattern combining Mem0's memory service, CrewAI agents and tasks, and Serper web search.
The worked example is a travel planner that receives saved user preferences before generating recommendations.
Assessment
The guide offers a concrete starting pattern for developers who want to control when saved preferences enter a CrewAI task. Its small functions make the storage, retrieval and task-construction steps easy to inspect.
Adoption requires assembling Python snippets and configuring external services. The page supplies no generated itinerary, execution results or measurements establishing that personalization improves the output.
Users
The clearest audience is Python developers building preference-aware CrewAI applications, particularly travel or recommendation assistants. Beginners need enough Python knowledge to install packages, set environment variables and combine functions.
Experienced developers can use the example to evaluate explicit memory retrieval and application-controlled writes. Multi-agent coordination and large-scale deployment are not demonstrated.
Capabilities
The snippets cover submitting conversation messages to Mem0, searching memories with a user_id filter, inserting returned memory text into a task, and giving a travel agent access to SerperDevTool.
Mem0 is presented as supporting preferences across sessions. The example itself contains one agent, one task and a sequential crew; it provides no cross-session execution trace or scaling results.
Using it
Requirements
The documented setup needs Python, pip, the crewai, crewai-tools and mem0ai packages, and API credentials for Mem0, OpenAI and Serper. The environment variables are MEM0_API_KEY, OPENAI_API_KEY and SERPER_API_KEY.
Minimum Python version, operating-system support and compatible package versions are unspecified. The example does not explicitly configure a language model, leaving its effective model and related limits unknown.
Mechanism
Memory here means searching saved information and supplying it as text to a new task. The application submits role-and-content messages through client.add with a user_id. Before planning, client.search retrieves matching memories using that user's identifier.
The context helper reads memory fields from the response's results list and combines them into task context. CrewAI then executes the task through crew.kickoff(). Mem0 persistence is managed outside the crew, so this example omits memory=True and memory_config.
Setup
The installation command shown is pip install crewai crewai-tools mem0ai. Configuration imports MemoryClient, CrewAI's Agent, Task, Crew and Process classes, and SerperDevTool, then initializes MemoryClient().
The remaining snippets define preference storage, context retrieval, a travel agent, a personalized planning task and a sequential crew. The agent has search access and delegation disabled. The API-key values shown are placeholders that require actual credentials.
Example
The sample conversation records a preference for beaches over mountains and Airbnb over hotels under crew_user_1. The example then calls plan_trip for San Francisco using that same identifier.
The function searches for travel preferences relevant to the destination and asks the agent to recommend accommodation, food and places to visit. A personalized list is the requested output; no actual output is included. After execution, the function submits only a short message recording the trip destination.
Assessment & evidence
Limitations
The post-task write does not save the generated itinerary, assistant response or a complete new conversation. Applications needing those records would require additional storage logic.
The retrieval helper assumes a dictionary response containing a results list with memory fields. Error recovery, retries, memory updates and deletion are not shown. The user_id filter illustrates retrieval scoping without establishing authentication or isolation guarantees.
The example was not executed. Installation success, API compatibility, persistence, retrieval accuracy, latency and output quality remain unverified.
Reasoning
The useful architectural choice is explicit control over memory: the application chooses the search query, supplies retrieved text to the task and decides what to save afterward. This makes the connection between saved preferences and task context visible.
That control also leaves memory handling in application code. Developers must decide how to manage identity, failures, changing preferences and future writes. These are implications of the shown structure, not measured performance findings.
Alternatives
The page identifies CrewAI's ExternalMemory API as another native route to Mem0 and points to CrewAI's memory documentation [https://docs.crewai.com/en/concepts/memory]. Its required configuration and supported releases are not established by the selected page.
The page also links Mem0 integrations for AutoGen and LangGraph. Those guides are outside this resource's scope, and no comparison establishes which framework or memory approach is preferable.
Evidence
The source is Mem0's own documentation, including explanatory prose, Python snippets and a CrewAI compatibility notice [https://docs.mem0.ai/integrations/crewai]. Its edit link identifies docs/integrations/crewai.mdx in the mem0ai/mem0 repository.
The page supports an explanation of the intended architecture. It contains no execution logs, generated results, retrieval metrics, benchmarks or independent evidence establishing its personalization and scalability claims.
Access & freshness
Costs
Operating cost is unknown. The example uses separately configured memory, language-model and search services, but the page gives no prices, quotas, free allowances or per-trip estimate.
It also specifies neither model choice nor actual token, search or memory usage. No cost-saving claim is supported by measurements in this tutorial.
Rights
The page links the Mem0 GitHub repository but supplies no explicit licence terms for the documentation or example snippets. Redistribution permissions and applicable commercial-use terms are unknown from this page.
Service terms covering stored conversations, data retention, deletion and generated outputs are also unspecified.
Freshness
The page metadata records a modification date of 4 September 2026. The supplied page was captured on 24 November 2026.
Its notice says newer CrewAI versions removed the older Mem0 provider shortcut in memory_config. The tutorial uses explicit MemoryClient calls, but names no affected releases or compatible version range. Compatibility with any particular installed release remains unknown.
Actions
Before adoption, identify and pin the intended package versions, confirm the search-response structure, and establish applicable service charges and data terms.
Evaluate the pattern with sample preferences: check persistence across sessions, correct user scoping and behavior when retrieval returns no memories. Decide what interactions the application needs to preserve, since the supplied writeback records only the destination.
