Skip to main content

AgentForge Telegram Notifier — Python

The canonical Python SDK and CLI live in the same monorepo under sdk/python. No separate repository is required.

Install

Install from PyPI with:

python -m pip install agentforge-telegram-notifier

Self-hosted / local gateway

Python example:

from agentforge_telegram_notifier import TelegramNotifierClient

client = TelegramNotifierClient(
    "my-agent",
    key="optional-api-key",
    origin="http://127.0.0.1:8818",
)
client.notify("Build finished")
events = client.inbox(limit=50)

The client targets the public Telegram Notifier v1 routes /v1/inbox, /v1/file, /v1/notify and /v1/reply. Every request carries X-Notifier-Source; Bearer authentication is optional for trusted local deployments and supported for authenticated deployments.

Hosted OAuth / headless authentication

Browser login remains available for the managed service:

telegram-notifier auth login
telegram-notifier auth status
telegram-notifier auth logout

For headless environments set TELEGRAM_NOTIFIER_API_KEY, or point TELEGRAM_NOTIFIER_API_KEY_FILE at a 0600 secret file.

Set TELEGRAM_NOTIFIER_ORIGIN=https://relay.web-tasarimci.com for the managed service and TELEGRAM_NOTIFIER_SOURCE when a source is not supplied by OAuth.

CLI

telegram-notifier --source my-agent inbox
telegram-notifier --source my-agent notify "Deployment complete"
telegram-notifier --source my-agent reply EVENT_ID "Acknowledged"
telegram-notifier --source my-agent notify-file report.pdf
telegram-notifier --source my-agent download EVENT_ID ./download.bin

Writes generate one idempotency key and reuse it across safe retries. Credentials are redacted from structured errors and client repr output.

Release boundary

The wheel and sdist contain only the Python client package, README and license. They do not include gateway backend, web application, deployment files or other language SDKs. Releases use this monorepo and fail closed when PyPI ownership or publishing prerequisites are unavailable.

Metadata

Release files for agentforge-telegram-notifier 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 agentforge-telegram-notifier 0.2.0
File Size Uploaded Provenance
agentforge_telegram_notifier-0.2.0.tar.gz 24.2 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 50.0 kB

Release files / agentforge_telegram_notifier-0.2.0.tar.gz

Download URL agentforge_telegram_notifier-0.2.0.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
39e8df2d065de9f3feb5d9912f0427f24acf8649be396e1d00811259a01e8c70
BLAKE2b-256 checksum
How to use checksums
d9d64f5e86441e1abda3289cdf8db6f5486dd62d684cad2076ec0fb7cdf4bf7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL agentforge_telegram_notifier-0.2.0-py3-none-any.whl
Size 25.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
494bcd9801fd3269c6a94b1f2ac60648aca2dfd26bde09116c2cd35d4e1f1185
BLAKE2b-256 checksum
How to use checksums
db49aff79b42421fff48ee26357cb2b875261a272d68b0ce45267d7b80a011d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for agentforge-telegram-notifier 0.2.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

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