> ## Content Index
> Fetch the complete content index at: https://blog.getzep.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Building a Memory Agent with the OpenAI Agents SDK and Zep
- URL: https://blog.getzep.com/building-a-memory-agent-with-the-openai-agents-sdk-and-zep/
- Published: 2025-03-14T14:06:31.000Z
- Updated: 2025-03-14T14:06:31.000Z
- Description: A video walkthrough demonstrating using Zep's agent memory and the new OpenAI Agents SDK to build an AI agent with long-term memory.
- Author: Daniel Chalef

I've been experimenting with the new [OpenAI Agents SDK](https://openai.github.io/openai-agents-python/?ref=blog.getzep.com) and built a [memory agent using Zep](https://www.getzep.com/?ref=blog.getzep.com). In this video, I'll walk you through a quick demo of how I've integrated the framework and Zep to create a [memory agent CLI app](https://github.com/getzep/zep-python/tree/main/examples/openai-agents-sdk?ref=blog.getzep.com), demonstrate the dynamic updating of user preferences, and showcase Zep's memory capabilities.

### The new OpenAI Agents SDK

The new OpenAI Agents SDK provides a simple, nicely abstracted approach to build agentic applications without getting in your way. I found the SDK intuitive and lightweight, providing just enough structure to keep things clear and maintainable without becoming opaque or restrictive.

It boils down to three core concepts:

- **Agents**: LLMs equipped with instructions and tools.
- **Handoffs**: Easy delegation between agents for specialized tasks.
- **Guardrails**: Simple validation to ensure agent inputs stay on track.

These straightforward abstractions give you the flexibility to build complex, production-ready applications quickly. The framework has built-in tracing, making visualizing, debugging, and optimizing your agent simple. 

This example memory agent is intentionally simple, with no hand-offs between agents and no guardrails.

If you've been searching for a solid agent framework but haven't found one that works for you, I'd recommend checking out the new OpenAI Agents SDK.

### Next Steps

- Get the [Agent source on GitHub](https://github.com/getzep/zep-python/tree/main/examples/openai-agents-sdk?ref=blog.getzep.com)
- Learn more about [building with Zep](https://help.getzep.com/welcome?ref=blog.getzep.com)
- Read the [OpenAI SDK docs](https://openai.github.io/openai-agents-python/?ref=blog.getzep.com)
- Sign up for a [free Zep account](https://app.getzep.com/api/auth/register?ref=blog.getzep.com).