Installation¶
Requirements¶
- Python >= 3.10
- A running Temporal server (for production use)
Install from PyPI¶
Or with uv:
This installs the core dependencies:
langgraph >= 1.0.0temporalio >= 1.7.0
Optional dependencies¶
For encryption support (AES-GCM or Fernet):
For OpenTelemetry metrics:
Running a local Temporal server¶
For development, you can run Temporal locally with Docker Compose. The repository includes a pre-configured setup:
git clone https://github.com/pradithya/langgraph-temporal.git
cd langgraph-temporal
cp .env.ci .env
make start_temporal
This starts:
- Temporal Server on
localhost:7233(gRPC) - Temporal Web UI on
http://localhost:8233 - PostgreSQL as the persistence backend
- Elasticsearch for workflow visibility
To stop:
Temporal CLI
For a lighter-weight setup, you can also use the Temporal CLI:
This starts a single-node Temporal server at localhost:7233 with the Web UI at http://localhost:8233.