Chat Apps#
Discord#
The Discord bot lets an agent talk with people on Discord, with access to gptme’s tools.
Create an application in the Discord developer portal, add a bot, and copy its token.
Copy
.env.discord.exampleto.env.discordand setDISCORD_TOKEN. Optional settings includeDEFAULT_MODELandRATE_LIMIT.
See the bot’s README for running it and for all options.
WhatsApp#
gptme-whatsapp connects an agent to WhatsApp through whatsapp-web.js. Each incoming message runs gptme (or Claude Code) in the agent’s workspace, with a separate conversation per sender.
It needs Node.js 18+ and a phone to link. On first run it prints a QR code to scan under Linked Devices:
cd packages/gptme-whatsapp/node && npm install
GPTME_AGENT=myagent AGENT_WORKSPACE=/path/to/agent node index.js
Set ALLOWED_CONTACTS to restrict who can talk to the agent. See the package
README for the Claude Code backend and other options.