<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ryan Stevens</title>
    <description>The latest articles on DEV Community by Ryan Stevens (@ryan_stevens).</description>
    <link>https://dev.to/ryan_stevens</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4182768%2Fe3cf3d02-e8e1-42b3-8698-61d623f1eab9.png</url>
      <title>DEV Community: Ryan Stevens</title>
      <link>https://dev.to/ryan_stevens</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ryan_stevens"/>
    <language>en</language>
    <item>
      <title>Building Better Agents through End-to-End Evals</title>
      <dc:creator>Ryan Stevens</dc:creator>
      <pubDate>Wed, 14 Oct 2026 12:05:13 +0000</pubDate>
      <link>https://dev.to/dailycontext/building-better-agents-through-end-to-end-evals-pgh</link>
      <guid>https://dev.to/dailycontext/building-better-agents-through-end-to-end-evals-pgh</guid>
      <description>&lt;h2&gt;
  
  
  Deeply understand the task at hand
&lt;/h2&gt;

&lt;p&gt;The biggest mistake teams make with agents is automating a process they don’t understand. Before writing one line of code, you should be able to describe exactly how a human does the job.&lt;/p&gt;

&lt;p&gt;To build Ramp Stack, we wanted to automate bookkeeping tasks. Before thinking about code, we thought about the jobs to be done. There are four primary categories of work: reconciliation, data entry, variance analysis, and schedules and accruals. Categories keep the eval balanced across the real job and later show you where the agent is weak.&lt;/p&gt;

&lt;p&gt;Next, we break each task into its steps. Take an accounts payable reconciliation: an accountant pulls unpaid bills and the AP ledger, lines them up in a spreadsheet, and investigates anything that doesn’t match. If the bills total $3,500 and the ledger shows $3,000, the job is to find the missing $500 bill and record the correction. Each step is something the agent must do and something your eval must check.&lt;/p&gt;

&lt;h2&gt;
  
  
  Data is the bottleneck
&lt;/h2&gt;

&lt;p&gt;An end-to-end eval has the same shape at every stage: business data populates a database, the agent works with that state through tools, and you grade what it produces. Before launch, you have no data to work with, so you must simulate it.&lt;/p&gt;

&lt;p&gt;Our answer was synthetic businesses, which we call worlds. One is a DTC home goods brand selling through Shopify, Amazon, and wholesale, with a full set of books, realistic transactions, and messy Excel files. The mess matters; too often, teams build data that is too clean. This means things look good offline, but do not survive once confronted with real users.&lt;/p&gt;

&lt;h2&gt;
  
  
  Anatomy of an eval
&lt;/h2&gt;

&lt;p&gt;Each eval case combines four parts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Task:&lt;/strong&gt; the request, such as “Reconcile our AP payables and bills for Q4 2025.”&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;World:&lt;/strong&gt; the synthetic ERP and business data the agent can access.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Trajectory:&lt;/strong&gt; the steps the agent takes, like reading bills, matching payments, and investigating differences.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Score:&lt;/strong&gt; a rubric of accountant-written criteria, graded by an LLM judge on the final output.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The rubric is what makes the eval useful. Pass/fail hides partial progress; six criteria such as “Q4 AP balance correct” and “duplicates flagged” tell you the agent scored 4 of 6 and exactly which two it missed. Have domain experts write the criteria, since they know what a reviewer would actually reject.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using the eval to make changes
&lt;/h2&gt;

&lt;p&gt;An eval earns its keep when it changes decisions. The first decision was model choice, but the biggest alpha is tuning your harness: optimizing skills, tools, and infrastructure to produce good results at low cost and latency. Several popular ideas didn’t hold up:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Auto-tuned skills (GEPA-style autoresearch):&lt;/strong&gt; training gains didn’t generalize. We have yet to see good evidence that automated prompt optimization works.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;High reasoning effort:&lt;/strong&gt; same accuracy, higher cost.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What did work was treating the agent like an ML model and its context like features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Skill ablation:&lt;/strong&gt; we benchmarked one skill at a time against a no-skill baseline, then trimmed eight skills to four, gaining 2.8 points of mean score across six worlds. Several skills actively hurt, and none was best everywhere.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Skill compression:&lt;/strong&gt; cutting our largest skill, a spreadsheet skill, by 61% left quality essentially unchanged and saved about $30k a month.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The pattern: measure every change against a fixed baseline, across many worlds, and keep only what moves the score.&lt;/p&gt;

&lt;h2&gt;
  
  
  Test what others skip: memory
&lt;/h2&gt;

&lt;p&gt;Memory is rarely evaluated because it requires time to pass. We built roll-forward worlds: the same business, advanced one month. The agent completes this month’s close, writes down what it learned, and is graded on next month’s tasks.&lt;/p&gt;

&lt;p&gt;The rule we learned: remember how the business works, but use fresh numbers. Memory distilled from prior trajectories, with period-specific amounts removed, improved mean score by 5.7 points over skills alone. A memory that captured a reusable workflow took one task from 0% to 100%. One that smuggled in last month’s specific recipe dropped another from 75% to 25%.&lt;/p&gt;

&lt;h2&gt;
  
  
  The takeaway
&lt;/h2&gt;

&lt;p&gt;Agent development needs the same discipline as ML development. Understand the process, build a dataset hard enough to be meaningful and stable enough to compare runs, and let it, not intuition, decide what ships.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>evals</category>
      <category>aie</category>
    </item>
  </channel>
</rss>
