Welcome to GoodMem
GoodMem is the memory layer between your agents and their data — persistent, governed, searchable context served to any model.
GoodMem Documentation
GoodMem is the memory layer between your agents and their data. It turns documents, knowledge, and conversation history into persistent, searchable memory; manages embedders, rerankers, and LLMs as first-class resources you wire together at query time; and governs every request with a full authorization model.
Key Features
- Semantic Retrieval: Dense, sparse, and hybrid search with reranking and AI-powered summarization
- Multi-modal Memory: Text, image, audio, and video content
- Open Model Stack: First-class provider types for OpenAI, Alibaba Cloud Model Studio (DashScope), TEI, vLLM, llama.cpp, Cohere, Jina, and Voyage — hosted APIs or models you serve yourself
- Governed Access: Principals, roles, grants, and scoped API keys decide who can retrieve what, with auditable retrieval logging
- Flexible Chunking: Configurable text chunking strategies for optimal retrieval
- Real-time Streaming: Stream search results and AI-generated summaries
- Cloud Tuner (private beta): On GoodMem Cloud, the Retrieval Optimizer searches embedder and reranker combinations against your own corpus and queries, alongside embedder and reranker fine-tuning
OCR is available via the GoodMem OCR add-on service/image and is not included in the base install.
Get Started
Use a managed instance on GoodMem Cloud, or install a self-hosted
server with curl -s https://get.goodmem.ai | bash. The installer includes the server, the
Console, and the CLI.
Getting Started
Open an instance, upload your first document, and search from your browser
Install GoodMem
Install a self-hosted server on Linux, macOS, or Windows (WSL 2)
Client SDKs
Client libraries for Python, TypeScript, Java, Go, .NET, and Rust
Get Started with the CLI
Set up models, add a document, and search from the command line
Access Control
Principals, roles, grants, and API-key ceilings — who can see what, and why
Core Concepts
Spaces
Spaces are the fundamental storage units in GoodMem. All memories belong to a space, and each space can be configured with specific embedders and chunking strategies.
Memories
Memories are your stored content with associated metadata. They are automatically chunked and embedded for efficient retrieval.
Embedders
Embedders convert your content into vector representations. GoodMem supports multiple embedding providers and models.
Retrieval
Semantic search across your memories with AI-powered summarization and context-aware results.
Principals and Access Control
Every request is authenticated as a principal — a human user or a service identity — and authorized through roles, grants, and API-key ceilings. Start with the Security Model.
Architecture
GoodMem provides:
- gRPC APIs generated from Protocol Buffers for type-safe, efficient communication
- REST APIs that mirror the gRPC resource APIs
- Client SDKs generated from OpenAPI specifications in multiple languages
- CLI tool for command-line operations and administration
Learn how the runtime publishes ports and files in Server runtime footprint.