Skip to main content

bund

Your AI agent is waiting for you. Again.

this is fine

Telegram pings for coding agents.
Approve from your phone. Free. Zero dependencies.


The problem

distracted boyfriend

How it works

gru plan

Setup (2 minutes)

pip install bund

bund set --token <botfather-token>
bund set --chat auto
bund install
bund test

bund install wires Claude Code's PermissionRequest and Stop hooks. On any other agent or script, use bund ask (below) — no install needed.

success kid

What you get

Button Does
✅ Approve Lets it run, once
❌ Deny Nope
♾ Approve all similar Never asks again for that kind of command

And a ping when the task is done:

fry

Now you know which one.

Sample message

🙄 Your AI intern wants to run Bash. Please supervise.

📁 my-project
npm run build

[ ✅ Approve ] [ ❌ Deny ]
[ ♾ Approve all similar: Bash(npm run *) ]

The joke is on top. The real command is always shown in full below it.

Works with any agent

bund ask is the universal protocol: any CLI, script, or agent asks a question, your phone answers.

bund ask "deploy to prod?" && echo let's go
# stdout: allow | deny | timeout
# exit:   0      1      2
import subprocess
r = subprocess.run(["bund", "ask", "run the migration?"], capture_output=True, text=True)
if r.stdout.strip() == "allow":
    ...

No config files to wire. If bund isn't configured, bund ask fails fast with exit code 2 instead of hanging your agent.

One command per project

Tell any agent to use bund for every question and approval, scoped to the current project:

bund setup opencode      # writes the prompt into ./AGENTS.md
bund setup claudecode    # writes the prompt into ./CLAUDE.md
bund setup codex         # AGENTS.md
bund setup gemini        # GEMINI.md
bund setup generic       # just prints it — paste anywhere
bund -setup opencode     # same thing, if you like dashes

You get a ready-made instruction block (also printed to stdout) that tells the agent: whenever you'd block waiting for me — permission, decision, or confirmation — run bund ask "<full question>", honor the allow | deny | timeout answer, and fall back to the terminal on timeout. Running it twice updates the block in place instead of duplicating it.

Safety

drake

  • Only your Telegram chat can approve anything
  • Every button works once (random request ids, no replaying old taps)
  • Dangerous commands (rm -rf, sudo, force pushes, curl | sh, …) get a serious warning and no "approve all" button
  • No answer? The agent falls back to the normal terminal prompt
  • bund can never block your work — any error means silent fallback
  • Token and chat id live in ~/.config/bund/config.json with chmod 600

Dependencies

buzz

Python 3.9+. Standard library only. That's it.

Cost

oprah

Tone

bund set --tone sarcasm   # default
bund set --tone plain     # for people who have no joy

Add your own lines in ~/.config/bund/templates.json.

Also

bund -m "build finished, come back"

Works with any script or agent.

is this a pigeon


Commands

bund set --token <token>        # botfather token
bund set --chat auto|<id>       # pick your chat
bund set --tone sarcasm|plain   # message tone
bund install                    # add Claude Code hooks
bund uninstall                  # remove only bund's hooks
bund setup <provider>           # project-scope prompt: use bund for every question
bund test                       # send a test message
bund ask "<question>"           # ask anything (allow|deny|timeout)
bund -m "<text>"                # send any message
bund hook                       # internal, called by hooks

Memes by memegen.link. If they don't load, that's on them, not us.
MIT License

Metadata

Release files for bund 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bund 0.2.0
File Size Uploaded
bund-0.2.0.tar.gz 23.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bund 0.2.0
File Interpreter ABI Platform
bund-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 45.1 kB

Release files / bund-0.2.0.tar.gz

Download URL bund-0.2.0.tar.gz
Size 23.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f353673e64cf1ddb9a15ef7b3345a4a9bc5d13a8fa8e3ac04464fc187fc1eb4c
BLAKE2b-256 checksum
How to use checksums
a3e19a6bdfc30b021de35fc9ca1d5e7b32755c9102fcc60a409fc2dca3abc758
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.6

Release files / bund-0.2.0-py3-none-any.whl

Download URL bund-0.2.0-py3-none-any.whl
Size 21.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bac69763ffc2567fcaac21d2862a2aba8761514b407fdc2cecd0d9081173ff50
BLAKE2b-256 checksum
How to use checksums
336e97f61684855dbb5151390f4b42e58204a86a251d5d6984618b4d861a5fbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.6

Release history Release notifications | RSS feed

1.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page