Rapidly build AI apps in Python
[!WARNING] Mesop is no longer maintained as of September 30, 2026. No further updates, bug fixes, or support will be provided.
If you're interested in learning how to use Mesop, please read our main docs.
If you're interested in contributing to the core Mesop framework, please read our contributing guide.
Mesop is a Python-based UI framework that allows you to rapidly build web apps like demos and internal apps:
Intuitive for UI novices ✨
Frictionless developer workflows ️
**Flexible for delightful demos **
import mesop as me
import mesop.labs as mel
@me.page(path="/text_to_text", title="Text to Text Example")
def app():
mel.text_to_text(
upper_case_stream,
title="Text to Text Example",
)
def upper_case_stream(s: str):
return "Echo: " + s.capitalize()You can try Mesop on Colab!
Step 1: Install it
pip install mesopStep 2: Copy the example above into main.py
Step 3: Run the app
mesop main.pyLearn more in Getting Started.
If you identify a security vulnerability with Mesop, please file a GitHub security issue and we will promptly respond to it.
This is not an officially supported Google product.
Improve WebSocket probe to support non-redirect behaviours of corporate proxies
Deploy to showcase action not working anymore
Chrome ERR_NETWORK_CHANGED error can cause loading bar to keep going and it won't reset
Add a way to push data to Mesop client when using Web Sockets.
When Mesop WebSocket lose connection and reconnects, state is lost.
Don't strip out query param for absolute URL navigations
me.navigate() in page load does not work some time
Add protobuf json serialization support to MesopJSONEncoder
Add on_blur trigger for Autocomplete component
Custom Classes for individual Components