---
name: "Add temporal context memory to agent workflows with Zep"
slug: "add-temporal-context-memory-to-agent-workflows-with-zep"
description: "Use Zep as an external context layer for agents that need to store events, assemble temporal graph context, and retrieve relevant memory before model calls."
github_stars: 4638
verification: "security_reviewed"
source: "https://github.com/getzep/zep"
author: "Zep"
publisher_type: "company"
category: "Integrations & Connectors"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "getzep/zep"
  github_stars: 4638
  npm_package: "@getzep/zep-cloud"
  npm_weekly_downloads: 463010
---

# Add temporal context memory to agent workflows with Zep

Use Zep as an external context layer for agents that need to store events, assemble temporal graph context, and retrieve relevant memory before model calls.

## Prerequisites

Zep Cloud account; Python SDK zep-cloud or TypeScript SDK @getzep/zep-cloud; agent runtime such as LangChain, LlamaIndex, AutoGen, or a custom agent service

## Installation

Use the upstream install or setup path that matches your environment:
- **Install UV** (if not already installed):
- uv sync

Requirements and caveats from upstream:
- **Python**: pip install zep-cloud
- This project uses [UV](https://github.com/astral-sh/uv) for Python package management with workspace features.
- Python 3.13+

Basic usage or getting-started notes:
- Visit [www.getzep.com](https://www.getzep.com/) to sign up for Zep Cloud, our managed service delivering intelligent agent context with <200ms latency, enterprise-grade scalability, and SOC2 Type 2 / HIPAA compliance....
- Zep offers comprehensive SDKs for multiple languages:
- **TypeScript/JavaScript**: npm install @getzep/zep-cloud

- Source: https://github.com/getzep/zep
- Extracted from upstream docs: https://raw.githubusercontent.com/getzep/zep/HEAD/README.md

## Documentation

- https://help.getzep.com

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/add-temporal-context-memory-to-agent-workflows-with-zep/)
