Skip to main content

Telegram bridge for Codex, Claude Code, and other agent CLIs.

Project description

takopi

🐙 he just wants to help-pi

telegram bridge for codex, claude code, opencode, pi. manage multiple projects and worktrees, stream progress, and resume sessions anywhere.

features

  • projects and worktrees: work on multiple repos/branches simultaneously, branches are git worktrees
  • stateless resume: continue in chat or copy the resume line to pick up in terminal
  • progress streaming: commands, tools, file changes, elapsed time
  • parallel runs across agent sessions, per-agent-session queue with Codex steering/cancel controls
  • works with telegram features like voice notes and scheduled messages
  • file transfer: send files to the repo or fetch files/dirs back
  • group chats and topics: map group topics to repo/branch contexts
  • works with existing anthropic and openai subscriptions

requirements

uv for installation (curl -LsSf https://astral.sh/uv/install.sh | sh)

python 3.14+ (uv python install 3.14)

at least one engine on PATH: codex, claude, opencode, or pi

install

uv tool install -U takopi

setup

run takopi and follow the setup wizard. it will help you:

  1. create a bot token via @BotFather
  2. pick a workflow (assistant, workspace, or handoff)
  3. connect your chat
  4. choose a default engine

workflows configure conversation mode, topics, and resume lines automatically:

  • assistant: ongoing chat with auto-resume (recommended)
  • workspace: forum topics bound to repos/branches
  • handoff: reply-to-continue with terminal resume lines

usage

cd ~/dev/happy-gadgets
takopi

send a message to your bot. prefix with /codex, /claude, /opencode, or /pi to pick an engine. reply to continue a thread.

register a project with takopi init happy-gadgets, then target it from anywhere with /happy-gadgets hard reset the timeline.

mention a branch to run an agent in a dedicated worktree /happy-gadgets @feat/memory-box freeze artifacts forever.

inspect or update settings with takopi config list, takopi config get, and takopi config set.

see takopi.dev for configuration, worktrees, topics, file transfer, and more.

plugins

takopi supports entrypoint-based plugins for engines, transports, and commands.

see docs/how-to/write-a-plugin.md and docs/reference/plugin-api.md.

development

see docs/reference/specification.md and docs/developing.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

takopi-0.23.0.tar.gz (128.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

takopi-0.23.0-py3-none-any.whl (173.9 kB view details)

Uploaded Python 3

File details

Details for the file takopi-0.23.0.tar.gz.

File metadata

  • Download URL: takopi-0.23.0.tar.gz
  • Upload date:
  • Size: 128.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for takopi-0.23.0.tar.gz
Algorithm Hash digest
SHA256 8a837b1d3520e1f790c29564e3ca9d0c37f75681ad32d4b8843221d04464e9b1
MD5 f4d2714b6a35492d43b69f6e92c6d928
BLAKE2b-256 0bb629b26fdbf6241ea7490c14b6917fb3bffc01ba0af30b048c7384c91434b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for takopi-0.23.0.tar.gz:

Publisher: release.yml on banteg/takopi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file takopi-0.23.0-py3-none-any.whl.

File metadata

  • Download URL: takopi-0.23.0-py3-none-any.whl
  • Upload date:
  • Size: 173.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for takopi-0.23.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80f5cc4742219895abd2e071240d7c4fb97395dfeaab0f8370d7887c7228d3c0
MD5 0e29f24517b485acab1d0e1505d2937b
BLAKE2b-256 01de5235ebf28cebad993a2d990535190d644e798acec1625cbbfd975429b043

See more details on using hashes here.

Provenance

The following attestation bundles were made for takopi-0.23.0-py3-none-any.whl:

Publisher: release.yml on banteg/takopi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page