This is a community-driven project and is not officially associated with Tembo. For developers interested in contributing or understanding the codebase, see the GitHub repository.
Features
- Create Tasks - Create new Tembo tasks with natural language prompts directly from Discord
- View Tasks - List and search through all your tasks with interactive pagination
- Repository Management - View connected repositories and their status
- Per-User Authentication - Each Discord user securely stores their own Tembo API key with AES-256-GCM encryption
- Works Anywhere - Use in Discord servers or DMs with user-installable bot support
- Autocomplete Support - Smart autocomplete for agents and repositories when creating tasks
Installation
1
Install Bot to Discord
Add the Tembo Discord bot to your server or user account by visiting the installation link. You can install it for personal use (works in DMs) or add it to a server you manage.

2
Get Your Tembo API Key
Sign up for a Tembo account at app.tembo.io if you haven’t already, then generate an API key from your Tembo dashboard under Settings → API Keys.
3
Register Your API Key
In Discord, run the The bot will validate your key, encrypt it, and store it securely. You’ll see a confirmation message with your account information.
/setup command with your API key:Usage
Creating Tasks
Use the/task create command to create new Tembo tasks from Discord. You can specify:
- Task prompt (required) - Natural language description of what you want to build or fix
- Agent model (optional) - Select from available Tembo agents with autocomplete
- Repositories (optional) - Choose which repository to work on with autocomplete
- Target branch (optional) - Specify the branch for the task

Viewing and Searching Tasks
List All Tasks
Use/task list to view your tasks with pagination:
Search Tasks
Use/task search to find specific tasks by keyword:

- Interactive pagination - Use Previous/Next buttons to navigate
- Adjustable page size - Set limit from 1-25 tasks per page
- Ephemeral responses - Add
ephemeral:trueto make responses visible only to you
Managing Repositories
View all your connected repositories:
Checking Your Status
Use/whoami to see your current Tembo account information:
/status to check if your API key is registered with the bot:
Best Practices
Writing Effective Task Prompts
When creating tasks through Discord, provide clear and specific descriptions: Good Examples:- “Fix memory leak in background job processor at workers/job-processor.ts”
- “Add email validation to user registration form using RFC 5322 standard”
- “Refactor authentication middleware to use async/await patterns”
- “Update homepage design to match Figma mockups in src/components/Home.tsx”
- “Fix the bug”
- “Improve performance”
- “Update the code”
Managing Your API Key
Registering Your Key
When you first use the bot, you’ll need to register your Tembo API key:- Validated against the Tembo API before storage
- Encrypted using AES-256-GCM encryption
- Stored securely in a Cloudflare D1 database
- Never shared with other users
Updating Your Key
To update your API key (for example, after rotation), simply run/setup again with your new key:
Removing Your Key
If you want to unregister and remove your API key from the bot:/setup to use the bot again.
Privacy and Ephemeral Messages
Most commands support anephemeral parameter. When set to true, the bot’s response is only visible to you:
- Viewing sensitive task information in public channels
- Checking your account status privately
- Listing repositories without sharing with others
Security
The Tembo Discord bot implements several security measures to protect your data: Per-User Authentication- Each Discord user maintains their own Tembo API key
- No cross-user access - your tasks and data remain private
- Keys are validated before storage
- API keys are encrypted with AES-256-GCM before storage
- Unique initialization vector (IV) and salt per encryption
- Master encryption key stored as a Cloudflare secret
- Additional authenticated data prevents tampering
- All Discord interactions are verified using Discord’s signature verification
- Prevents unauthorized requests and impersonation
- Implements Discord’s security best practices
- Bot only requests necessary Discord permissions (Send Messages, Use Slash Commands)
- Serverless architecture on Cloudflare Workers with no persistent servers
- All communication over HTTPS
Troubleshooting
Bot doesn’t respond to commands:- Verify the bot is added to your server or installed to your user account
- Check that you have registered your API key with
/setup - Ensure you’re using the correct command syntax (use
/to see available commands)
- Run
/setup key:YOUR_TEMBO_API_KEYto register your key - Verify your API key is valid by testing it at app.tembo.io
- Check
/statusto see your registration status
- This usually means the Tembo API is taking longer than expected
- Try the command again - the bot uses background processing to avoid timeouts
- Create a issue in the bot’s repo if the issue persists
- Verify you’re logged in to the correct Tembo account with
/whoami - Check that tasks exist in your Tembo dashboard
- Ensure your API key has the necessary permissions
- Check your Discord privacy settings allow DMs from server members
- The bot sends onboarding instructions via DM when you first try to use it
- If DMs are blocked, the bot will show instructions in the channel instead