🕸️ Web apps in pure Python 🐍
[!NOTE] Build faster with Reflex:
- AI Builder - Generate full-stack Reflex apps in seconds.
- Agent Toolkit - Connect MCP and Skills to your coding assistant.
- App Management - Deploy and manage your Reflex apps.
Reflex is a library to build full-stack web apps in pure Python.
Key features:
See our architecture page to learn how Reflex works under the hood.
Important: We strongly recommend using a virtual environment to ensure the reflex command is available in your PATH.
Create a project, add Reflex, and start the development server with uv:
mkdir my_app_name
cd my_app_name
uv init
uv add reflex
uv run reflex init
uv run reflex runYou should see your app running at http://localhost:3000.
Now you can modify the source code in my_app_name/my_app_name.py. Reflex has fast refreshes so you can see your changes instantly when you save your code.
Build an image generation app in Python with Reflex: define the UI, manage state in a class, and call an image model from an event handler.
…State lost on WebSocket reconnect: link_token_to_sid emits new_token when old sid hasn't disconnected yet
`apps status --watch` reports completion before the deployment becomes current
checkbox_group/checkbox_cards are missing most of the props radio_group/radio_cards already expose
rx.form on_submit silently drops all but the last value for a checkbox group (or any repeated-name field)
reflex cloud apps logs --offset is ignored; only a fixed old window is returned (start/end works)
addEvents should flatten nested event lists instead of breaking the event queue
Auto-memoization splits local client-state button text from its setter
Adding rx.toast.provider duplicates every toast because the default overlay already mounts a provider
Remove BaseState._get_attribute
`reflex cloud project list` table renders `tier` as a raw JSON blob