> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MemGPT

<img src="https://mintcdn.com/ag2ai/Ud6uRptdjz7Ptn7b/docs/ecosystem/img/ecosystem-memgpt.png?fit=max&auto=format&n=Ud6uRptdjz7Ptn7b&q=85&s=56d224575ca27b8acd64855ac740f557" alt="MemGPT Example" width="256" height="254" data-path="docs/ecosystem/img/ecosystem-memgpt.png" />

MemGPT enables LLMs to manage their own memory and overcome limited context windows. You can use MemGPT to create perpetual chatbots that learn about you and modify their own personalities over time. You can connect MemGPT to your own local filesystems and databases, as well as connect MemGPT to your own tools and APIs. The MemGPT + AG2 integration allows you to equip any AG2 agent with MemGPT capabilities.

* [MemGPT + AG2 Documentation with Code Examples](https://memgpt.readme.io/docs/autogen)

<div className="edit-url-container">
  <a className="edit-url" href="https://github.com/ag2ai/ag2/edit/main/website/docs/ecosystem/memgpt.mdx" target="_blank"><Icon icon="pen" iconType="solid" size="13px" /> Edit this page</a>
</div>
