Urgent.News

What's breaking now, across thousands of outlets.

Tech

Langfuse : combler l'angle mort de l'observabilité des agents IA

Le constat : Grafana, Datadog et consorts ne suffisent plus Depuis quelques années, nous avons industrialisé le suivi de nos applications avec des outils d'observabilité éprouvés : Grafana, Datadog, Dynatrace, Splunk, ... Ces plateformes excellent pour surveiller l'infrastructure, la disponibilité des services, les temps de réponse HTTP ou la consommation des ressources. Elles restent…

Langfuse is addressing the gap in observability for AI agents. While Grafana, Datadog, and similar tools are widely adopted for monitoring applications, they fall short in observing the behavior of AI agents. These agents can perform well without any errors or latency issues, yet still hallucinate, choose incorrect tools, or produce unsatisfactory responses.

Such discrepancies are invisible to traditional Application Performance Monitoring (APM) tools. Langfuse aims to fill this gap by providing a platform dedicated to AI agent engineering. The platform covers tracing, evaluation, prompt management, and experimentation. Unlike generic APM tools, Langfuse recognizes that AI agents are not static, but continually evolving with improvements based on real user signals.

This continuous improvement loop is the foundation of Langfuse's platform, with three key functionalities.

Firstly, Langfuse decouples prompt management from the application. Most LLM applications embed prompts directly in the code, meaning any prompt adjustments require a full code review and deployment cycle. Langfuse addresses this by centralizing prompts in its platform, allowing versioning and easy rollback in case of regression.

Users can also update prompts directly within the interface and have the changes applied automatically without redeployment. The platform also provides integration through SDKs for Python and JavaScript/TypeScript, as well as an HTTP API for other languages. This decoupling fundamentally changes the iteration process, making prompt engineering a continuous, measurable cycle rather than a byproduct of the development process.

Secondly, Langfuse tracks scores in real-time, serving as the universal measure for assessing the quality of an agent's output. Three primary sources contribute to these scores: explicit or implicit user feedback, automated evaluator judgments, and continuous production traffic evaluation. Langfuse allows for the configuration of automated evaluators using custom criteria and scores, providing immediate feedback in production.

This real-time scoring enables teams to objectively measure the impact of prompt changes and make data-driven decisions.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Django 6.1's FETCH_PEERS collapses a 2,001-query loop into 2

A loop over 2,000 Django model instances that touched a foreign key on each one fired 2,001 queries against Postgres and took, at its fastest run, 1.14 seconds on localhost.

  • Django 6.1 introduces fetchmode feature to optimize N+1 query problems
  • Switching to fetchmode(FETCHPEERS) reduces queries from 2,001 to 2
  • Improves performance by 87x, from 1.14 seconds to 13.1ms

More from Monday 14 September →