lettabot  by letta-ai

AI assistant with persistent, multi-channel memory

Created 1 month ago
257 stars

Top 98.3% on SourcePulse

GitHubView on GitHub
Project Summary

LettaBot is a personal AI assistant designed for seamless, persistent, and unified communication across multiple messaging platforms, including Telegram, Slack, Discord, WhatsApp, and Signal. It offers a unified memory across all channels, enabling a consistent AI experience for users seeking a central point of interaction with their AI.

How It Works

Leveraging the Letta Code SDK, LettaBot integrates with popular messaging services to provide a single AI agent with a unified and persistent memory. This approach allows conversations and context to flow between different platforms and across extended periods, enhancing user productivity and AI utility. Core features include local tool execution, automatic voice message transcription, and real-time streaming responses.

Quick Start & Requirements

Requires Node.js 20+, a Letta API key (or Docker server), and a Telegram bot token. Installation involves cloning the repository, running npm install, npm run build, and npm link. Setup can be AI-assisted or via the interactive lettabot onboard wizard. The server is started with lettabot server. Official documentation and setup guides are available.

Highlighted Details

  • Multi-channel integration: Telegram, Slack, Discord, WhatsApp, Signal.
  • Unified & Persistent Memory: Single agent retains context across all channels and sessions.
  • Voice Capabilities: Transcribes incoming voice messages (OpenAI Whisper/Mistral Voxtral) and supports voice replies (ElevenLabs/OpenAI TTS).
  • Extensible Skills: Integrates with skills.sh and Clawdhub for functionalities like Home Assistant control.
  • Local Tool Execution: Agent can perform file operations, code search, and command execution on the host machine.
  • OpenAI-Compatible API: Provides /v1/chat/completions and /v1/models endpoints for integration with compatible frontends and SDKs.
  • Secure Network Architecture: Utilizes outbound connections only, requiring no public URL or gateway.

Maintenance & Community

The provided README does not detail specific contributors, sponsorships, or community channels (e.g., Discord/Slack).

Licensing & Compatibility

Licensed under the Apache-2.0 license, permitting commercial use and modification.

Limitations & Caveats

Background tasks (heartbeats/cron) operate in 'Silent Mode,' meaning agent responses are not automatically delivered to users; explicit CLI commands (lettabot-message send) are required. By default, the agent's tool execution is restricted to read-only operations like file exploration, web search, and conversation history search.

Health Check
Last Commit

14 hours ago

Responsiveness

Inactive

Pull Requests (30d)
229
Issues (30d)
101
Star History
82 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Yaowei Zheng Yaowei Zheng(Author of LLaMA-Factory).

AstrBot by AstrBotDevs

8.5%
20k
LLM chatbot/framework for multiple platforms
Created 3 years ago
Updated 1 day ago
Feedback? Help us improve.