# Zep

The Foundational Memory Layer for AI. Equip your agents with the knowledge to complete tasks, from the mundane to monumental.

- **Category:** artificial intelligence
- **Auth:** API_KEY
- **Tools:** 43
- **Triggers:** 0
- **Slug:** `ZEP`
- **Version:** 00000000_00

## Tools

### Add Fact Triple

**Slug:** `ZEP_ADD_FACT_TRIPLE`

Tool to add a manually specified fact triple (subject-predicate-object) to the Zep knowledge graph. Use when you need to add explicit relationships between entities. Returns a task_id to monitor processing status.

### Add Session Memory

**Slug:** `ZEP_ADD_SESSION_MEMORY`

Tool to add memory messages to a specified Zep session. Use when you need to store conversation history or context in a session.

### Add Thread Messages

**Slug:** `ZEP_ADD_THREAD_MESSAGES`

Tool to add chat messages to a thread in Zep and ingest them into the user knowledge graph. Use when you need to add conversation history to a thread - for best results, add messages on every chat turn in the order they were created.

### Clone Graph

**Slug:** `ZEP_CLONE_GRAPH`

Tool to clone a user or group graph with new identifiers in Zep. Use when you need to create test copies of user data, migrate user graphs to new identifiers, or set up template graphs for new users. This is an asynchronous operation that returns a task_id for tracking progress.

### Create Graph

**Slug:** `ZEP_CREATE_GRAPH`

Tool to create a new graph by adding data to Zep. Use when you need to add text, message, or JSON data to a user's graph or a specific graph. The data is processed and an episode node is created in the graph.

### Create Group

**Slug:** `ZEP_CREATE_GROUP`

Tool to create a new group in Zep for multi-user graph management. Use when you need to create a namespace for shared context across multiple users.

### Create Session

**Slug:** `ZEP_CREATE_SESSION`

Tool to create a new session in Zep for storing conversation memory. Use when you need to establish a new conversation context linked to an existing user. The user must be created first before creating a session.

### Create Thread

**Slug:** `ZEP_CREATE_THREAD`

Tool to create a new thread in Zep for a specific user. Use when you need to start a new conversation thread. The user must be created first before creating a thread. Zep automatically warms the cache for that user's graph data in the background to improve query latency.

### Create User

**Slug:** `ZEP_CREATE_USER`

Tool to create a new user in Zep with properties like user_id, email, and metadata. Use when you need to add a new user to the system. It is recommended to provide at least first_name and ideally last_name for better user association.

### Delete Graph

**Slug:** `ZEP_DELETE_GRAPH`

Tool to delete a graph from Zep. Use when you need to permanently remove a graph and all associated data.

### Delete Group

**Slug:** `ZEP_DELETE_GROUP`

Tool to delete a group from Zep. Use when you need to permanently remove a group and its associated data.

### Delete Session Memory

**Slug:** `ZEP_DELETE_SESSION`

Tool to delete a session and its memory from Zep. Use when you need to permanently remove all memory data associated with a specific session.

### Delete Thread

**Slug:** `ZEP_DELETE_THREAD`

Tool to delete a thread and its messages from Zep. Note that deleting a thread removes the thread and its messages from the thread history but does not delete associated data in the user's knowledge graph.

### Delete User

**Slug:** `ZEP_DELETE_USER`

Tool to delete a user and all associated threads and artifacts from Zep. Use when you need to permanently remove a user and handle Right To Be Forgotten requests. Deleting a user will delete all threads and thread artifacts associated with that user.

### Get Edge by UUID

**Slug:** `ZEP_GET_EDGE`

Tool to retrieve a specific edge by its UUID from the Zep knowledge graph. Use when you need to fetch detailed information about a relationship between nodes, including the semantic fact, connected nodes, and temporal metadata.

### Get Graph by ID

**Slug:** `ZEP_GET_GRAPH_BY_ID`

Tool to retrieve a graph by its unique identifier from Zep. Use when you need to fetch details about a specific graph including its name, description, and timestamps.

### Get Group by ID

**Slug:** `ZEP_GET_GROUP`

Tool to retrieve a group by ID from Zep. Use when you need to fetch detailed information about a specific group including its configuration and metadata.

### Get Node Entity Edges

**Slug:** `ZEP_GET_NODE_EDGES`

Tool to retrieve all entity edges for a specific node in the Zep knowledge graph. Use when you need to fetch relationship information, facts, and connections for a given node UUID.

### Get Project Info

**Slug:** `ZEP_GET_PROJECT_INFO`

Tool to retrieve project information based on the provided API key. Use when you need to fetch project details including UUID, name, description, and creation timestamp.

### Get Session by ID

**Slug:** `ZEP_GET_SESSION`

Tool to retrieve a session by its unique identifier from Zep. Use when you need to fetch details about a specific session including user association, timestamps, classifications, and metadata.

### Get Session Memory

**Slug:** `ZEP_GET_SESSION_MEMORY`

Tool to retrieve memory for a given session including relevant facts and entities. Use when you need contextual information and historical data from a session.

### Get Session Message by UUID

**Slug:** `ZEP_GET_SESSION_MESSAGE`

Tool to retrieve a specific message by UUID from a Zep session. Use when you need to fetch a single message's details by its unique identifier from a particular session.

### Get Session Messages

**Slug:** `ZEP_GET_SESSION_MESSAGES`

Tool to retrieve messages for a given session from Zep. Use when you need to fetch the message history for a specific session with optional pagination support.

### Get Task Status

**Slug:** `ZEP_GET_TASK_STATUS`

Tool to check the status of asynchronous operations in Zep. Use when monitoring batch adds, clone operations, or fact triple additions. Returns comprehensive task information including status, progress, timestamps, and error details if applicable.

### Get Thread Messages

**Slug:** `ZEP_GET_THREAD_MESSAGES`

Tool to retrieve conversation history for a specific thread from Zep. Use when you need to fetch the chat message history with optional pagination support via limit, cursor, or lastn parameters.

### Get Thread User Context

**Slug:** `ZEP_GET_THREAD_USER_CONTEXT`

Tool to retrieve the most relevant user context from the user graph based on thread messages. Use when you need to get context including memory from past threads that is most relevant to the current thread.

### Get User by ID

**Slug:** `ZEP_GET_USER`

Tool to retrieve a user by their user ID from Zep. Use when you need to fetch detailed information about a specific user including their profile, metadata, and configuration settings.

### Get User Node

**Slug:** `ZEP_GET_USER_NODE`

Tool to retrieve a user's graph node and summary from Zep. Use when you need to access the user summary generated from instructions, build custom context blocks, or retrieve facts and information associated with a specific user.

### Get User Nodes

**Slug:** `ZEP_GET_USER_NODES`

Tool to retrieve all nodes for a specific user from their graph in Zep. Use when you need to fetch entity information, preferences, and knowledge graph data for a user. Supports pagination via limit and uuid_cursor parameters.

### Get User Sessions

**Slug:** `ZEP_GET_USER_SESSIONS`

Tool to retrieve all sessions for a user from Zep. Use when you need to fetch session history for a specific user ID. Returns an array of session objects with metadata, classifications, and timestamps.

### Get User Threads

**Slug:** `ZEP_GET_USER_THREADS`

Tool to retrieve all threads for a specific user from Zep. Use when you need to fetch thread history for a specific user ID. Returns an array of thread objects with identifiers and timestamps.

### Graph Search

**Slug:** `ZEP_GRAPH_SEARCH`

Tool to perform hybrid graph search combining semantic similarity and BM25 full-text search across the Zep knowledge graph. Use when you need to search for entities, relationships, or episodes within a user, group, or specific graph. Supports various reranking methods and filtering options.

### List Graphs

**Slug:** `ZEP_LIST_GRAPHS`

Tool to retrieve all graphs from Zep with pagination support. Use when you need to fetch a list of graphs with optional pagination via page_number and page_size parameters.

### List Groups Ordered

**Slug:** `ZEP_LIST_GROUPS_ORDERED`

Tool to retrieve all groups from Zep with pagination support. Use when you need to fetch a list of groups with optional pagination via pageNumber and pageSize parameters.

### List Sessions Ordered

**Slug:** `ZEP_LIST_SESSIONS_ORDERED`

Tool to retrieve all sessions from Zep with pagination and ordering support. Use when you need to fetch a list of sessions with optional pagination via page_number and page_size parameters.

### List Threads

**Slug:** `ZEP_LIST_THREADS`

Tool to retrieve all threads from Zep with pagination support. Use when you need to fetch a list of threads with optional pagination and sorting via page_number, page_size, order_by, and asc parameters.

### List Users Ordered

**Slug:** `ZEP_LIST_USERS_ORDERED`

Tool to retrieve all users from Zep with pagination support. Use when you need to fetch a list of users with optional pagination via pageNumber and pageSize parameters.

### List All Threads

**Slug:** `ZEP_THREAD`

Tool to list all threads with pagination and ordering support. Use when you need to retrieve threads with optional pagination (page_number, page_size) and ordering (order_by, asc) parameters.

### Update Graph

**Slug:** `ZEP_UPDATE_GRAPH`

Tool to update graph information in Zep including name and description. Use when you need to modify graph properties after creation.

### Update Group

**Slug:** `ZEP_UPDATE_GROUP`

Tool to update group information in Zep including name, description, and fact rating instructions. Use when you need to modify an existing group's properties.

### Update Message

**Slug:** `ZEP_UPDATE_MESSAGE`

Tool to update a message in a Zep thread. Use when you need to modify message content, metadata, role, or other properties of an existing message. Particularly useful for adding or modifying metadata after a message has been created.

### Update Session Metadata

**Slug:** `ZEP_UPDATE_SESSION`

Tool to update session metadata in Zep. Use when you need to modify or add metadata to an existing session. Metadata is merged, so existing keys are preserved unless explicitly overwritten.

### Update User

**Slug:** `ZEP_UPDATE_USER`

Tool to update an existing user's information in Zep including email, metadata, and ontology settings. Use when you need to modify user properties after creation.
