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
- 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:
- create a bot token via @BotFather
- pick a workflow (assistant, workspace, or handoff)
- connect your chat
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file takopi-0.22.3.tar.gz.
File metadata
- Download URL: takopi-0.22.3.tar.gz
- Upload date:
- Size: 122.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a52468b7fe35ebdaa1304cf738e0bac463ec4a10a48f2063ebc6368ed89a25cb
|
|
| MD5 |
0a44e2a45a749196f0cd145c87d49f7c
|
|
| BLAKE2b-256 |
6642e69708b5ae97eb1f546b24c9829962bc33e5eb93b65a923c17ef7f1df345
|
Provenance
The following attestation bundles were made for takopi-0.22.3.tar.gz:
Publisher:
release.yml on banteg/takopi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
takopi-0.22.3.tar.gz -
Subject digest:
a52468b7fe35ebdaa1304cf738e0bac463ec4a10a48f2063ebc6368ed89a25cb - Sigstore transparency entry: 1008392946
- Sigstore integration time:
-
Permalink:
banteg/takopi@b3f7e266756055e78174466aef5da888c58fb49d -
Branch / Tag:
refs/tags/v0.22.3 - Owner: https://github.com/banteg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b3f7e266756055e78174466aef5da888c58fb49d -
Trigger Event:
push
-
Statement type:
File details
Details for the file takopi-0.22.3-py3-none-any.whl.
File metadata
- Download URL: takopi-0.22.3-py3-none-any.whl
- Upload date:
- Size: 168.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9ae6998124f61747bae08bd9d2111a72112d2a7cedb4bff41f4f60bc6c77584
|
|
| MD5 |
8ce54e7bc81ef02251bf7def3cd657ea
|
|
| BLAKE2b-256 |
683d1fc24ffb279fc7f6309faad242280755248174876798ab35df2feb9e7461
|
Provenance
The following attestation bundles were made for takopi-0.22.3-py3-none-any.whl:
Publisher:
release.yml on banteg/takopi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
takopi-0.22.3-py3-none-any.whl -
Subject digest:
c9ae6998124f61747bae08bd9d2111a72112d2a7cedb4bff41f4f60bc6c77584 - Sigstore transparency entry: 1008392949
- Sigstore integration time:
-
Permalink:
banteg/takopi@b3f7e266756055e78174466aef5da888c58fb49d -
Branch / Tag:
refs/tags/v0.22.3 - Owner: https://github.com/banteg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b3f7e266756055e78174466aef5da888c58fb49d -
Trigger Event:
push
-
Statement type: