Robyn is a high-performance async Python web framework with a Rust runtime.
Robyn addresses the need for fast Python web servers by executing the async runtime in Rust rather than Python, eliminating the Global Interpreter Lock bottleneck. The framework exposes a Python API for defining routes and handlers while delegating I/O and concurrency to compiled Rust code. This hybrid approach lets developers write web applications in Python while achieving performance characteristics typically associated with systems languages.
Robyn suits teams building latency-sensitive APIs and services where Python's ease of development matters but raw speed is non-negotiable. It works well for projects requiring WebSocket support, streaming responses, and multi-core scaling without manual worker management. The framework includes built-in features like dependency injection, middleware hooks, automatic OpenAPI generation, and Jinja2 templating. Developers should note that Robyn requires Python 3.10 or later and demands a local Rust toolchain for installation and development, which adds setup complexity compared to pure-Python frameworks.
The project maintains active development with ongoing feature additions including AI agent support and Model Context Protocol integration. Contributors are expected to engage with the community through established channels including a Discord server and documented contribution guidelines. The codebase requires familiarity with both Python and Rust for meaningful contributions to the runtime layer.