Welcome to the MemGPT documentation!

memgpt llama

What is MemGPT?

MemGPT makes it easy to build and deploy stateful LLM agents. With MemGPT, you can build agents with:

  • Long term memory/state management
  • Connections to external data sources (RAG)
  • Defining and calling custom tools (aka. functions)

You can also use MemGPT to deploy a multi-agent, multi-user service.

MemGPT is an open source project under active development. If you'd like to help make MemGPT even better, come chat with the community on Discord and on GitHub. You can read more about the research behind MemGPT at

Getting started

Join the community