Open-source framework for building asynchronous web

services that interact with event streams

Open-source framework for building asynchronous web services that interact with event streams

Get Started

Swim with the stream…ing services

WRITE

producers & consumers for message queues in a simplified way

AUTOMATE

parsing, networking, and documentation generation

STREAMLINE

your workflow & accelerate your progress

Go-to framework for modern, data-centric
microservices

Multiple Brokers

FastStream provides a unified API to work across multiple message brokers (Kafka [AIOKafka & Confluent], RabbitMQ, NATS, Redis support)

Pydantic Validation

Leverage Pydantic's validation capabilities to serialize and validates incoming messages

Automatic Docs

Stay ahead with automatic AsyncAPI documentation

Intuitive

Full-typed editor support makes your development experience smooth, catching errors before they reach runtime

Powerful Dependency Injection System

Manage your service dependencies efficiently with FastStream's built-in DI system

Testable

Supports in-memory tests, making your CI/CD pipeline faster and more reliable

Extensible

Use extensions for lifespans, custom serialization and middleware

Integrations

FastStream is fully compatible with any HTTP framework you want (FastAPI especially)

Built for Automatic Code Generation

FastStream is optimized for automatic code generation using advanced models like GPT and Llama

The community has spoken!

STAY IN TOUCH

Show us some love by giving our GitHub repository a star, and joining our Discord server .

This helps us to stay in touch with you and encourages us to continue developing and improving the framework. Thank you for your support!

FastStream