codex-bot
codex-bot is a feature-based framework built on top of Aiogram 3.x, providing professional-grade infrastructure for building complex Telegram bot ecosystems.
Install
# Core framework only
pip install codex-bot
# Include Redis Stream integration
pip install "codex-bot[redis]"
Quick Start
import asyncio
from codex_bot.director import Director
from codex_bot.engine.discovery.service import FeatureDiscoveryService
async def main():
# Auto-discovery of business features
discovery = FeatureDiscoveryService(
installed_features=["profile", "settings"]
)
discovery.discover_all()
# Unified orchestration
print("Codex-Bot ready for action!")
if __name__ == "__main__":
asyncio.run(main())
Modules
| Module | Extra | Description |
|---|---|---|
base |
- | Immutable DTOs and base orchestrator classes |
director |
- | Smart navigation and context management |
engine |
- | Convention-based feature discovery service |
stream |
[redis] |
Redis Streams integration for async event handling |
fsm |
- | Namespaced FSM with automated garbage collection |
Documentation
Repository contributors can use the project agent skill. To install the versioned library skill in a consuming project, see the agent skill guide.
Full documentation with architecture diagrams, API reference, and guides:
https://codexdlc.github.io/codex-bot/
Part of the Codex ecosystem
| Library | Description |
|---|---|
| codex-core | Shared DTOs, logging, and security |
| codex-platform | Infrastructure: Redis, Workers, Notifications |
| codex-ai | Agnostic LLM abstraction layer |
| codex-services | Domain engines: Booking, Payments, CRM |
Each library is fully standalone — install only what your project needs. Together they form the backbone of codex-bot (aiogram) and codex-django (Django integration layer).
License
This project is licensed under the Apache License 2.0. Developed by Codex Team.
Metadata
Release files for codex-bot 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| codex_bot-0.4.0.tar.gz | 318.6 kB | With provenance | Details for codex_bot-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| codex_bot-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for codex_bot-0.4.0-py3-none-any.whl |
Total release size: 475.1 kB
Release files / codex_bot-0.4.0.tar.gz
| Download URL | codex_bot-0.4.0.tar.gz |
|---|---|
| Size | 318.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86670dff68980d083e68081508778ff9196112f716109ef1239c0f50a8fed3d1
|
|
BLAKE2b-256 checksum How to use checksums |
b8013d4dd394c22e718955ee2518f7b546556c912d29b05da187f2db65021562
|
| 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 9, 2026.
Transparency logRelease files / codex_bot-0.4.0-py3-none-any.whl
| Download URL | codex_bot-0.4.0-py3-none-any.whl |
|---|---|
| Size | 156.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6c87044896099908dff4de9cf8a53e2b9b157518a32530b0ebf9d66d8f3490e5
|
|
BLAKE2b-256 checksum How to use checksums |
d25ab6ed72b753bd0effec17903e63bad5eb43f11b13d99b88973ba8fe5907a0
|
| 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 9, 2026.
Transparency logSecurity for codex-bot 0.4.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for codex_bot-0.4.0.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 Oct 9, 2026.
Transparency logA 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.