Skip to content

Conversation

Boburmirzo
Copy link

@Boburmirzo Boburmirzo commented Aug 25, 2025

Summary

This PR adds a comprehensive cookbook example demonstrating how to integrate Memori (an open-source memory engine) with OpenAI Agents to create AI assistants with persistent memory capabilities. The example shows how to build agents that can remember past conversations, learn user preferences, and provide personalized responses across different chat sessions.

Motivation

Current OpenAI Agent examples lack persistent memory capabilities, which limits their usefulness in real-world applications where continuity and personalization are important. This cookbook addresses that gap by:

  • Filling a Documentation Gap: Provides the first comprehensive example of adding persistent memory to OpenAI Agents
  • Demonstrating Integration: Shows how to combine OpenAI Agents SDK with third-party memory solutions
  • Real-World Applicability: Enables building more sophisticated agents for customer support, personal assistants, learning companions, and research assistants
  • Educational Value: Teaches developers how to implement both short-term and long-term memory systems in their agents

The example enhances the OpenAI Cookbook by showing practical patterns for building stateful, memory-enhanced AI agents that can provide more intelligent and personalized user experiences.


For new content

When contributing new content, read through our contribution guidelines, and mark the following action items as completed:

  • I have added a new entry in registry.yaml (and, optionally, in authors.yaml) so that my content renders on the cookbook website.
  • I have conducted a self-review of my content based on the contribution guidelines:
    • Relevance: This content is related to building with OpenAI technologies and is useful to others.
    • Uniqueness: I have searched for related examples in the OpenAI Cookbook, and verified that my content offers new insights or unique information compared to existing documentation.
    • Spelling and Grammar: I have checked for spelling or grammatical mistakes.
    • Clarity: I have done a final read-through and verified that my submission is well-organized and easy to understand.
    • Correctness: The information I include is correct and all of my code executes successfully.
    • Completeness: I have explained everything fully, including all necessary references and citations.

We will rate each of these areas on a scale from 1 to 4, and will only accept contributions that score 3 or higher on all areas. Refer to our contribution guidelines for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant