Letta Discord Bot Example banner
letta-ai letta-ai

Letta Discord Bot Example

Communication community

Description

An example Discord chatbot built on the Letta API, which uses a stateful agent (agent with memory) under the hood.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Stateful AI agent Discord chatbot template built with Letta

Letta Discord Bot Example

Deploy your own AI chatbot using Letta to create agents that can learn over time.

One-click deploy with Railway

Deploy on Railway

[!NOTE] You must also have a Discord app to use this app. Follow these [instructions](#-create-your-discord-app-and-set-your-variables) to create your Discord app.

📺 Video overview (watch on YouTube)

[![AI agents + Discord! Make a Discord chatbot with long-term memory using Letta](https://img.youtube.com/vi/HDyCAV-xuMw/0.jpg)](https://www.youtube.com/watch?v=HDyCAV-xuMw)

✨ Features

  • 🧠 [Letta](https://github.com/letta-ai/letta)

    • Formerly known as MemGPT, Letta is an open-source framework designed for building stateful LLM applications. Our Discord bot example showcases powerful core features of Letta.
  • Discord Bot

    • Interacts with your Discord server to send and receive messages.

      image
    • Interacts with you through Direct Messages (DMs) and send and receive messages.

      image

📦 What's included