Using the Letta Telegram Bot
The Letta Telegram Bot (@letta_ai_bot) lets you chat with your Letta agents directly through Telegram, bringing persistent memory and intelligent conversations to your favorite messaging app.
Communications with Letta agents using the Telegram bot will modify the agent’s state everywhere that Letta agents are available — for example, you will see the Telegram messages appear in Letta’s ADE.
New Features:
- Memory Management - View and inspect your agent’s memory blocks with
/blocks
and/block
- Agent Templates - Quick-start with preconfigured agents using
/template
- Reasoning Control - Toggle agent thought visibility with
/reasoning enable/disable
- Proactive Notifications - Allow agents to send you messages with
/telegram-notify
- Enhanced Navigation - Comprehensive help system and quick reference commands
Getting Started
Step 1: Find the Bot
Open Telegram and search for @letta_ai_bot or visit t.me/letta_ai_bot directly.
Step 2: Start Your First Conversation
Send /start
to the bot. You’ll receive an interactive welcome with buttons to guide you through setup.
Step 3: Connect Your Letta Account
You’ll need a Letta API key to use the bot:
-
Get Your API Key:
- Go to app.letta.com
- Sign in or create a free account
- Navigate to Settings → API Keys
- Create a new API key and copy it
-
Login to the Bot:
The bot will immediately delete your message for security and confirm successful authentication.
Step 4: Select an Agent
View your available agents:
Select an agent to chat with:
Step 5: Start Chatting
Once you’ve selected an agent, just send any message to start your conversation.
Essential Commands - Complete Reference
This comprehensive guide covers all available Telegram bot commands, organized by category for easy navigation. Commands marked with (star) are essential for getting started.
Quick Navigation:
- Authentication Commands - Login, logout, status
- Agent Management Commands - Agents, projects, templates
- Tool Management Commands - Attach/detach tools
- Shortcut Commands - Quick agent switching
- Memory Management Commands - View memory blocks
- Notification Management Commands - Proactive messages
- Preference & Settings Commands - Reasoning, refresh, preferences
- Help Commands - Get assistance
Authentication Commands
/start
(star) - Welcome and Setup Guide
Opens the interactive setup wizard for new and returning users.
Behavior:
- For new users: Shows welcome message with link to get API key
- For authenticated users: Shows welcome back message
Example Output (New User):
Example Output (Returning User with Agent):
Example Output (Returning User, No Agent):
/login <api_key>
(star) - Authenticate with Letta
Connects your Letta account to the Telegram bot. Your API key is immediately deleted from chat history for security.
What it does:
- Validates your API key with Letta’s servers
- Encrypts and stores your credentials securely
- Deletes the message containing your API key
- Confirms successful authentication
Example Command:
Expected Output (Success, Has Agents):
Expected Output (Success, No Agents):
Expected Output (Invalid Key):
/logout
- Remove Stored Credentials
Completely removes your stored API key and preferences from the bot.
What it does:
- Deletes your encrypted credentials
- Clears your agent selections
- Removes all stored preferences
Expected Output:
/status
- Check Authentication Status
Shows your current authentication status and configuration.
Expected Output (Authenticated):
Expected Output (Not Authenticated):
Agent Management Commands
/agents
(star) - List Available Agents
Shows all agents in your current project with their IDs.
Expected Output:
/agent
- Show Current Agent
Displays information about your currently selected agent.
Expected Output (Agent Selected):
Expected Output (No Agent):
/agent <id>
(star) - Select an Agent
Switches to a specific agent for your conversation.
Example Command:
Expected Output (Success):
Expected Output (Not Found):
/ade
- Agent Development Environment
Provides a direct link to edit your current agent in Letta’s web interface.
Expected Output:
Project Management Commands
/projects
- List All Projects
Shows all projects in your Letta workspace.
Expected Output:
/project
- Show Current Project
Displays information about your current project.
Expected Output:
/project <id>
- Switch Project
Changes to a different project, which changes the available agents.
Example Command:
Expected Output:
Tool Management Commands
/tool
- Interactive Tool Management
Opens an interactive menu for managing tools attached to your agent.
Expected Output:
Attach Menu (with pagination): Selecting “attach new tools” shows available tools with navigation:
Detach Menu: Selecting “detach tools” shows all attached tools:
/tool attach <name>
- Direct Tool Attachment
Directly attaches a tool without using the interactive menu.
Example Command:
Expected Output (Success):
Expected Output (Already Attached):
Expected Output (Not Found):
/tool detach <name>
- Direct Tool Removal
Directly removes a tool without using the interactive menu.
Example Command:
Expected Output:
Shortcut Commands
/shortcut
- List Saved Shortcuts
Shows all your quick-access shortcuts.
Expected Output:
/shortcut <name> <agent_id>
- Create Shortcut
Creates a quick-access shortcut for an agent.
Example Command:
Expected Output:
/switch <name>
- Quick Switch
Instantly switches to an agent using its shortcut.
Example Command:
Expected Output:
/shortcut delete <name>
- Remove Shortcut
Deletes a saved shortcut.
Example Command:
Expected Output:
Help Commands
/help
- Command Reference
Shows a concise list of all available commands.
Expected Output:
Memory Management Commands
/blocks
- List Memory Blocks
Shows all memory blocks for your current agent with their labels and character usage.
Expected Output:
/block <label>
- View Memory Block
Displays the contents of a specific memory block.
Example Command:
Expected Output:
Expected Output (Block Not Found):
Template Management Commands
/template
- List Agent Templates
Shows available agent templates for quick agent creation.
Expected Output:
/template <name>
- Create Agent from Template
Creates a new agent using a predefined template.
Example Command:
Expected Output (Success):
/make-default-agent
- Create Default Agent
Creates a simple Ion agent when you have no agents configured.
Expected Output:
Notification Management Commands
/telegram-notify
- Manage Proactive Notifications
Controls whether your agent can send proactive notifications via Telegram.
Usage Options:
/telegram-notify
or/telegram-notify status
- Check current status/telegram-notify enable
- Allow proactive notifications/telegram-notify disable
- Disable proactive notifications
Expected Output (Status):
Expected Output (Enable):
Expected Output (Disable):
Preference & Settings Commands
/reasoning enable|disable
- Control Reasoning Messages
Controls whether you see your agent’s internal reasoning/thought processes.
Example Commands:
Expected Output (Enable):
Expected Output (Disable):
What are reasoning messages? When enabled, you’ll see messages like:
When disabled, you’ll only see the agent’s final responses, not their internal thinking process.
/refresh
- Update Cached Agent Info
Updates the bot’s cached information about your current agent (name, etc).
Expected Output:
Expected Output (No Changes):
/clear-preferences
- Reset User Preferences
Clears all your stored preferences and settings (debug command).
Expected Output:
Expected Output (No Preferences):
Understanding Your Agents
What Are Letta Agents?
Letta agents are AI assistants with persistent memory. Unlike regular chatbots, they:
- Remember Everything: Your conversation history is preserved across sessions
- Maintain Context: They understand references to previous discussions
- Use Tools: Can search the web, run calculations, and more
- Have Personalities: Each agent can have unique traits and knowledge
Managing Multiple Agents
You can create different agents for different purposes:
- Personal Assistant: General help and task management
- Research Agent: Specialized in finding and analyzing information
- Creative Partner: Focused on brainstorming and creative work
- Study Buddy: Helps with learning and retention
Switch between agents anytime with /agent <id>
or use shortcuts for quick access.
Agent Templates
When you first connect your Letta account or need to create new agents, the bot offers quick-start templates to get you up and running immediately.
Available Templates
Ion: Advanced AI assistant with sophisticated memory architecture
- Features 6 specialized memory blocks for comprehensive understanding
- Adapts to your communication style and remembers preferences over time
- Professional yet conversational, matching your energy level
- Includes memory management tools for continuous learning
- Perfect for users who want an intelligent, adaptive assistant
Using Templates
Templates appear as buttons when you first login or when you have no agents:
Simply tap the Ion button to instantly create and configure a new agent with advanced memory capabilities and adaptive personality.
Ion’s Advanced Memory System
Ion features a sophisticated 6-block memory architecture that enables deeper, more contextual conversations:
Core Memory Blocks:
- Persona: Ion’s adaptive personality that evolves to complement your communication style
- User Profile: Dynamic profile that learns your preferences, interests, and patterns
- Memory Directives: Guidelines for how Ion manages and updates its memory
- Interaction Patterns: Tracks your communication preferences and response styles
- Knowledge Graph: Builds semantic connections between topics you discuss
- Temporal Context: Understands time-based patterns and routines in your life
Key Features:
- Proactive memory management using specialized tools
- Natural learning through conversation without interrogation
- Cross-conversation context retention
- Adaptive personality that matches your energy level
- Professional communication without excessive enthusiasm
Ion is designed to be your intelligent, adaptive assistant that gets better at helping you over time.
Advanced Features
Interactive Navigation
The bot uses interactive buttons throughout for easier navigation:
- Command responses include relevant action buttons
- Menu systems for tools, agents, and projects
- Pagination controls for long lists
- Quick actions accessible without typing commands
Example interactive flow:
Using Tools
Your agents can use various tools to help you:
Web Search: Agents can search the internet for current information
View Available Tools:
Attach New Tools:
Navigation and Pagination
The bot automatically handles large lists with pagination:
Agent Lists: Shows 5 agents per page with next/previous buttons Tool Attachment: Shows 8 tools per page when attaching Tool Detachment: Shows all attached tools (no pagination) Projects: Paginated display for multiple projects
Creating Shortcuts
Save time with shortcuts for frequently used agents:
Create a Shortcut:
Use Shortcuts:
Working with Projects
Organize your agents by project:
List Projects:
Switch Projects:
Privacy and Security
Your Data Is Protected
- API Key Encryption: Your API key is encrypted on the bot server with a unique key
- Isolated Access: You can only see your own agents and data
- Secure Communication: All messages are transmitted securely
- Letta Cloud Storage: Your conversations and agent data are stored on Letta Cloud and may be visible there
Best Practices
- Protect Your API Key: Never share it with others
- Use
/logout
: Always logout on shared devices - Regular Checks: Use
/status
to verify your session - Report Issues: Contact support if you notice anything unusual
Troubleshooting
Bot Not Responding
If the bot doesn’t respond:
- Check your internet connection
- Verify you’re logged in with
/status
- Try selecting an agent again with
/agent <id>
- Send
/help
to reset the conversation
Authentication Issues
If you can’t login:
- Verify your API key at app.letta.com
- Make sure you’re copying the entire key
- Try generating a new API key
- Use
/logout
first if you’re having issues
Agent Not Working
If your agent isn’t responding properly:
- Check that an agent is selected with
/agent
- Verify the agent exists with
/agents
- Try switching to another agent and back
- Visit the ADE with
/ade
to check agent status
Message Errors
If you see error messages:
- “Authentication required”: Use
/login
with your API key - “No agent selected”: Choose an agent with
/agent <id>
- “Agent not found”: The agent may have been deleted; use
/agents
to see available ones - “Timeout”: Complex requests may take time; try again or simplify your request
Common Use Cases
Daily Planning
Research Assistant
Learning Partner
Creative Brainstorming
Practical Examples and Edge Cases
Setting Up Multiple Agents for Different Purposes
Scenario: You want different agents for work and personal use.
Handling Authentication Issues
Edge Case: Your API key expires or becomes invalid.
Managing Tools for Specific Tasks
Scenario: You need web search for a research project.
Working with Large Agent Lists
Edge Case: You have many agents and can’t remember IDs.
Recovering from Errors
Scenario: Bot stops responding mid-conversation.
Switching Context Quickly
Scenario: Multiple ongoing projects with different agents.
Tool Conflicts and Resolution
Edge Case: Multiple tools with similar names.
Memory Continuity Across Sessions
Example: Continuing a complex discussion.
Handling Network Issues
Edge Case: Slow or interrupted connections.
Project and Agent Coordination
Scenario: Organizing agents across multiple projects.
Getting Help
Quick Help
- Send
/help
for a command reference - Send
/start
for the setup guide
Documentation
- Letta Documentation - Learn more about Letta agents
- API Documentation - Advanced API features
Support
- Visit letta.com/support for help
- Join the Letta Discord community
- Report issues on GitHub
Frequently Asked Questions
Q: Is the bot free to use? A: The bot itself is free, but you need a Letta account. Letta offers free tiers with usage limits.
Q: Can I use multiple agents in the same chat?
A: Yes! Switch between agents anytime with /agent <id>
or shortcuts.
Q: Will my agent remember conversations from other platforms? A: Yes, if you’re using the same agent, it maintains memory across all platforms.
Q: How long are conversations stored? A: Your agent’s memory persists indefinitely as part of your Letta account.
Q: Can I share my agent with others? A: Each user needs their own Letta account and API key to use the bot.
Q: What happens if I delete an agent? A: The agent and all its memories are permanently removed from your Letta account.
Q: Can I use the bot in group chats? A: The bot is designed for individual use. Each user needs their own authentication.
Quick Reference Card
Start chatting with your intelligent, memory-equipped AI agents today at t.me/letta_ai_bot!