# aiogram/aiogram

aiogram is a modern and fully asynchronous framework for Telegram Bot API written in Python using asyncio

Repository: https://github.com/aiogram/aiogram
Canonical: https://ross.abutalabs.com/products/aiogram
Homepage: https://aiogram.dev
Language: Python
License: MIT
License Family: permissive
Topics: python, telegram-bot, telegram-bot-api, asyncio, aiogram, bot, bot-framework
Last push: 2026-08-26T00:02:37+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 3210, "days_push": 8, "days_rel": 8, "gap_med": 30, "n_releases_24m": 24}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5847, forks 959 (observed 2026-08-28T04:09:31.580696+00:00)

## What it is
aiogram is a modern, fully asynchronous Python framework for the Telegram Bot API, built on asyncio and aiohttp. It provides routers, middlewares, magic filters, a built-in finite state machine, and autogenerated, fully type-hinted coverage of the Telegram Bot API.

## Use cases
- build a telegram bot in python
- handle telegram bot updates asynchronously
- create a bot with conversation state and forms
- process telegram webhooks with middleware
- write a group moderation bot
- add i18n/localization to a telegram bot
- send scheduled messages from a telegram bot

## When to choose
- you want a fully async, type-hinted Telegram Bot API framework in Python
- you need fast updates to the latest Telegram Bot API versions
- you need routers, middlewares, and FSM for complex bot flows
- you want webhook replies and i18n support out of the box

## When to avoid
- you are building bots for platforms other than Telegram
- you are not comfortable with asyncio and async Python
- you need a synchronous, simple bot library for a tiny script
- you want a language-agnostic or no-framework approach

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, api-framework, http-client, middleware, routing, state-management, sdk
- domain: chatbots, messaging-platforms, developer-tools, apis
- platform: python, cross-platform
- tags: telegram-bot, telegram-bot-api, asyncio, aiohttp, bot-framework, fsm, webhook, long-polling, automation

## Member repositories
- aiogram/aiogram (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:31.580696+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:51:54.629827+00:00, confidence not recorded.
  - readme: https://github.com/aiogram/aiogram (fetched 2026-08-28T04:09:31.580696+00:00, sha 7a1a2e4ad5cb)
  - homepage: https://aiogram.dev (fetched 2026-08-29T08:47:27.059503+00:00, sha 8a24b3ae3624)
  - site_page: https://docs.aiogram.dev (fetched 2026-08-29T08:47:27.061905+00:00, sha 41e0f5eee3c1)
  - site_page: https://docs.aiogram.dev/en/latest/index.html (fetched 2026-08-29T08:47:27.064457+00:00, sha 503fb6fa891c)
  - registry_pypi: https://pypi.org/pypi/aiogram/json (fetched 2026-08-29T08:47:27.066867+00:00, sha b3a56db80c5f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
