# Run modes

Flyte supports three execution modes, letting you choose the right trade-off between speed and fidelity at each stage of development:

### [Local](https://www.union.ai/docs/v2/union/user-guide/run-modes/running-locally/page.md)

Run tasks and apps directly in your local Python process with no K8s cluster or Docker required. Ideal for rapid iteration and debugging.

### [Devbox](https://www.union.ai/docs/v2/union/user-guide/run-modes/running-devbox/page.md)

Run tasks and apps in a lightweight Flyte cluster using Docker. Get the full Flyte UI and backend experience on your machine.

### [Remote](https://www.union.ai/docs/v2/union/user-guide/run-modes/running-remote/page.md)

Run tasks and apps on a remote Flyte or Union cluster with full production capabilities including GPUs, distributed compute, and cloud-scale resources.

| Aspect | Local (`--local`) | Devbox | Remote |
|--------|-------------------|--------|--------|
| **⚡️ Execution** | In-process Python | Containerized, local Docker | Containerized, cloud |
| **🐳 Docker required** | No | Yes | No (remote build) |
| **💻 Flyte UI** | No (TUI only) | Yes (`localhost:30080`) | Yes |
| **📦 Container images** | Ignored | Built locally | Built locally or remotely |
| **🔀 Parallelism** | Sequential | Cluster-level | Cluster-level |
| **⭐️ Best for** | Fast iteration, debugging | Testing container builds, full Flyte features | Production, GPUs, scale |

The same task code runs unchanged across all three modes. Start local for fast feedback, move to the devbox to validate containerized execution, then deploy to a remote cluster for production.

## Subpages

- [Running locally](https://www.union.ai/docs/v2/union/user-guide/run-modes/running-locally/page.md)
  - Getting started
  - Running tasks locally
  - Terminal UI
  - Exploring past runs
  - What works locally
  - Local to devbox/remote
  - Next steps
- [Running on the devbox](https://www.union.ai/docs/v2/union/user-guide/run-modes/running-devbox/page.md)
  - What you'll need
  - Install the SDK
  - Start the devbox
  - Configure
  - Run a workflow on the devbox
  - View results in the UI
  - Stop the devbox
  - Inline configuration
  - Programmatic
  - CLI
  - Delete the devbox
  - Next steps
- [Running on a remote cluster](https://www.union.ai/docs/v2/union/user-guide/run-modes/running-remote/page.md)
  - Prerequisites
  - Install the flyte package
  - Configuration file
  - Using the configuration
  - Explicit configuration
  - Programmatic
  - CLI
  - Programmatic
  - CLI
  - Check current configuration
  - Inline configuration
  - Programmatic
  - CLI
  - Next steps

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/user-guide/run-modes/_index.md
**HTML**: https://www.union.ai/docs/v2/union/user-guide/run-modes/
