Installation
This guide will help you install Graflow on your system.
System Requirements
- Python 3.9 or higher
- Docker (optional, for containerized tasks)
Installation Methods
- pip
- uv
pip install graflow
uv add graflow
Install with All Extras
To install Graflow with all optional dependencies:
- pip
- uv
pip install "graflow[all]"
uv add "graflow[all]"
graflow[all] includes the following extras:
| Extra | Description |
|---|---|
api | REST API server (FastAPI, Uvicorn) |
visualization | Graph visualization (Matplotlib, Graphviz) |
tracing | Observability (OpenTelemetry, Langfuse) |
docker | Docker-based task execution |
redis | Redis-backed distributed execution |
adk | Google ADK agent integration |
pydantic-ai | Pydantic AI agent integration |
You can also install individual extras, e.g. graflow[visualization] or graflow[tracing].
Verify Installation
After installation, verify that Graflow is installed correctly:
import graflow
print(graflow.__version__)
You should see the version number printed to the console.
Next Steps
Now that you have Graflow installed, let's create your first workflow in the Hello World tutorial.