Langfuse Api

🏢Official
by langfuse · vlatest · Repository

Provides API guidance and assistance for agent workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add langfuse-api npx -- -y @trustedskills/langfuse-api
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "langfuse-api": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/langfuse-api"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The langfuse-api skill provides direct programmatic access to Langfuse, a platform designed for observability and evaluation of LLM applications. It enables AI agents to log traces, evaluate outputs, and track metrics within the Langfuse ecosystem without manual intervention.

When to use it

  • Automating the logging of agent interactions and decision-making processes for later analysis.
  • Triggering real-time evaluations of model responses against specific criteria or datasets.
  • Integrating Langfuse observability directly into production AI workflows for continuous monitoring.
  • Retrieving historical trace data to audit past agent performance or debug issues.

Key capabilities

  • Trace Logging: Automatically records inputs, outputs, and metadata from AI interactions.
  • Evaluation: Facilitates structured assessment of model responses to measure quality and accuracy.
  • Observability: Provides a centralized view of LLM application behavior and performance metrics.

Example prompts

  • "Log the current conversation trace with Langfuse using the langfuse-api skill."
  • "Evaluate this generated response for helpfulness and tone, then record the score in Langfuse."
  • "Retrieve the last five traces from our production environment to analyze user sentiment trends."

Tips & gotchas

Ensure your AI agent has valid API credentials configured before attempting to log or evaluate data. This skill is specifically designed for users already operating within the Langfuse platform; it does not provide a standalone observability solution but rather acts as an integration bridge.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
langfuse
Installs
57

🏢 Official

Published by the company or team that built the technology.