Zep Feature Retirements: May 2025

Several features will be retired after May 31, 2025. Read this post for important information on migrating to alternatives.

Zep Feature Retirements: May 2025

Now that we've moved to Zep's new graph memory, we'll be retiring several Zep features on May 31, 2025.

What’s Changing

Below is a quick overview of the features being retired, along with their recommended alternatives to help you transition smoothly:

FunctionSDK MethodRecommended Alternative
Search memorymemory.searchgraph.search
Search sessions for querymemory.search_sessionsgraph.search
Update a sessionmemory.update_session
End a sessionmemory.end_session
End sessionsmemory.end_sessions
Session summariesmemory.get_summariesmemory.get.context
Update message metadatamemory.update_message_metadata
Synthesize a questionmemory.synthesize_question
Retrieve fact by UUIDmemory.get_factgraph.edge.fact
Delete fact by UUIDmemory.delete_factgraph.edge.delete
Return facts for sessionmemory.get_session_factsmemory.get.relevant_facts
Add facts to a sessionmemory.add_session_factsgraph.add_fact_triple
Retrieve user factsuser.get_factsgraph.edge.get_by_user_id
Retrieve group factsgroup.get_factsgraph.edge.get_by_group_id
Document Collectionsall

With the retirement of memory.search and memory.session_search, searching for chat messages will no longer be supported. We recommend using node summaries instead, as they provide a richer and more accurate context for agents.

Facts and Fact Ratings Changes

We're removing several session-level memory attributes. The fact_rating_instruction, facts, and fact_instruction attributes will no longer be supported when creating sessions. Fact Ratings may now be applied when creating Users and Groups.

Timestamp values

The updated_at attribute is being removed from input values—developers should use created_at for ordering instead.

Session Summaries and Summary Instructions

Session Summaries are now deprecated, and so too is the ability to set a summary_instruction.

Please search for node summaries as an alternative.

Session Search and min_score

Users now have a user-level graph and facts instead of session-level facts. As a result, search_sessions and search are deprecated.

Zep's graph search now runs through a multi-stage pipeline with preset minimum scores at each stage, making the min_score attribute obsolete.

Metadata

Metadata for User, Session, and Message entities is now deprecated and will soon be replaced with new functionality. We'll share more details on this in late Q1 2025.

Document Collections

With the availability of many high-quality RAG services, we're deprecating Zep's Document Collections functionality. If needed, you can add document chunks to User or Group graphs using graph.add with type = text.

How to Migrate

  1. Upgrade to SDK v2.5+ – Ensure you’re using the latest Python or TypeScript SDK.
  2. Update Your Code – Replace deprecated features with the alternatives listed above.
  3. Test Before May 31, 2025 – Verify that your integration works smoothly before the cutoff.

Need Help?