langfuse
यह क्या करती है
Langfuse एक ऐसा टूल है जिससे आप अपने AI ऐप्लिकेशन के काम करने के तरीके पर नज़र रख सकते हैं और उसे समझ सकते हैं। इससे आप देख सकते हैं कि AI कौन से स्टेप उठाता है, उसे दिए गए निर्देशों को कैसे मैनेज करें, और उसके जवाब सही आ रहे हैं या नहीं, यह भी जांच सकते हैं।
कब इस्तेमाल करें
- ✓जब आपको देखना हो कि AI ऐप्लिकेशन के अंदर क्या हो रहा है।
- ✓AI ऐप्लिकेशन में गड़बड़ियां ढूंढने और ठीक करने के लिए।
- ✓यह पक्का करने के लिए कि AI के जवाब एक जैसे और अच्छी क्वालिटी के हों।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/langfuse/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं Langfuse को अपने Python ऐप्लिकेशन की निगरानी के लिए कैसे सेट करूं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
Langfuse आपके ऐप्लिकेशन में कोड का एक छोटा सा हिस्सा जोड़कर काम करता है, जो ज़रूरी जानकारी रिकॉर्ड करता है। यह जानकारी Langfuse प्लेटफ़ॉर्म पर भेजी जाती है, जहां आप उसे देख और विश्लेषण कर सकते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Langfuse
Instrument an existing LLM application with traceable, minimized observations and versioned evaluation inputs. Modified by AAS maintainers on 2026-09-05 to replace mixed legacy SDK examples with a current, bounded setup procedure; existing source attribution is preserved.
When to Use
Use when an application already needs Langfuse tracing, prompt management or evaluation, or when debugging missing/duplicated spans. Do not add an observability service merely because an LLM is present; start from the incident or product decision the data must support.
Inputs and prerequisites
- Installed Python or JS SDK version, framework and runtime lifecycle.
- The explicitly authorized Langfuse project/endpoint, credentials supplied through the project’s secret mechanism, and data retention/access policy.
- An allowlist of observable fields and a synthetic request that contains no private content.
- A defined verifier: expected parent/child spans, status, timing, model/prompt version and flush behavior.
Procedure
- Inspect the dependency lock and existing instrumentation. Do not mix old
langfuse.trace(),langfuse.decoratorsorlangfuse.callbackexamples with the current SDK without checking its migration guide. - Choose one integration layer: direct SDK spans, a framework callback or OpenTelemetry instrumentation. Avoid tracing the same call twice through overlapping wrappers.
- Configure the approved endpoint and credentials outside source. Verify export permission before running an example: instrumentation can send inputs, outputs, metadata and exceptions externally.
- Start with explicit observations containing only synthetic or allowlisted values. Add correlation IDs only when their scope and privacy treatment are defined.
- Execute one success and one failure request; inspect the actual exported span tree and verify no sensitive fields escaped through nested metadata or third-party instrumentation.
- Flush in short-lived processes and test shutdown/timeouts. A returned SDK call does not by itself prove ingestion.
- Add prompt/evaluation metadata only after the trace boundary works. Pin the prompt version or record the exact resolved version; a mutable production label is not an immutable experiment input.
Minimal Python observation
The current Python SDK overview documents get_client() and context-managed observations. Use the API matching the installed SDK. After configuration and export authorization, this synthetic example creates one span and no LLM call:
from langfuse import get_client
client = get_client()
with client.start_as_current_observation(as_type="span", name="synthetic-health-check") as span:
span.update(output={"status": "ok"})
client.flush()
Expected observation: one completed synthetic-health-check span in the intended project with the fixed status value. This skill does not claim that a live ingestion check has run. A wrong endpoint, missing credentials or exporter failure must be reported as a failed/unverified check.
Privacy and masking
Do not treat truncation as redaction. Prefer omitting raw prompts, user messages and tool payloads; inspect all configured exporters. Current Python SDKs provide mask_otel_spans for export-time transformation; the legacy mask hook covers a narrower set of SDK-created attributes. Choose the installed-version mechanism using the masking documentation, and test a synthetic secret in nested metadata and an exception. Collector-side filtering occurs after data leaves the application, so place it within the approved trust boundary.
Prompt management and evaluation
Record dataset revision, prompt version, model identifier, tool configuration and evaluator definition. Keep evaluator errors distinct from low scores. A judge response must pass a bounded schema and finite-range validation; never convert arbitrary model text directly with float() and call it measured quality. Calibrate judgments against reviewed examples and report disagreement. Separate user feedback from an automatic judge score.
…
अक्सर पूछे जाने वाले सवाल
'Spans' क्या होते हैं?
Spans AI ऐप्लिकेशन के अंदर होने वाली अलग-अलग घटनाओं के रिकॉर्ड जैसे होते हैं। इनसे पता चलता है कि क्या हुआ, कब हुआ और उसमें कितना समय लगा।
क्या Langfuse मेरे संवेदनशील डेटा की सुरक्षा करता है?
हां, निगरानी के लिए भेजे जाने से पहले Langfuse में संवेदनशील जानकारी को मास्क करने या हटाने की सुविधा है, जिससे आपकी प्राइवेसी बनी रहे।
क्या मैं Langfuse को अलग-अलग प्रोग्रामिंग भाषाओं के साथ इस्तेमाल कर सकता हूं?
हां, Langfuse Python और JavaScript के साथ-साथ LangChain और LlamaIndex जैसे लोकप्रिय फ्रेमवर्क के साथ भी इंटीग्रेट होता है।
जानकारी
लेखक का मूल विवरण
Expert in Langfuse - the open-source LLM observability platform. Covers tracing, prompt management, evaluation, datasets, and integration with LangChain, LlamaIndex, and OpenAI. Essential for debugging, monitoring, and improving LLM applications in production.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #5025
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।