---
title: "Iterating Towards LLM Reliability with Evaluation Driven Development"
description: "Dosu, an AI teammate that triages GitHub issues and answers code questions, uses evaluation driven development (EDD): ship a behavior with a few evals, monitor production for failure modes, add failing examples to offline eval datasets, iterate, and relaunch."
url: "https://swe.quest/articles/iterating-towards-llm-reliability-with-evaluation-driven-development-ec58eecfac04025b"
canonical: "https://www.langchain.com/blog/iterating-towards-llm-reliability-with-evaluation-driven-development"
source: "LangChain"
published: "2026-11-09"
difficulty: "medium"
kind: "Case study"
reading_minutes: 7
tags: ["evals","llms","observability"]
---

# Iterating Towards LLM Reliability with Evaluation Driven Development

A post on [LangChain](https://swe.quest/sources/langchain.md), published 2026-11-09, 7 min read, Case study. Original: [https://www.langchain.com/blog/iterating-towards-llm-reliability-with-evaluation-driven-development](https://www.langchain.com/blog/iterating-towards-llm-reliability-with-evaluation-driven-development)

## Summary

Dosu, an AI teammate that triages GitHub issues and answers code questions, uses evaluation driven development (EDD): ship a behavior with a few evals, monitor production for failure modes, add failing examples to offline eval datasets, iterate, and relaunch. As usage grew to thousands of repositories, manual log grepping stopped scaling, so the team adopted LangSmith via its \`@traceable\` SDK decorator to trace function inputs, rendered prompts and LLM outputs in one trace. They find failures by searching on explicit feedback, user sentiment, internal errors and response latency, which surfaced cases like very slow responses to huge log pastes. Next they plan to build eval datasets automatically from production traffic.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)

## Prerequisites

- LLM application basics ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- prompt engineering

## Keywords

LangSmith, Dosu, LangChain, evaluation driven development

## Related posts

- [How Podium optimized agent behavior and reduced engineering intervention by 90% with LangSmith](https://swe.quest/articles/how-podium-optimized-agent-behavior-and-reduced-engineering-intervention-by-90-fa598a71aaa6c2e6.md): LangChain · 2026-08-26 · Easy · 6 min read · Evaluation, AI agents, LLMs, Observability, Model training
  Podium used LangSmith tracing and evaluation to improve its AI Employee agent, which makes 20-30 LLM calls per customer interaction.
- [Can LLMs replace on call SREs today?](https://swe.quest/articles/can-llms-replace-on-call-sres-today-892e82a344776e7f.md): ClickHouse · 2025-08-14 · Medium · 57 min read · SRE, Observability, LLMs, AI agents, Evaluation
  LLMs were tested on autonomous root cause analysis of production incidents and fell short of replacing on-call SREs.
- [What Is Eval-Driven Development? How to Improve AI Agents](https://swe.quest/articles/what-is-eval-driven-development-how-to-improve-ai-agents-b74ea0bdd23f7298.md): LangChain · 2026-11-12 · Medium · 11 min read · Evaluation, AI agents, Testing, LLMs
  Eval-driven development adapts test-driven development to non-deterministic agents: write a pass/fail spec for one behavior, build a dataset and evaluator before implementing, run a baseline, then hill-climb by comparing experiments per example.
- [Detecting malicious pull requests at scale with LLMs](https://swe.quest/articles/detecting-malicious-pull-requests-at-scale-with-llms-18b7d45442154d44.md): Datadog Engineering · 2025-10-21 · Medium · 12 min read · Supply chain security, Threat detection, LLMs, Code review, Evaluation
  Datadog's SDLC Security team built BewAIre, an LLM-based reviewer that classifies the diff of every merged PR (nearly 10,000 a week) as benign or malicious, with a written rationale emitted as a security signal for real-time triage.
- [You can’t vibe code a prompt](https://swe.quest/articles/you-can-t-vibe-code-a-prompt-7bae994c4b57de8e.md): incident.io · 2025-03-25 · Medium · 11 min read · LLMs, Evaluation, AI for coding
  Letting an LLM iteratively rewrite a prompt until evals pass produces overfitted, brittle prompts.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
