Klingen describes a reference stack that connects production tracing and monitoring with offline datasets, experiments, and evaluations. Linking the two helps teams benchmark against real usage and learn from users after deploying changes.
The Self-Improving OSS Agent Stack
Speaker
Marc Klingen, co-founder of Langfuse, explains how teams can use production signals, evaluations, datasets, and AI agents to improve agent applications, speaking at an AI Engineer event.
Teams have traditionally reviewed traces, updated datasets, and designed evaluators by hand. Klingen says AI can propose agent fixes and, increasingly, dataset and evaluator updates, while people review changes that define what good performance means and which failures matter.
Customer support begins as a vague automation goal, and real error cases reveal what the application needs to handle. Klingen recommends that people set direction and review datasets and evaluators, while AI handles more of the repeated analysis and implementation work.
Langfuse built a changelog writer that proposes documentation updates for review through GitHub pull requests. The team found that its drafts were accurate but unclear and used internal jargon; an agent proposed dataset and evaluator updates, then a V2 implementation that improved user-facing language while retaining the existing accuracy and format checks.
Klingen describes running agents on batches of production signals, such as user feedback, internal labels, and app annotations, on a daily or weekly schedule. As agents query more data, systems need to support heavier reads, retain traces for long periods, and give teams ownership of their data.
Takeaways
- Connect production traces to offline datasets and evaluations so benchmarks reflect real user behavior.
- Use AI to propose fixes, dataset updates, and evaluators, while people review changes that set the target.
- Treat the target as something that evolves: error cases can reveal new needs and prompt a change in direction.
- Feed user feedback and internal annotations into regular improvement runs.
- Plan for agents to query large trace histories by keeping data accessible and retaining it over time.
Mentioned in this talk
Search inside this talk
What was claimed 8
- feature
Langfuse: Connects online tracing and monitoring with offline datasets and evaluation
“you need to bring the online and offline parts together.”
YouTube Unverified1 source· Talk
- featureagent loop: Uses production signals, datasets, and evaluation criteria to propose and verify agent fixes
“use AI mostly to propose improvements to the agent implementation.”
YouTube Unverified1 source· Talk
- featureagent loop: Humans review dataset and evaluator changes that define the improvement target
“teams are usually still involved in reviewing these changes”
YouTube Unverified1 source· Talk
- featureChangelog writer: Drafts documentation changes and updates them in response to review requests
“The changelog writer acts on those requests and updates the draft until it’s ready to release.”
YouTube Unverified1 source· Talk
- usesChangelog writer uses
GitHub
“there’s a code review step, as a GitHub PR”
YouTube Unverified1 source· Talk
- featureChangelog writer: Can improve clarity and customer-facing language using dataset and evaluator updates
“the agent suggests changes to the datasets and evaluators to test for jargon and improve clarity”
YouTube Unverified1 source· Talk
- feature
Langfuse: Allows annotations to feed into an improvement queue
“in Langfuse, for example, we also allow annotations to feed into that queue.”
YouTube Unverified1 source· Talk
- feature
Langfuse: Retains trace data long term without sampling
“We want to retain it for a long time and not sample it.”
YouTube Unverified1 source· Talk









