$npx skillfedfor your agent

aiogram

Modern and fully asynchronous framework for Telegram Bot API

Worth itPyPI Python ModulesReleased Jul 20264.0M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aiogram-3.30.0-py3-none-any.whl
v3.30.0 · released 2026-07-17 · Python <3.15,>=3.10 · 6 runtime deps: aiofiles, aiohttp, certifi, magic-filter, pydantic, typing-extensions

Yes. aiogram is production-stable, actively maintained, has low install friction, carries a permissive MIT license, and supports current Python versions. It is the right choice if you need to build asynchronous Telegram bots and have asyncio experience. No security vulnerabilities are known. The main prerequisite is comfort with async/await patterns.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later and prior experience with asyncio; a valid Telegram Bot API token is needed to run bots.
  • Low install friction with a pure-Python wheel.
  • Actively maintained with a recent release (28 days old) and an active repository with 5829 stars.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.

last release 2026-07-17 (28 days) · last repo commit 2026-08-08 · 5,829 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,037,693 downloads/mo, #2,394 on PyPI

Verify before relying

pip install aiogram

from aiogram import Bot, Dispatcher, types
from aiogram.filters import Command
import asyncio

bot = Bot(token="YOUR_BOT_TOKEN")
dp = Dispatcher()

@dp.message(Command("start"))
async def start_handler(message: types.Message):
    await message.answer("Hello!")

async def main():
    await dp.start_polling(bot)

asyncio.run(main())
  • Whether the autogenerated Telegram Bot API integration covers all endpoints in API version 10.2 or if manual updates are sometimes required.
  • Performance characteristics and concurrency limits when handling high-volume update streams.
Same gist for agents: .md · .json

What it is and what it does

aiogram is a fully asynchronous framework for building Telegram bots in Python 3.10+, built on asyncio and aiohttp. It provides type hints (compatible with mypy), automatic Telegram Bot API integration code generation, routing via Blueprints, a Finite State Machine for conversation flow, powerful magic filters for message matching, middleware support for both incoming updates and API calls, and integrated internationalization via GNU Gettext or Fluent. The framework is designed to make bots faster and more powerful by leveraging Python's async capabilities.

The package depends on aiofiles, aiohttp, certifi, magic-filter, pydantic, and typing-extensions. It is actively maintained, supports current Python versions (3.10 through 3.14, including PyPy), and has no known security vulnerabilities. The documentation is available in multiple languages and the project maintains active community channels. Prior asyncio experience is strongly recommended before using aiogram.

Use it for

  • Build responsive Telegram bots that handle concurrent user interactions without blocking.
  • Create stateful conversation flows using the built-in Finite State Machine for multi-step dialogs.
  • Organize complex bot logic with Blueprints and routers for modular, maintainable code.
  • Implement custom message filtering and routing with magic filters for flexible update handling.
  • Integrate internationalization into bots with built-in I18n/L10n support.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

aiogram is production-stable, actively maintained, has low install friction, carries a permissive MIT license, and supports current Python versions. It is the right choice if you need to build asynchronous Telegram bots and have asyncio experience. No security vulnerabilities are known. The main prerequisite is comfort with async/await patterns.

Install

aiogram on PyPI

Before you install

Low install friction with a pure-Python wheel. Actively maintained with a recent release (28 days old) and an active repository with 5829 stars. Requires Python 3.10 or later.

Requires Python 3.10 or later and prior experience with asyncio; a valid Telegram Bot API token is needed to run bots.

License in practice

MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.

Quickstart

pip install aiogram

from aiogram import Bot, Dispatcher, types
from aiogram.filters import Command
import asyncio

bot = Bot(token="YOUR_BOT_TOKEN")
dp = Dispatcher()

@dp.message(Command("start"))
async def start_handler(message: types.Message):
    await message.answer("Hello!")

async def main():
    await dp.start_polling(bot)

asyncio.run(main())

Verify before relying

  • Whether the autogenerated Telegram Bot API integration covers all endpoints in API version 10.2 or if manual updates are sometimes required.
  • Performance characteristics and concurrency limits when handling high-volume update streams.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <3.15,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
aiofilesaiohttpcertifimagic-filterpydantictyping-extensions
MaintenanceActively maintained 28 days since the last release
Last repo commit
First released
Downloads4,037,693 / month, #2,394 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleFramework :: AsyncIOIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: PyPyTopic :: Communications :: ChatTopic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: aiogram-3.30.0-py3-none-any.whl

Tags

Capabilities
telegram bot framework pythonasync telegram bot libraryasyncio telegram api wrapperpython telegram bot developmenttelegram bot routing middlewaretelegram bot state machine
Topics
telegram-botasynciostate-machine
PyPI keywords
apiasynciobotframeworktelegramwrapper

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “asyncio telegram api wrapper”

  • aiogramaiogram is an asynchronous Python framework for building Telegram…
  • TelethonTelethon is an asyncio-based Python library that implements the…
  • python-telegram-botProvides a pure Python asynchronous interface to the Telegram Bot…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also pyTelegramBotAPI · Pyrogram · Kurigram · python-telegram-bot · nonebot2 · telebot · aiosignal · botbuilder-integration-aiohttp · Telethon · exteragram-alib