Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

langfuse

Skill by henryalouf

Guides an AI assistant through Langfuse, the open-source LLM observability platform. It covers tracing, prompt management, evaluation, and datasets for developers monitoring LLM apps in production.

  • Score 69
  • 204 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install langfuse

Built from the published package, never by AI.

git clone --depth 1 https://github.com/henryalouf/ruflow /tmp/ruflow && mkdir -p ~/.claude/skills && cp -r /tmp/ruflow/.agents/skills/langfuse ~/.claude/skills/langfuse

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install langfuse in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Langfuse is a skill that gives an AI assistant guidance on the Langfuse open-source LLM observability platform. It covers LLM tracing, prompt management and versioning, evaluation and scoring, and dataset management. The skill includes Python and JS/TS code patterns for basic tracing, the OpenAI SDK, LangChain callbacks, prompt handling, scoring, and the @observe decorator.

The skill lists integrations with LangChain, LlamaIndex, OpenAI SDK, Anthropic SDK, and Vercel AI SDK. It also suggests workflows that pair Langfuse with the langgraph, crewai, and structured-output skills. It is aimed at developers who debug, monitor, and improve LLM applications in production, using Langfuse Cloud or a self-hosted instance.

Written from the project's SKILL.md and checked against it.

What it can do

  • Basic tracing setupCreates traces, generations, and scores for LLM calls using the Langfuse client.
  • OpenAI integrationUses the langfuse.openai drop-in client so OpenAI calls are traced automatically.
  • LangChain integrationAttaches a Langfuse callback handler to LangChain chains and agents.
  • Prompt managementCreates, fetches, compiles, and labels prompt versions stored in Langfuse.
  • Evaluation and scoringAdds manual, boolean, and LLM-as-judge scores to traces.
  • Dataset managementCreates evaluation datasets and links traces to dataset items.
  • Decorator patternUses @observe to build nested traces and spans in function-based apps.

What you need

  • Langfuse account (cloud or self-hosted)
  • Langfuse public and secret keys
  • LLM API keys
  • Python or TypeScript/JavaScript

Try asking

  • Add Langfuse tracing to my OpenAI chat completion calls
  • Set up a Langfuse callback handler for my LangChain agent
  • Create a Langfuse prompt with a production label and fetch it

Good to know

  • Self-hosted setup requires infrastructure.
  • High-volume use may need optimization.
  • The real-time dashboard has latency.
  • Evaluation requires setup.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/langfuse/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to langfuse

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

langfuse: common questions

What is Langfuse?

The source describes Langfuse as an open-source LLM observability platform covering tracing, prompt management, evaluation, and datasets.

Which frameworks does this skill integrate with?

The skill lists LangChain, LlamaIndex, OpenAI SDK, Anthropic SDK, and Vercel AI SDK as common integrations.

Can Langfuse be self-hosted?

Yes, the source lists Langfuse Self-hosted as a deployment option, though it notes that self-hosting requires infrastructure.

How do I install langfuse?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is langfuse free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is langfuse safe to use?

It scores 69 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to langfuse?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

langfuse Install

Add to stack

Loading.