.
██████╗ ██████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ █████╗ \ /
██╔══██╗██╔══██╗██╔═══██╗╚██╗██╔╝██║████╗ ████║██╔══██╗ .\-./
██████╔╝██████╔╝██║ ██║ ╚███╔╝ ██║██╔████╔██║███████║ -===-
██╔═══╝ ██╔══██╗██║ ██║ ██╔██╗ ██║██║╚██╔╝██║██╔══██║ '/=\'
██║ ██║ ██║╚██████╔╝██╔╝ ██╗██║██║ ╚═╝ ██║██║ ██║ / \
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═╝ ╚═╝'
Self-hosted Telegram bot that gives you Claude Code right inside Telegram. Send a message — get a response from Claude with full tool use, file editing, and bash execution.
- Text, voice messages, and bash output forwarded to Claude Code
- Multi-project management (each chat can have its own working directory)
- Session persistence with auto-resume
- Streaming responses with live editing in Telegram
- Tool permission control (inline buttons: Allow / Deny / Allow All)
- MCP server configuration per project
- Custom slash commands
- Voice transcription via OpenAI Whisper (optional)
- Python 3.12+
- uv
- Docker (for PostgreSQL)
- Claude Code CLI logged in (
claudecommand must work)
git clone https://github.com/anthropics/proxima.git
cd proxima
uv sync --devproxima setupThis runs an interactive wizard that creates .env. You need:
| Variable | Required | Description |
|---|---|---|
TELEGRAM_BOT_TOKEN |
yes | From @BotFather |
ALLOWED_USER_IDS |
yes | Your Telegram user ID (comma-separated for multiple) |
DATABASE_URL |
yes | PostgreSQL connection string |
WORK_DIR |
no | Base directory for projects (default: ./projects/) |
OPENAI_API_KEY |
no | Enables voice transcription |
WHISPER_LANGUAGE |
no | ISO-639-1 code (e.g. ru, en). Auto-detect if unset |
proxima runThis starts PostgreSQL via Docker, runs migrations, and launches the bot. Open your bot in Telegram and send any message.
proxima run [-v] # Run in foreground (auto-starts DB + migrations)
proxima start [-v] # Start in background
proxima stop # Graceful shutdown
proxima status # Show running/stopped
proxima setup # Interactive .env wizard-v enables debug logging.
| Command | Description |
|---|---|
/start |
Welcome message + project list |
/new_prox <name> |
Create a new project |
/projects_prox |
List all projects |
/switch_prox |
Switch active project |
/reset_prox |
Reset current session |
/cancel_prox |
Cancel running query |
/mode_prox |
Toggle plan/execute mode |
/permissions_prox |
Change permission preset |
/mcp_prox |
Configure MCP servers |
/memory_prox |
Edit project CLAUDE.md |
/cmd_prox |
Manage custom slash commands |
/help_prox |
Show all commands |
uv run pytest -q # Run tests
uv run ruff check . # Lint
uv run ruff format . # Format
uv run mypy proxima/ # Type checkMIT