Skip to main content

Botnetics Agent

A simple framework for building Telegram agents with Django.

Installation

pip install botnetics-agent

Quick Start

botnetics init my-agent
cd my-agent
python agent.py

Test your agent:

curl -X POST http://localhost:8000/message/ \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello", "chat_id": "123", "user_id": "456"}'

Features

  • Simple message handling with decorators
  • Built-in Django web server
  • REST API endpoint for message processing
  • Easy project scaffolding
  • Docker support

Usage

Create a new agent:

from botnetics import BotneticsApp, Message

app = BotneticsApp(api_key="your-key")

@app.on_message
def handle_message(message: Message):
    return Message(
        text=f"You said: {message.text}",
        chat_id=message.chat_id,
        user_id=message.user_id
    )

app.run()

License

MIT License

Metadata

Release files for botnetics-agent 0.1.8

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

Source distribution (sdist)

Source distribution for botnetics-agent 0.1.8
File Size Uploaded Provenance
botnetics_agent-0.1.8.tar.gz 6.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for botnetics-agent 0.1.8
File Interpreter ABI Platform
botnetics_agent-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 14.4 kB

Release files / botnetics_agent-0.1.8.tar.gz

Download URL botnetics_agent-0.1.8.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
93298ac973f4d1808919caf3ba3afd8406a745deeff372ac4d2311e9b39fc30e
BLAKE2b-256 checksum
How to use checksums
7cf412348b3d0c53a42fdac49ccd266d9f59d671e1b01b95f703386ab03a6769
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Jun 23, 2025.

Transparency log

Release files / botnetics_agent-0.1.8-py3-none-any.whl

Download URL botnetics_agent-0.1.8-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64fbca876bd991cfa0322cfb072c518b76b14ce2f9b1e0c8a70f0aa3ce940104
BLAKE2b-256 checksum
How to use checksums
3e070b8a0f26f385a571b2f87d6c22132cf4b8b7db4a311d34dd0ea3f9fddcc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Jun 23, 2025.

Transparency log

Security for botnetics-agent 0.1.8

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for botnetics_agent-0.1.8.tar.gz

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 Jun 23, 2025.

Transparency log

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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