Turn any Python function into a web app with a single decorator ⚡
- Documentation: docs.fastdash.app
- Source: github.com/dkedar7/fast_dash
- Install:
pip install fast-dash
- Claude Code users:
/plugin marketplace add dkedar7/fast_dash then /plugin install fast-dash@fast-dash to load the Fast Dash skill — agents will pick it up automatically when you ask them to "turn this function into a web app".
What is Fast Dash?
Fast Dash inspects your Python function's signature, picks UI components from the type hints and default values, and serves the result as a Plotly Dash app — usually in under five lines of code. No frontend, no callbacks, no boilerplate.
It exists for one job: collapse the gap between a working Python function and a shareable interactive web app.

Fast Dash in one minute. Watch it in 1080p on docs.fastdash.app.
30-second example
pip install fast-dash
from fast_dash import fastdash
@fastdash
def greet(name: str = "world") -> str:
return f"Hello, {name}!"
# Serving on http://127.0.0.1:8080
That's the entire app. Open the URL, type a name, click Run, see the response.
Chat apps
Pass chat=True and your callback becomes a streaming chat app — a composer, a
scrolling transcript, and per-session history — with no LLM provider baked in:
from fast_dash import fastdash
@fastdash(chat=True)
def assistant(query: str):
for token in my_llm.stream(query): # any provider — you choose
yield token
yield strings to stream the reply as markdown; add a history parameter for
multi-turn memory, and any other parameter becomes a sidebar setting (tucked
into a collapsible accordion when there are many). chat= also accepts a
LangGraph graph, a (query, ctx) callable, or a chat-model instance.
Or keep a normal app and add an assistant beside it — pass your agent as
chat=: the agent reads your app's live inputs (ctx.inputs) and can drive it
(set_input / run_app) — anything a user can do, the agent can do.
from fast_dash import FastDash
def dashboard(revenue: int = 100, region: str = "West") -> str:
return f"{region}: ${revenue}"
def assistant(query, ctx): # ctx.inputs holds the app's live values
yield {"type": "set_input", "name": "revenue", "value": 250}
yield {"type": "run_app"}
yield "Bumped revenue to 250 and re-ran."
FastDash(callback_fn=dashboard, chat=assistant, chat_title="Helper").run()
Give the agent tools
Pass a chat model (or chat=True with chat_model=) and Fast Dash auto-builds
a LangChain assistant wired to your app. Its tools — read the app, set inputs,
run it, set individual outputs, rearrange the layout, run Python — come from
agent_toolkit(app), trimmed to the chat_tools allowlist you choose:
from fast_dash import FastDash
def dashboard(revenue: int = 100, region: str = "West") -> str:
return f"{region}: ${revenue}"