Skip to content
Discussion options

You must be logged in to vote

Based on the available sources, Langfuse requires a backend infrastructure to function - you cannot run Langfuse purely with pip install langfuse without either cloud or self-hosted infrastructure(1)(2).

The Langfuse Python SDK (pip install langfuse) is just a client that sends trace data to a Langfuse backend(3). The backend requires:

  • PostgreSQL database
  • ClickHouse database (for v3)
  • Redis/Valkey
  • S3/Blob storage
  • Worker container(1)(4)

For the Strands Agents integration specifically, you need to configure OpenTelemetry to point to a Langfuse backend endpoint(3):

os.environ["OTEL_EXPORTER_OTLP_ENDPOINT"] = os.environ.get("LANGFUSE_BASE_URL") + "/api/public/otel"
os.environ["OTEL_EXPORTER_…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Lotte-Verheyden
Comment options

Answer selected by Lotte-Verheyden
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants