langfuse/langfuse-js
🪢 Langfuse JS/TS SDK
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the week
#1 Repository of the week
langfuse-js
Modular mono repo for the Langfuse JS/TS client libraries.
Packages
[!IMPORTANT] The SDK was rewritten in v5 and released in March 2026. Refer to the v5 migration guide for instructions on updating your code.
| Package | NPM | Description | Environments |
|---|---|---|---|
| @langfuse/client | Langfuse API client for universal JavaScript environments | Universal JS | |
| @langfuse/browser | Langfuse browser SDK for public-key score ingestion | Browser | |
| @langfuse/tracing | Langfuse instrumentation methods based on OpenTelemetry | Node.js 20+ | |
| @langfuse/otel | Langfuse OpenTelemetry export helpers | Node.js 20+ | |
| @langfuse/openai | Langfuse integration for OpenAI SDK | Universal JS | |
| @langfuse/langchain | 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
Similar Projects
Discover other similar projects and AI models.
Reverse engineer anything with agents, from app behavior down to native binaries.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
Open-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.