← Directory

takopi

Open Source
• Updated Jun 10, 2026, 04:27 AM

Takopi is an open-source Telegram bridge that connects popular AI coding assistants such as OpenAI Codex, Anthropic Claude Code, OpenCode, and Pi directly to the Telegram messaging platform.

Use Cases ▼
01

Ask Codex to explain a complex code snippet via Telegram while on the go.

02

Send a refactoring request to Claude Code from a mobile phone and receive the revised code in the Telegram chat.

03

Trigger OpenCode to generate documentation for a function directly from a Telegram group chat.

04

Use Pi to perform a code review and receive the feedback as a Telegram message.

05

Manage multiple AI coding assistants from a single Telegram bot, switching between them as needed for different tasks.

What Problem It Solves ▼

Developers and engineers who use AI coding assistants often need to interact with these tools from their development environment via command line or specific IDEs. This limits accessibility when away from their workstation or when they prefer a more mobile and chat-oriented interaction. Takopi solves this by providing a Telegram bridge that allows users to send coding requests, receive AI-generated code, and manage coding tasks through a Telegram bot, enabling remote and asynchronous collaboration with AI coding tools.

Key Features ▼
✓

Supports multiple popular AI coding assistants in one bot.

✓

Open source with MIT license, allowing customization and self-hosting.

✓

Telegram integration offers familiar, cross-platform interface.

✓

Active development with frequent releases and community contributions.

✓

Lightweight and easy to deploy on any server with Python.

Overview

Takopi is an open-source Telegram bridge that connects popular AI coding assistants such as OpenAI Codex, Anthropic Claude Code, OpenCode, and Pi directly to the Telegram messaging platform. It acts as a middleware bot, allowing developers and engineers to interact with these powerful AI tools through a familiar chat interface without needing direct terminal access or proprietary integrations. Users can configure Takopi to route messages to one or more AI backends, send coding queries, request code explanations, refactor code, or even manage projects, all from a mobile or desktop Telegram client.

Full Description ▼

Under the hood, Takopi runs as a self-hosted service written in Python, leveraging the Telegram Bot API to listen for messages and events. When a user sends a command or message, Takopi processes the request, invokes the selected AI coding agent with the appropriate context and parameters, and returns the generated response back to the Telegram chat. It supports rich messaging, including code blocks, formatting, and potentially inline actions, though the exact feature set depends on the backend capabilities. The project is actively maintained with frequent releases and a growing community, as evidenced by its 1k+ GitHub stars and 40+ tags.

Takopi is designed to be extensible, supporting multiple AI backends through a unified interface. Users can switch between different agents or even run them in parallel, though the primary use case is to provide a convenient remote control for AI coding tools. Configuration is handled through environment variables or a Justfile, making it deployable on any server or local machine that can run Python. It is ideal for teams that want to integrate AI coding assistance into their Telegram-based workflows or for individual developers who prefer managing coding tasks from their mobile devices.

While the primary backends include Codex, Claude Code, OpenCode, and Pi, the architecture likely allows adding more AI coding agents in the future. Takopi emphasizes simplicity and reliability, providing a direct bridge without unnecessary abstraction. It does not replace the native capabilities of these AI tools but extends their accessibility, making them available wherever Telegram is used.

Pros & Cons

Pros

+

Supports multiple popular AI coding assistants in one bot.

+

Open source with MIT license, allowing customization and self-hosting.

+

Telegram integration offers familiar, cross-platform interface.

+

Active development with frequent releases and community contributions.

+

Lightweight and easy to deploy on any server with Python.

Cons

−

Requires self-hosting and configuration, not a plug-and-play service.

−

Limited to the supported AI backends; adding new ones may require source code changes.

−

Potential latency due to Telegram API and AI backend response times.

Similar Tools

Claude Code Telegram Bot Codex Discord Bot OpenCode Web UI Pi CLI tgcodebot

More in AI Agents