Embed a Zep integration in your product
Add Zep to your product for your customers, and give your AI agents governed access to it.
Zep is where an AI application keeps what it already knows about a person. Messages go into a thread against a user, and Zep folds them into a temporal knowledge graph whose nodes are entities and whose edges are the facts connecting them, then hands back a context block holding a summary of that user and the facts most relevant to the conversation in front of them. The temporal part is what makes it worth embedding rather than reimplementing: when something changes, the superseded fact is marked invalid from a date instead of being deleted, so an application can answer what is true now and still show what was true in March. Custom entity types let each customer shape what gets extracted, which turns the graph into a per-tenant schema question rather than a fixed one. Every customer connects their own project and key, so their memory sits under an account they own, and fastn keeps the credentials and the client current.
In your product
Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.
- Let each customer connect their own Zep project so the memory your product accumulates about their users stays in an account they own and pay for.
- Add messages to a thread as a conversation happens and let the graph build itself, rather than maintaining a summary table nobody trusts.
- Retrieve the context block before a model call, so an answer is grounded in what your product learned months ago and not only in the last few turns.
- Define custom entity types per customer, because what is worth extracting from a conversation differs between one deployment and the next.
For your AI agents
Governed, audited access for the agents you build, through the MCP server.
- An agent recalls something a user said weeks ago and cites the fact along with the date it became true.
- An agent writes a new fact into the graph within scoped permissions, attributed to the tenant that authorised it.
- An agent notices a stored fact has been superseded and says what replaced it instead of repeating the stale one.
Example prompt
What do we already know about this user, and which of those facts are still valid today?
Set up Zep in 4 steps
- 01Enable the Zep connector in your fastn dashboard.
- 02Have each customer supply a key for their own Zep project, so their users' memory is held under their account.
- 03Decide which users and threads your product writes, declare any custom entity types you depend on, and choose where the context block is fetched.
- 04Call it from your product and expose the same connection to your agents through the MCP gateway.
Why teams use the Zep integration
- Ship a Zep integration without building it. Your customers connect their own Zep account inside your product and work their records, datasets and fields there, and nothing lands on your team.
- Handle the part that actually costs time: schemas differ per customer and change without notice, and volumes can be large. fastn handles the auth, token refresh, rate limits and pagination, and when Zep changes, its maintainer agent proposes a tested fix, so a Zep update does not start in your backlog.
Used by these teams
Compare with
Works well with
Often used alongside
Tools the same teams tend to run next to Zep, across other categories.
More in Data & Storage
Other Data & Storage apps your customers can connect the same way. All Data & Storage integrations
Zep integration FAQ
Can AI agents use this Zep integration?
Yes, through the fastn MCP gateway, scoped per customer and audited. An agent recalls something a user said weeks ago and cites the fact along with the date it became true. For example: "What do we already know about this user, and which of those facts are still valid today?"
Does the Zep integration adapt when a customer's schema changes?
Schema and field mapping is configuration per customer, so a change on their side is a mapping update rather than a code change and a release on yours.
How are large Zep reads handled?
Pagination and throttling are handled for you, and initial backfills are rate-limited so a large import does not exhaust a customer's API allowance.
What can I build with the Zep integration?
A common starting point: let each customer connect their own Zep project so the memory your product accumulates about their users stays in an account they own and pay for. The use cases above list the rest.
Add Zep to your product
Start free with 3 customer connections. No sales call required, and no per-customer integration code.