---
title: "Litestar: The Modern Python ASGI Framework"
canonical_url: "https://litestar.dev/"
last_updated: "2026-08-06T05:53:59.521Z"
meta:
  description: "Build blazing fast APIs with automatic documentation, dependency injection, and type safety. Litestar makes complex web development simple and intuitive."
  "og:description": "Build blazing fast APIs with automatic documentation, dependency injection, and type safety. Litestar makes complex web development simple and intuitive."
  "og:title": "Litestar: The Modern Python ASGI Framework"
  "twitter:description": "Build blazing fast APIs with automatic documentation, dependency injection, and type safety. Litestar makes complex web development simple and intuitive."
  "twitter:title": "Litestar: The Modern Python ASGI Framework"
---

[**New website & v3 **](https://litestar.dev/blog/new-website-and-v3)

# **The Modern **Python<br>**ASGI Framework**<br>Built to scale

Fast APIs with automatic OpenAPI documentation, dependency injection, type safety, and a lot of batteries included. Litestar makes designing complex web apps simpler

[**Get started **](https://docs.litestar.dev/) [** View on Github **](https://github.com/litestar-org/litestar)

## **Focused on development experience**

- **Modern batteries included** Comprehensive optional features available out-of-the-box - authentication, validation, ORM integration, caching, middleware, and more. Use what you need, when you need it.
- **Strict & opinionated design** Thoughtful defaults and clear conventions guide you toward best practices, reducing decision fatigue and ensuring consistent, maintainable code.
- **Hierarchical configuration** Layered configuration system allows easy modularization. Override settings at any level - application, controller, or route - for maximum flexibility.
- **Powerful plugin system** Extend functionality seamlessly with official and community plugins. Build reusable components that integrate naturally with Litestar's architecture.

[Explore documentation](https://docs.litestar.dev/)

## **Everything you need to build modern APIs**

Litestar provides all the tools you need out of the box, with minimal configuration required.

- **Data Validation And Parsing** Leverage the power of type hints to define how data should be validated, parsed and serialized. [Data Validation And Parsing](https://docs.litestar.dev/2/usage/dto/index.html)
- **Open Ecosystem** Define schemas and models for validation with standard types such as dataclasses, libraries like Pydantic, msgspec, attr, or integrate your own. [Open Ecosystem](https://docs.litestar.dev/2/usage/applications.html)
- **OpenAPI** Automatically generated OpenAPI schemas help to document APIs and integrate with the frontend via TypeScript schema generation. [OpenAPI](https://docs.litestar.dev/2/usage/openapi/index.html)
- **Interactive API Documentation** Interactively explore your APIs through Swagger, Redoc or Stoplight Elements, powered by OpenAPI. [Interactive API Documentation](https://docs.litestar.dev/2/usage/openapi/ui_plugins.html)
- **Middlewares** Handle rate-limiting, CORS, CSRF, compression, logging and many more common tasks with Litestar's built-in middlewares. [Middlewares](https://docs.litestar.dev/2/usage/middleware/builtin-middleware.html)
- **Data Stores** Interfaces for various key/value stores that seamlessly integrate with your application and third party extensions. [Data Stores](https://docs.litestar.dev/2/usage/stores.html)
- **ORM Integration** First-class SQLAlchemy support let's you use your models for validation and serialization directly, reducing code duplication. [ORM Integration](https://docs.litestar.dev/2/usage/databases/sqlalchemy/index.html)
- **Dependency Injection** Powerful dependency injection on all application layers, aides in code decoupling and reduces repetition. [Dependency Injection](https://docs.litestar.dev/2/usage/dependency-injection.html)
- **Caching** Response caching with minimal configuration and overhead to speed up response times. [Caching](https://docs.litestar.dev/2/usage/caching.html)
- **WebSockets** Easy to use WebSockets integration, featuring high- and low-level APIs and support for automatic data validation and serialization. [WebSockets](https://docs.litestar.dev/2/usage/websockets.html)
- **Authentication And Authorization** Session and JWT based authentication and utilities at your disposal to start building your authentication layer with ease. [Authentication And Authorization](https://docs.litestar.dev/2/usage/security/index.html)
- **Explore Litestar now**[Start reading docs](https://docs.litestar.dev/)

## Extend Litestar with plugins

Litestar has a rich module ecosystem, with both official and community-driven plugins. This accelerates development by providing ready-to-use solutions for common needs.

[Explore all plugins](https://litestar.dev/plugins)

![Advanced Alchemy](https://raw.githubusercontent.com/litestar-org/plugin-registry/main/icons/advanced-alchemy.png)

### Advanced Alchemy

Ready-to-go SQLAlchemy concoctions.

[**434.9K**](https://pypi.org/project/advanced-alchemy) [**793**](https://github.com/litestar-org/advanced-alchemy)

[Advanced Alchemy](https://litestar.dev/plugins/advanced-alchemy)

![Litestar AsyncPG](https://raw.githubusercontent.com/litestar-org/plugin-registry/main/icons/litestar-asyncpg.svg)

### Litestar AsyncPG

Asyncpg plugin for Litestar

[**1.5K**](https://pypi.org/project/litestar-asyncpg) [**14**](https://github.com/litestar-org/litestar-asyncpg)

[Litestar AsyncPG](https://litestar.dev/plugins/litestar-asyncpg)

![Litestar Autowire](https://raw.githubusercontent.com/litestar-org/plugin-registry/main/icons/litestar-autowire.svg)

### Litestar Autowire

Package-based route, listener, and task discovery for Litestar

[**492**](https://pypi.org/project/litestar-autowire) [**2**](https://github.com/cofin/litestar-autowire)

[Litestar Autowire](https://litestar.dev/plugins/litestar-autowire)

### Litestar Email

Email plugin for Litestar

[**2.6K**](https://pypi.org/project/litestar-email) [**15**](https://github.com/litestar-org/litestar-email)

[Litestar Email](https://litestar.dev/plugins/litestar-email)

![Litestar Granian](https://raw.githubusercontent.com/litestar-org/plugin-registry/main/icons/litestar-granian.png)

### Litestar Granian

Granian plugin for Litestar

[**24.9K**](https://pypi.org/project/litestar-granian) [**44**](https://github.com/cofin/litestar-granian)

[Litestar Granian](https://litestar.dev/plugins/litestar-granian)

![Litestar HTMX](https://raw.githubusercontent.com/litestar-org/plugin-registry/main/icons/litestar-htmx.svg)

### Litestar HTMX

HTMX Integration for Litestar

[**1.9M**](https://pypi.org/project/litestar-htmx) [**12**](https://github.com/litestar-org/litestar-htmx)

[Litestar HTMX](https://litestar.dev/plugins/litestar-htmx)

![Litestar MCP](https://raw.githubusercontent.com/litestar-org/plugin-registry/main/icons/litestar-mcp.svg)

### Litestar MCP

Litestar plugin for Model Context Protocol (MCP) integration

[**20.3K**](https://pypi.org/project/litestar-mcp) [**12**](https://github.com/cofin/litestar-mcp)

[Litestar MCP](https://litestar.dev/plugins/litestar-mcp)

![Litestar OracleDB](https://raw.githubusercontent.com/litestar-org/plugin-registry/main/icons/litestar-oracledb.svg)

### Litestar OracleDB

Oracle DB plugin for Litestar

[**23**](https://pypi.org/project/litestar-oracledb) [**4**](https://github.com/litestar-org/litestar-oracledb)

[Litestar OracleDB](https://litestar.dev/plugins/litestar-oracledb)

![Litestar Queues](https://raw.githubusercontent.com/litestar-org/plugin-registry/main/icons/litestar-queues.svg)

### Litestar Queues

Task queues, workers, schedules, and backend integrations for Litestar

[**1.2K**](https://pypi.org/project/litestar-queues) [**8**](https://github.com/cofin/litestar-queues)

[Litestar Queues](https://litestar.dev/plugins/litestar-queues)

### Litestar SAQ

Litestar integration for SAQ

[**21.5K**](https://pypi.org/project/litestar-saq) [**31**](https://github.com/litestar-org/litestar-saq)

[Litestar SAQ](https://litestar.dev/plugins/litestar-saq)

![Litestar Vite](https://raw.githubusercontent.com/litestar-org/plugin-registry/main/icons/litestar-vite.svg)

### Litestar Vite

Vite plugin for Litestar

[**20.7K**](https://pypi.org/project/litestar-vite) [**35**](https://github.com/litestar-org/litestar-vite)

[Litestar Vite](https://litestar.dev/plugins/litestar-vite)

### SQLSpec

SQL Experiments in Python

[**20.4K**](https://pypi.org/project/sqlspec) [**97**](https://github.com/litestar-org/sqlspec)

[SQLSpec](https://litestar.dev/plugins/sqlspec)

## **Unlock synergy, seamless integrations with Litestar**

Explore Litestar seamless integrations with other tools and platforms, enhancing productivity and workflow efficiency.

### **Scalar**

Scalar integration.

[Card link](https://github.com/scalar/scalar)

### **RapiDoc**

RapiDoc integration.

[Card link](https://github.com/rapi-doc/RapiDoc)

### **ReDoc**

ReDoc integration.

[Card link](https://github.com/Redocly/redoc)

### **Spotlight Elements**

Elements integration.

[Card link](https://github.com/stoplightio/elements)

### **Swagger UI**

Swagger UI integration.

[Card link](https://github.com/swagger-api/swagger-ui)

### **YAML**

YAML integration.

[Card link](https://yaml.org/)

## **Work with any Python data model**

Litestar supports all popular Python data modeling libraries out of the box. Choose your favorite or mix and match based on your needs.

### **Pydantic**

The most popular data validation library for Python.

[Card link](https://docs.pydantic.dev/)

### **Dataclasses**

Python's built-in dataclasses with full support for serialization and validation.

[Card link](https://docs.python.org/3/library/dataclasses.html)

### **Attrs**

Python classes without boilerplate. Mature and battle-tested with excellent performance.

[Card link](https://www.attrs.org/)

### **TypedDict**

Type hints for dictionaries with specific key-value types and API responses.

[Card link](https://docs.python.org/3/library/typing.html#typing.TypedDict)

### **Msgspec**

Fast serialization and validation library with JSON and MessagePack support.

[Card link](https://jcristharif.com/msgspec/)

## **The developer's choice for simple and powerful APIs**

Litestar was born from developers' need to boost productivity and platform performance. What began as a starlette based-solution is now a solid ASGI frameworks to build APIs that scale.

**1.6M**

Monthly downloads

[Card link](https://pypi.org/project/litestar/)

**8.4K**

GitHub Stars

[Card link](https://github.com/litestar-org/litestar)

**Open source**

Litestar is 100% powered by our passionate open source community.

[Start contributing](https://github.com/litestar-org/litestar)

[Card link](https://github.com/litestar-org/litestar)

**287**

Contributors

[Card link](https://github.com/litestar-org/litestar/graphs/contributors)

**2.1K**

Members

[Card link](https://discord.gg/litestar)

## **Sponsors**

Litestar is made possible by contributors and sponsor, it will remain free and open source under the MIT License.

[Become a sponsor](https://opencollective.com/litestar)

- [![Description of image](https://litestar.dev/_ipx/s_40x40/sponsors/scalar.png)**Scalar**](https://scalar.com/)
- [![Description of image](https://litestar.dev/_ipx/s_40x40/sponsors/telemetry_sports.jpg)**Telemetry Sports**](https://telemetrysports.com/)