FlockX & Zep AI
Enabling Real-World Connections through Advanced Memory Technology


FlockX, a startup based in Grand Rapids, Michigan, is tackling the challenge of transforming online interactions into meaningful, real-world connections through their AI-powered social platform. To enhance their platform's ability to provide personalized and context-aware user experiences, FlockX has integrated Zep AI's AI agent memory technology. Zep AI's memory layer equips FlockX's AI sidekicks with long-term memory, automatically storing and maintaining user preferences, social connections, and other user attributes. Zep intelligently grounds agents in the correct context, enabling FlockX to deliver more engaging and relevant interactions and ultimately foster deeper social connections within local communities.
Enhancing AI Sidekicks with Persistent Memory
FlockX's mission is to address the growing disconnect between online interactions and meaningful, real-world connections. Research has shown that chronic loneliness can have severe health implications, increasing the risk of dementia by 50% and heart disease by 29%. FlockX aims to combat this issue by building 'flocks' - groups of people and their AI sidekicks - that work together to foster authentic relationships in local communities. These AI sidekicks act as personal guides, offering activity recommendations, facilitating event planning, and fostering connections between users with shared interests. To achieve this vision, FlockX required a memory solution that could:
Send Zep a stream of chat messages & business data
Zep intelligently fuses data on a Knowledge Graph
Provide your agent accurate and relevant user facts with a single API call


Integrating Zep's Long-Term Memory Layer
Zep AI, a temporal knowledge graph-based memory layer for AI assistants, was the ideal solution to address FlockX's needs. By integrating Zep AI into their platform, FlockX gained access to:
Intelligent persistence of conversation and business data: Zep automatically, and intelligently builds a knowledge graph, an ideal data structure for modeling the complex world of FlockX where user preferences are learned and change over time, growing social networks, and many disparate social events for users to participate in.
Simple and accurate context retrieval: Zep’s high-level memory APIs make it simple to retrieve highly relevant and comprehensive context data for inclusion in an agent’s prompt. Zep also provides lower-level APIs to search the Zep graph, with sophisticated semantic and graph-based search approaches offered. These can be used by developers directly, or provided to an agent as tools.
Privacy and Security: Zep AI prioritizes data privacy, ensuring that sensitive user information is handled securely. This focus aligns with FlockX's commitment to user data protection, building trust and transparency within their platform.
Empowering AI Sidekicks with Context & Group Graphs
As users interact with FlockX, their actions, preferences, and conversations are used to construct personalized knowledge graphs within Zep AI. These graphs represent each user's unique social world, including their connections, interests, and past experiences.
In addition to individual user graphs, FlockX leverages Zep AI's Group Graphs to capture shared context and facilitate interactions within communities. Group graphs allow FlockX to create rich, shared knowledge representations that enhance the social experience and enable more meaningful connections.
Creating Group Graphs
Creating Group Graphs: To create a group graph, FlockX uses the graph.add() method, as demonstrated in the following code snippet:
Here, json_data represents the structured data that FlockX wants to add to the group graph, such as community information, shared interests, or event details. The group_id parameter identifies the specific group graph to which the data should be added.
Next, FlockX's AI sidekicks were upgraded to leverage Zep AI's memory capabilities. During conversations, the sidekicks utilize Zep AI to retrieve relevant facts and context from the user's knowledge graph, allowing them to provide informed responses and recommendations.
Enhanced User Experience and Social Engagement
The integration of Zep AI has significantly enhanced the FlockX platform, leading to:
Personalized Recommendations:
In addition to individual user graphs, FlockX leverages Zep AI's Group Graphs to capture shared context and facilitate interactions within communities. Group graphs allow FlockX to create rich, shared knowledge representations that enhance the social experience and enable more meaningful connections.
Engaging Conversations
AI sidekicks can now maintain context throughout conversations, remembering past discussions and referencing previous user input. This conversational depth creates more natural and engaging interactions, fostering stronger connections between users and their AI companions.
Improved Social Planning
Flocks, FlockX's private group chat feature, benefit greatly from Zep AI's memory capabilities. AI sidekicks can assist with group planning, suggesting activities that align with the collective interests of the flock, and even generating itineraries based on shared preferences.
Looking ahead
By continuously refining the understanding of user preferences and behaviors, the partnership aims to create a platform that seamlessly connects individuals with shared passions and drives meaningful, real-world interactions.
As part of its ongoing evolution, FlockX is also developing a no-code version of its platform. This new feature will enable anyone to create a knowledge agent that seamlessly connects to Zep, expanding its accessibility beyond community-focused use cases. By making AI-powered tools more accessible, FlockX hopes to empower more users to build engaging experiences that foster stronger connections and social interactions.