letta-discord-bot
An example Discord chatbot built on the Letta API
letta-discord-bot-example
letta-ai/letta-discord-bot-example
Just deployed
Deploy and Host letta-discord-bot on Railway
An example Discord chatbot built on the Letta API, which uses a stateful agent (agent with memory) under the hood.
This Railway template deploys a Discord bot using the repo here: https://github.com/letta-ai/letta-discord-bot-example
About Hosting letta-discord-bot
You need a Discord bot application configured, and a Letta Cloud API key (or a self-hosted Letta server instance running somewhere).
Common Use Cases
- Discord chatbots
- More Discord chatbots
- Even more Discord chatbots
Dependencies for letta-discord-bot Hosting
- discordjs
Deployment Dependencies
See more deps here: https://github.com/letta-ai/letta-discord-bot-example
Implementation Details
Follow instructions here: https://github.com/letta-ai/letta-discord-bot-example
Why Deploy letta-discord-bot on Railway?
One-click deploy. To deploy yourself from source, check the linked GitHub repo.
Template Content
letta-discord-bot-example
letta-ai/letta-discord-bot-exampleAPP_ID
Your Discord application ID
PUBLIC_KEY
Your Discord public key
DISCORD_TOKEN
Your Discord bot token
LETTA_API_KEY
Your Letta Cloud API key (https://app.letta.com/api-keys). If self-hosting, this is your Letta server password if using a self-hosted server (can use a dummy value if you did not set a server password).
LETTA_AGENT_ID
The ID of your Letta agent that will drive the Discord chatbot. You need to have created this agent already on your Letta server.