In short.
This Mem0 documentation page helps Python developers building AI applications combine Mem0's lasting user memory with Respan's monitoring of language-model requests, but its examples do not demonstrate recall across sessions or actual cost savings. One approach directs Mem0's LLM requests through Respan; the other sends memory instructions through the OpenAI SDK. The SDK example includes the Mem0 API key in a request to Respan. Pricing, compatible package versions, storage configuration and detailed logging behavior are unspecified.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is the complete captured documentation page at [https://docs.mem0.ai/integrations/respan], including its integration text, setup, both examples and page metadata. Linked pages, GitHub sources, package contents and live services are excluded. The page carries no explicit licence or reuse notice, and no downloadable files accompany it. Nothing was executed; runtime correctness, persistence, retrieval quality, monitoring coverage and cost savings were not assessed.
The overview
Identity
This is Mem0's Respan integration documentation at [https://docs.mem0.ai/integrations/respan]. It describes Mem0 as a memory layer for LLM applications and Respan, formerly Keywords AI, as an observability service for inspecting model activity.
The resource is a coding guide with two integration approaches. Persistent memory means retaining useful information between conversations; observability means recording activity so developers can inspect application behavior.
Assessment
The guide provides a concrete starting point for connecting memory and monitoring in a Python AI application. Its useful details include the Respan endpoint, Mem0 configuration fields and the memory payload accepted through the SDK example.
Adoption requires further information about retrieval, storage, logging and costs. The page provides neither execution results nor a complete example of information being recalled in a later session.
Users
The guide fits developers building assistants that should remember preferences while making model activity inspectable. Its examples concern personal interests and movie preferences.
Beginners need familiarity with Python packages, environment variables and API keys. Experienced developers receive specific configuration and request fields, but no compatibility matrix or operational guidance for a production deployment.
Capabilities
The documentation describes storing and retrieving information from past interactions, maintaining context across sessions, and monitoring memory usage and retrieval patterns. It also claims efficient retrieval can reduce token usage.
The code illustrates adding a user-associated memory and submitting a chat completion with memory-addition parameters. It contains no explicit retrieval example, later-session recall, monitoring output or measured token reduction.
Using it
Requirements
The documented dependencies are the Python packages mem0ai and openai. Setup lists MEM0_API_KEY, RESPAN_API_KEY and RESPAN_BASE_URL, with the endpoint set to [https://api.respan.ai/api/]. The page links the Mem0 dashboard for obtaining its API key.
Python and package versions, embedding credentials, storage requirements and instructions for obtaining a Respan key are unspecified. The basic example reads the Mem0 key without subsequently using that variable; the SDK example includes it in the request.
Mechanism
The basic approach selects Mem0's openai LLM provider and supplies the Respan key and endpoint through api_key and openai_base_url. It initializes Memory.from_config(config), then calls memory.add with a user_id and metadata. This configures the LLM connection; it does not establish how storage or embedding operations are monitored.
The SDK approach constructs an OpenAI client using the Respan key and base URL. Its chat completion request includes extra_body.mem0_params containing a user_id, the Mem0 API key and add_memories.messages. The shown request therefore sends both conversation content and the Mem0 key to the Respan endpoint.
Setup
The installation command shown is pip install mem0ai openai. After supplying the documented environment variables, follow either the Memory.from_config approach or the OpenAI client approach.
The basic configuration names gpt-5-mini and sets temperature to 0.0. The SDK request names openai/gpt-4.1-nano. These are example settings; their availability and parameter compatibility are not established by execution evidence.
Example
The basic snippet adds a preference for weekend walks under user_id alice, with category metadata set to hobbies. It prints the result, but the page supplies no resulting output.
The SDK snippet supplies a four-message movie conversation in which the user prefers science fiction over thrillers. It passes those messages to add_memories under test_user and requests a chat completion. No subsequent request demonstrates that the preference was stored or recalled.
Assessment & evidence
Limitations
The basic example leaves embedding and storage configuration unspecified. Although it reads MEM0_API_KEY, it does not pass that variable to Memory.from_config or memory.add; the page does not explain its role in this approach.
The SDK example supplies memory-addition parameters without explicit retrieval settings. Automatic recall behavior, user isolation, deletion, failure handling and logging completeness are not established. The page also does not explain how Respan handles or redacts the Mem0 key included in the request.
Fit rationale
The guide is useful when an application needs both remembered user information and visibility into model activity: it provides concrete fields connecting those concerns through Respan.
Its strongest evidence concerns configuration and request structure. Claims about personalization, persistent recall and lower costs extend beyond what the examples demonstrate, so they cannot support performance or savings comparisons.
Alternatives
The two documented approaches offer different integration points. The Memory approach exposes an explicit memory.add call in application code. The SDK approach places memory-addition instructions inside a chat completion request to Respan.
The page links related AgentOps and OpenAI Agents SDK integrations, but their contents are outside this resource. Their capabilities, costs and suitability cannot be compared from this page.
Evidence
Mem0's documentation page [https://docs.mem0.ai/integrations/respan] supplies an overview, installation command, environment-variable setup and two Python examples. It is first-party documentation of the intended integration.
The page supplies no execution output, retrieval results, observability traces or quantified comparisons. The linked Respan documentation and GitHub repository provide no additional evidence here because their contents are excluded.
Access & freshness
Costs
Prices, free allowances, billing arrangements and usage limits for Mem0, Respan and model calls are unknown from this page.
The documentation claims memory retrieval can reduce token usage, but supplies no baseline, measurement or accounting of memory-processing costs. Net savings and total operating cost remain unknown.
Rights
This page contains no explicit licence or redistribution permission for its documentation or embedded examples. Its public GitHub link does not establish those permissions.
Commercial-use terms, conversation-data rights, retention rules and credential-handling terms for the services are not stated. These conditions remain unknown from this evidence.
Freshness
This page was captured on 15 November 2026. Its metadata reports a last modification of 4 September 2026; that timestamp describes the page, not a package release.
Neither dependency is version-pinned. Compatibility with currently available SDKs, endpoint behavior and model settings is unknown.
Next steps
Choose the integration point that matches the application, then confirm its supported package versions, model settings and storage requirements. For the SDK approach, establish how Respan handles the Mem0 key and conversation data sent in the request.
An evaluation should add a non-sensitive preference, attempt recall in a fresh session and inspect the corresponding Respan records. Obtain service pricing and compare total usage before relying on savings claims. These are suggested next steps; no execution results are available.
