memgpt-agent

memgpt-agent

3.3

MemGPT Sample is a proof of concept project implementing the MemGPT research paper as an agent, showcasing integration as a REST service or MCP server.

The MemGPT Sample project is a demonstration of the MemGPT concept, implemented using Spring Boot and Spring AI. It provides functionality as both a REST service and an MCP server, allowing for flexible integration. The project includes a simple ChatBot command line application that can interact with the agent through these interfaces. The core-agent component defines and implements the MemGPT interfaces, managing configuration, state, and core functions such as message compilation, LLM communication, and memory management. The project is structured into sub-projects, including core-agent, restful-agent-app, memgpt-mcp-server, and simple-chat-bot-app, each serving a specific role in the overall architecture.

Features

  • REST and MCP Integration: Offers both REST and MCP server interfaces for flexible integration.
  • Core Agent Functionality: Manages configuration, state, and core functions like message compilation and memory management.
  • ChatBot Application: Command line application for interacting with the agent via REST or MCP interfaces.
  • Archival Memory: Supports archival memory with vector store and embeddings model, configurable via Spring profiles.
  • Tool Calling and LLM Communication: Facilitates tool calling and communication with LLMs for enhanced functionality.

Usage with Different Platforms

mcp

bash
java -jar ./memgpt-mcp-server/build/libs/memgpt-mcp-server-0.0.1-SNAPSHOT.jar

rest

bash
java -jar ./restful-agent-app/build/libs/restful-agent-app-0.0.1-SNAPSHOT.jar

chatbot

bash
java -jar ./simple-chat-bot-app/build/libs/simple-chat-bot-app-0.0.1-SNAPSHOT.jar