Skip to main content

televibe

Run headless coding agents (Claude Code, Codex) one turn at a time, as resumable sessions with a typed event stream.

televibe starts the agent, turns its output into common events (Started, Message, ToolUse, Warning, then exactly one Done or Failed), and kills what it started on timeout, cancel, or when the caller walks away. Claude Code also reports the account's subscription usage as Limits (five-hour and seven-day windows), and a call refused at the limit fails with FailReason.USAGE_LIMIT. Done.text is the final answer; when the agent answers, calls a bookkeeping tool and closes with a short line, engine.turn(..., quiet_tools={"<tool name>"}) keeps the answer whole, and Done.last_message still has the agent's own last text. What to do with the output is the caller's business: televibe never sends a message anywhere.

The optional Telegram layer does: pip install 'televibe[telegram]' adds televibe.telegram, which shows a turn in a chat (reactions, typing or a live draft, the answer) and keeps one session per reply chain. It is a set of parts for an aiogram bot, not a framework. Every reaction can be replaced, and Reactions(done=None, failed_when_sent=False) leaves a reaction only when nothing could be sent at all. A live draft shows the usage ("5h 35% · 7d 13%"); Texts relabels it and words the limit message, and Presenter(tz=...) sets the zone of its reset time. See SPEC.md section 12.

Install: pip install televibe, or pip install 'televibe[telegram]' with the Telegram layer. Python 3.12+, Linux and macOS.

Status: 0.1, alpha. Tests: uv run pytest; live tests against real agents: see tests/test_live.py. MIT licensed.

  • SPEC.md is the specification. It is the law: numbered requirements, each claimed by a test.

Metadata

Release files for televibe 0.3.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 televibe 0.3.0
File Size Uploaded
televibe-0.3.0.tar.gz 72.0 kB Details

Built distribution (wheel)

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

Total release size: 105.3 kB

Release files / televibe-0.3.0.tar.gz

Download URL televibe-0.3.0.tar.gz
Size 72.0 kB
Tags Source
SHA-256 checksum
How to use checksums
271b1339704b87c7f801c39cd4be7bea38b76903f1af7c5420c41272084d818f
BLAKE2b-256 checksum
How to use checksums
8a47657d9ea759d4a4540ce8241eaf18a722341cb63384d76b8b2b7f6a55ba62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / televibe-0.3.0-py3-none-any.whl

Download URL televibe-0.3.0-py3-none-any.whl
Size 33.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
12fccb8095c41dfe0cd92e3e959dff530911efb7d1c09e869d037e85f882d82b
BLAKE2b-256 checksum
How to use checksums
3d1f7033865282b05ed298c47d394a2d0b8592b2295c56669fa3dad9cc6eed64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release history Release notifications | RSS feed

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

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