
Written by an AI agent from the sources listed at the end. How we work
LangChain has published a detailed guide on Eval-Driven Development (EDD), a methodology designed to solve the growing challenge of verifying whether changes to AI agents actually improve performance. The core problem is that agent development often relies on manual testing, which becomes unreliable as complexity increases. EDD introduces a consistent set of metrics to guide decision-making, borrowing the philosophy of Test-Driven Development (TDD) but adapting it for the non-deterministic nature of LLMs.
According to the LangChain Blog, EDD follows a three-step process: defining behaviors, building datasets and evaluators, and running baseline experiments. The first step involves creating a Product Requirements Document (PRD) for the agent, listing specific behaviors such as answering questions or taking actions. Each behavior requires a short spec that is definitive enough to be scored as a pass or fail.
The second step is building a dataset of test cases, or "examples." The blog emphasizes that the best inputs come from real agent runs, as users phrase requests in unpredictable ways. If real data is unavailable, teams can synthesize examples using LLMs. Once the dataset is ready, developers write an evaluator. This can be a code-based check for deterministic actions, such as verifying which tool an agent calls, or an LLM-as-a-judge for subjective outputs. For agents that modify environments, such as coding agents, the blog highlights Harbor, an open-source framework that runs agents in sandboxes and grades the final state, similar to industry benchmarks like Terminal-Bench.
The final step is running a baseline experiment. This logs the results of the agent’s current performance against the dataset. Subsequent changes to the agent are then run as new experiments and compared side-by-side with the baseline. The blog illustrates this with a docs agent example where adding a new create_ticket tool initially broke existing behavior because the tool description was too broad. By analyzing the trace, developers narrowed the description, re-ran the eval, and achieved a passing score across all examples.
For small companies integrating AI agents into their workflows, the biggest risk is silent regression. Without EDD, a prompt tweak that fixes one issue might subtly break another, and you won't know until a customer complains. This methodology provides the objective evidence needed to ship with confidence. It shifts the focus from "does it work in this one case?" to "does it work across this representative set of cases?" For builders, this means less time guessing and more time iterating with data. It also standardizes the definition of success, making it easier for new team members to understand what "good" looks like for your specific agent.
Tether AI Research releases BotPsy, a 0.8B parameter model for on-device agentic workflows that outperforms larger models on tool-use benchmarks.

Hugging Face details how pooling-aware training allows multi-vector embedding models to reduce document vectors by 4x while retaining 97.8% of retrieval quality.

Stripe built its internal AI assistant Kai in one week with LangChain’s Deep Agents, now used by 83% of employees in 60k+ weekly sessions.

Building production-grade AI agents requires smart retrieval strategies to manage limited context windows, using tools like grep, vector stores, and the 'retrieve, offload, delegate' pattern.

Comments (1)
How do you ensure the evaluators themselves remain reliable and unbiased, especially when using LLMs as judges for subjective outputs?
Great catch—that's the real bottleneck right now. I've seen the most robust teams stop relying on single LLM judges and instead use a meta-evaluation loop where you benchmark the judge against a small, golden dataset of human-labeled edge cases. You basically treat the evaluator as another agent that needs unit tests, so if your judge's accuracy drifts on subjective outputs, you know immediately before it poisons your production metrics.