Developer Tools · Frameworks & Platforms
Reflex
Build full stack web apps with Python
Reflex is an Apache-2.0 Python framework for full stack web applications. It targets dashboards, internal tools, data applications, and customer software without requiring a separate JavaScript application. It supports self-hosting and Reflex Cloud, whose plans include a free tier and paid options from $25 per month.
Key facts
- License
- Apache-2.0
- Main language
- Python, TypeScript, JavaScript
- Maintainer
- Reflex with community contributors
- First released
- 2022
- Latest release
- v0.10.0, October 8, 2026
- GitHub stars
- 28,968, October 2026
- Hosted option
- Reflex Cloud, free plan; Pro from $25/month; Enterprise custom pricing
What Reflex is
Reflex is a Python framework for full stack web applications, and its repository describes it as a way to build web apps in pure Python. The project was created on October 25, 2022. Its GitHub repository lists 28,968 stars, 1,811 forks, and contributors including masenf, adhami3310, and Lendemor. The repository identifies the Apache License 2.0. Reflex is maintained by the project with community contributions. Reflex Cloud and enterprise services are offered by the company behind the project. Published customer material names an Autodesk dashboard delivered during a 60-day engagement. The latest main project release is v0.10.0, published October 8, 2026.
How it works
Reflex lets developers define pages, components, application state, and event handlers in Python while building full stack web applications. Its CLI initializes a project, launches the development server, and enables fast refreshes during editing, which supports a focused development cycle. When a user interacts with the interface, a backend event handler updates declared state, and Reflex sends the resulting changes to the browser through its event connection. The component library covers layouts, forms, tables, charts, dialogs, navigation, uploads, and other controls for dashboards, internal tools, data applications, and customer software. Python packages and external APIs can be integrated, while React libraries can be wrapped when built-in components do not meet a requirement. Projects can run on Reflex Cloud or team-managed infrastructure.
Architecture and recent releases
Reflex is an Apache-2.0 Python framework for full stack web applications, supporting dashboards, internal tools, data applications, and customer software without requiring a separate JavaScript application. It combines a Python backend with a generated web frontend and browser communication through WebSockets. In production mode, one server can serve both optimized components, while export commands can separate the static frontend from the Python backend for flexible hosting. SQLModel and SQLAlchemy support database-backed designs. Self-hosting guidance covers PostgreSQL and Redis container setups, with Redis supporting shared state across multi-worker deployments. Docker examples, reverse-proxy configuration, and private-network deployment help teams plan operations. Reflex supports self-hosting and Reflex Cloud, including a free tier and paid options from $25 per month. Release v0.10.0 requires Python 3.11 or newer and changes state behavior, database compatibility, and deployment requirements.
License and pricing
Reflex is an Apache-2.0 Python framework for building full stack web applications, including dashboards, internal tools, data applications, and customer software, without requiring a separate JavaScript application. The license permits commercial use, modification, redistribution, and SaaS deployment when its terms are followed. Reflex Cloud offers Free at $0, Pro plans at $25, $50, $100, or $200 per month, and Enterprise at custom pricing. Free provides one public hosted app, limited usage, and a managed database. Pro adds private applications, multiple apps, custom domains, selected-user access, deployment choices, regions, and always-on deployments. Enterprise adds custom delivery, SSO, RBAC, audit logs, on-premises or air-gapped deployment, and deployment within a customer's Google Cloud project. Self-hosting remains an option for teams requiring greater infrastructure control.
Limitations and how it compares
Reflex offers Python teams a broader full stack application structure than Streamlit, while NiceGUI presents a closer Python-based alternative. Streamlit can remain the faster choice for small analytical interfaces, whereas React gives developers more direct control over browser behavior, component design, and frontend tooling. Adopting Reflex requires familiarity with its state model, WebSocket-based operation, deployment configuration, and changes between releases, so teams should plan time for learning, testing, and maintenance. Reflex is a strong fit when one Python project needs to combine the user interface, backend events, database access, and deployment workflow, particularly when teams value the option to self-host or use managed Reflex Cloud hosting. This approach can reduce separation between application layers while retaining flexibility for internal tools, dashboards, data applications, and customer-facing software.
Main features
- Pure Python UI. Define pages, components, reactive state, and event handlers in Python without maintaining a separate JavaScript application.
- Reactive state. Backend event handlers update declared state, and Reflex sends resulting changes to the browser through its event connection.
- Component library. Built-in controls cover layouts, forms, tables, charts, dialogs, navigation, uploads, and other common application interfaces.
- Database support. SQLModel and SQLAlchemy support database-backed applications, migrations, queries, and persistent application data.
- React integration. Teams can wrap React libraries directly when the standard Reflex component set does not cover a required interface.
- Production deployment. The CLI runs development servers, builds production applications, exports frontend and backend bundles, and deploys to Reflex Cloud.
Self-hosting Reflex
Install Reflex in a Python environment with uv or pip, create the project with the CLI, and run production mode on your server. The documentation also describes Docker images, including a production Compose example with a TLS-terminating webserver, Redis, and PostgreSQL. A single production server can serve the frontend and backend, or the frontend can be exported to static hosting while the Python backend runs separately. Configure a reverse proxy to pass WebSocket upgrade requests and route event, health, and upload endpoints. The operator manages TLS, secrets, monitoring, backups, processes, database migrations, and updates. The documentation does not publish a universal minimum CPU or memory requirement.
Strengths
- Python can cover interface, state, and backend event logic in one project.
- Apache-2.0 permits commercial deployment and hosted SaaS use.
- The same project supports Cloud hosting and customer-controlled infrastructure.
- Frontend export allows static hosting with a separate Python backend.
Drawbacks
- WebSocket operation adds framework-specific proxy and debugging requirements.
- Self-hosting requires teams to manage TLS, monitoring, backups, and upgrades.
- Version 0.10 drops Python 3.10 and introduces state-store compatibility constraints.
What teams replace with it
Teams usually evaluate Reflex when they want to move off Retool, Streamlit Cloud, Anvil.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to Reflex
- Streamlit
- NiceGUI
- Flet
- Panel
- Anvil
Frequently asked questions
Is Reflex free?
The framework is Apache-2.0 and can run on infrastructure controlled by the application team. Reflex Cloud has a Free plan priced at $0, with one public hosted app, limited usage, and a managed database. Pro plans cost $25, $50, $100, or $200 per month and include higher hosting and AI usage allowances.
Can Reflex be used commercially?
Yes. Apache-2.0 permits commercial use, modification, redistribution, and SaaS deployment subject to the license terms. Reflex Cloud and enterprise services have separate commercial terms. Teams should distinguish the open source framework from hosted services and the Enterprise Package listed on the pricing page.
How do I self-host a Reflex application?
Install Reflex in a Python environment, create the project with the CLI, and run production mode or build a Docker image. Configure a reverse proxy for WebSocket traffic. Use persistent database storage, Redis for shared state in multi-worker deployments, and an operational plan for TLS, backups, monitoring, secrets, and upgrades.
How does Reflex compare with Streamlit?
Streamlit is quicker for data exploration and small dashboards. Reflex provides explicit pages, state, event handlers, database models, frontend export, and a separate backend deployment model for broader applications. Streamlit remains a strong choice for analytical prototypes, while Reflex fits teams that need a more structured full stack application in Python.
Can Reflex run inside a private network?
Yes. The self-hosting documentation describes running the frontend and backend on a private network, company VPN, on-premises server, or customer cloud account. The operator still needs internal DNS, TLS, WebSocket routing, secrets, backups, and access to any external APIs or authentication services used by the application.
Similar projects to compare
- ActivePiecesMIT, Commercial License for enterprise featuresActivePieces is an open-source workflow automation platform for teams building flows, AI agents, tables, and MCP connections. Its core uses the MIT license, while enterprise features use a Commercial License. A hosted cloud exists with a free tier, paid plans from $20 monthly, and cloud or on-premises deployment options.
- AITableAGPL-3.0AITable is an AGPL-3.0 low-code platform that combines spreadsheet-style databases, forms, automation, dashboards, permissions, APIs, and embedding. It targets teams building collaborative internal tools and data applications. A hosted AITable.ai service exists alongside the self-hostable Open Source edition, while enterprise embedding and administration require separate commercial terms.
- AppSmithApache-2.0Appsmith is an Apache-2.0 low-code platform for building internal tools, dashboards, admin panels, and CRUD applications. It connects interfaces to databases and APIs, supports Docker and Kubernetes deployment, and offers Appsmith Cloud. Cloud pricing includes a free plan for up to five users, Business at $15 per user monthly, and Enterprise at $2,500 monthly for 100 users.
- AppwriteBSD-3-ClauseAppwrite is an open-source backend platform combining authentication, databases, storage, functions, messaging, hosting, realtime features, firewall controls, and MCP access. It is licensed under BSD 3-Clause, runs through Docker or Kubernetes when self-hosted, and is also available through Appwrite Cloud, which has a Free plan and paid database options.
- AutomaAGPL-3.0 and Automa Commercial LicenseAutoma is a Chrome and Firefox extension for building browser automations by connecting blocks. It supports form filling, screenshots, scraping, scheduled execution, workflow sharing, and standalone Chrome extension generation. The repository uses AGPL and Automa Commercial License terms, while ordinary local use runs in the browser without a required server.
- BkndApache-2.0Bknd is an Apache-2.0 backend that embeds in JavaScript applications, offering REST APIs, an admin dashboard, authentication, media, workflows, a type-safe SDK, React hooks, and plugins. It supports visual, code-only, and hybrid configuration, with deployment across several JavaScript runtimes. No first-party hosted subscription price is documented, so operators arrange their own runtime, database, and storage.