Skip to main content
Intelligence Simplified
A robot arm on a test bench wired to instruments showing glowing waveforms.

October 20, 2026

AI Agent Evals: Treat Automations Like Software

Cursor's Agent SDK defines agents as code with built-in evals. AI agent evals are how you know an automation still works after you change it.

Covers week of October 19, 2026.

On October 20, Cursor introduced the Agent SDK, the framework it says it uses to build its own managed agents such as Bugbot, Security Reviewer and Rollouts. An agent built with the SDK is organized like a small software project: instructions written in Markdown sit alongside code for its tools, connections to outside services and the evals used to test it. Because everything is code, changes go through the same version control and review as the rest of your software. Cursor says the SDK supports evals and event replay out of the box, and agents can be deployed to Cursor with one command or run on your own infrastructure.

This October Agent SDK is not the April @cursor/sdk. That earlier package lets you run Cursor’s coding agent from TypeScript. This one is how you define an agent as a project, with evals attached. I wrote about the April SDK in AI workflow automation.

Whether or not you ever use this product, the idea behind it is useful for any business running AI automations: treat agents like software, and use AI agent evals to know they still work.

Automations drift

Most AI automations start as a prompt someone wrote and tested a few times. It works, so it goes into use. Then things change: someone edits the instructions, a new model comes out, a connected app changes its data. Without tests, nobody notices when results quietly get worse until a customer or colleague complains.

Traditional software solved this decades ago with version control and automated tests. AI agents need the same discipline.

What agents as code means

Treating an agent as code means:

  • Instructions are stored in files, not only typed into a settings screen.
  • Changes are tracked, so you can see what changed, when and why, and undo it.
  • Changes are reviewed by another person before they go live.
  • Tests run before deployment, so problems show up before users see them.

How to set up AI agent evals

An eval is a test for an agent: a set of example inputs with checks on what the agent should do.

  1. Collect real examples. Gather 20 to 50 representative cases: typical requests, tricky edge cases and a few that should be refused.
  2. Define what good looks like. For some tasks, an exact answer. For others, rules: it must call the right tool, must not send an email without approval, must include a specific field.
  3. Check actions, not just words. For agents that use tools, whether the agent took the right action matters more than how it phrased its reply.
  4. Run evals on every change: new instructions, a new model, a new tool.
  5. Add a case every time something goes wrong so the same mistake gets caught next time.

When our principal engineer grew Hummingbird at Opsera, as an employee, from a handful of tools to about 50, evals mattered more than the prompts. I wrote about that identity design in AI agent data leakage.

Start small

You don’t need a framework to start. A spreadsheet with example inputs, expected behavior and a column for pass or fail is a real eval. Run it by hand before changing a prompt or model. When it becomes tedious, that’s the signal to automate it. I described how to use the same test set when trying new models in AI model switching.

Keep people in the loop for high-stakes actions

Evals reduce surprises. They don’t remove them. For actions that send messages to customers, move money or change records, keep a review step even when evals pass. I covered this in human in the loop AI workflows.

The payoff

Teams that test their agents can change them confidently: try a cheaper model, refine instructions, add a tool. Teams that don’t test tend to stop changing anything, because every change feels risky. Evals are what let an automation keep improving.

If you have AI automations running in your business and want them tracked, tested and easier to change safely, here’s how I approach AI workflows and automation. We’ll build an eval set for your most important workflow first.

Sources

Russ Frisch

• Founder and software engineer

We take fixed-price work on data, AI workflows, and finishing apps. You work with the Intelligence Simplified team.

Expertise:

Data migration AI workflows Workflow automation Prototype to Production