Apps
An app is a long-running service that Flyte keeps up, rather than a job that runs to completion. Use an app when something needs to stay reachable at a URL: a dashboard, a REST API, a model endpoint, or an MCP server.
Apps are declared the same way tasks are. An AppEnvironment names the image, the port, and the scaling behavior, and the code inside it is an ordinary web application.
app = flyte.AppEnvironment(name="dashboard", image=..., port=8080)Because apps and tasks live in the same project, an app can read what a task produced without moving data between systems, and a task can call an app it depends on.
Apps scale to zero when idle, so a rarely-used dashboard costs nothing between visits.
Configure apps
Define
AppEnvironments with ports, autoscaling, custom domains, and authentication.
Build apps
Build dashboards, REST APIs, and model endpoints with FastAPI, Streamlit, vLLM, and more.
Native app integrations
Use pre-built environments for popular frameworks like Streamlit, FastAPI, vLLM, SGLang, and Ollama.
Serve and deploy apps
Use flyte serve for fast iteration or flyte deploy for production deployments.