Skip to content

🪢 Langfuse JS/TS SDKs - Instrument your LLM app and get detailed tracing/observability. Works with any LLM or framework

License

Notifications You must be signed in to change notification settings

langfuse/langfuse-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Banner

langfuse-js

MIT License CI test status GitHub Repo stars Discord YC W23

Modular mono repo for the Langfuse JS/TS client libraries.

Packages

Important

The SDK was rewritten in v4 and released in August, 2025. Refer to the v4 migration guide for instructions on updating your code.

Package NPM Description Environments
@langfuse/client NPM Langfuse API client for universal JavaScript environments Universal JS
@langfuse/tracing NPM Langfuse instrumentation methods based on OpenTelemetry Node.js 20+
@langfuse/otel NPM Langfuse OpenTelemetry export helpers Node.js 20+
@langfuse/openai NPM Langfuse integration for OpenAI SDK Universal JS
@langfuse/langchain NPM Langfuse integration for LangChain Universal JS

Documentation

Development

This is a monorepo managed with pnpm. See CONTRIBUTING.md for detailed development instructions.

Quick start:

pnpm install    # Install dependencies
pnpm build      # Build all packages
pnpm test       # Run tests
pnpm ci         # Run full CI suite

License

MIT

About

🪢 Langfuse JS/TS SDKs - Instrument your LLM app and get detailed tracing/observability. Works with any LLM or framework

Topics

Resources

License

Stars

Watchers

Forks

Contributors 30

Languages