Skip to main content
The Python SDK provides a simple, Pythonic interface for working with Memvid memory files.

Installation

Requirements: Python 3.8+, macOS/Linux/Windows. Native bindings included.

Quick Start

Context Manager

API Reference

Framework Adapters

Embedding Providers

Local Embedding Models:

Entity Extraction

Session Recording

Record and replay agent sessions to debug RAG failures:

Error Handling

See Error Reference for complete documentation.

Environment Variables

Type Hints

The SDK includes full type hints for IDE support:

SDK Reference

Overview

Complete API reference with all methods

Querying

Search modes, filters, and retrieval patterns

Next Steps

SDK Recipes

Common patterns and recipes

Framework Integrations

LangChain, LlamaIndex, and more