Engineering brief

Stop Shipping Agents on Vibes: Build a Regression Loop

AI Engineer4 min read · saves 52 min

At a glance

The brief is enough

Relevance
Practical value
Radar
Time horizon
Now
Warnings
None

Harbor turns agent iteration into regression testing: fixed tasks, Docker sandboxes, verifier scripts that score side effects. Arize's team used it to prove a prompt tweak cut tool calls while rewards held.

Agent changes become testable like software: stable tasks, verifier scripts, and outcome rewards replace vibe-driven shipping.

Watch if you're building agent workflows with custom tools, MCP servers, or skills and need a regression-testing loop beyond manual demos.

Summary

The pattern. Xander Song, an engineer at Arize AI, presents Harbor, an open-source framework for evaluating agents like integration tests. A team defines a task as a markdown instruction, puts realistic data in a Docker environment, lets an agent run, then executes verifier scripts that inspect the side effects left in the container. The verifier writes a reward, usually pass/fail. Hold tasks and verifiers constant while changing the agent, and the pipeline turns into a regression test.

Why it works. What gets tested matters. Song's team evaluates the hybrid system: Claude Code with their CLI, their MCP server, or the server-side Pixie agent, all pointed at a containerized Phoenix server with a SQLite file. They added a read-only SQL tool because agents were paginating through REST and GraphQL to answer aggregate queries. One prompt line changed to prefer SQL for counts and groups. Harbor showed SQL calls up, GraphQL down, tool calls and turns down, rewards flat.

The tradeoff. Verifiers are the core and the weak spot. Pure verifiers treat the agent as a black box and check outcomes, which makes refactoring safe. Harbor also allows trajectory-coupled checks, and Song uses one to confirm the agent chose SQL over GraphQL. Useful for optimization, brittle for correctness. Rename a skill or tool, and the test fails even when the agent still solves the task. That is the classic implementation-detail coupling problem.

The evidence gap. This is a vendor-aligned case study, not a benchmark. The team is small, regression testing is early, and the data set was generated by Claude with human spot checks. Oracles validate the pipeline before tokens are spent, but only prove the verifiers trust a known solution. No cost, latency, or coverage numbers are shared. The honest admission: realistic data is the hard part, and getting it is more work than the framework.

Adoption limits. Harbor's contract is simple: put the right scripts in the Docker image, and the harness runs them. That works well when the whole system fits in one container, which is true for Phoenix's single-node architecture. Teams with distributed dependencies, S3, queues, or external services will have to carve out stable interfaces or mock external calls, which drags back the mocking pain Harbor tries to remove. Song does not pretend to have solved that.

What leaders should watch. The trend matters more than the tool. Agent evaluation is moving from demos to CI-style gates, and Harbor is a credible early expression of that shift. Engineering leaders should check whether their teams can answer a simple question: for any prompt, skill, or tool change, what evidence proves the agent got better? If the answer is manual testing, they are the target audience.

My take

I like the pattern more than the tooling. Outcome-based verifiers in sandboxed environments are exactly what agent work has been missing, and Harbor makes it concrete: task, data, script, reward. But this is an early, vendor-aligned case study, not a benchmark. The team's setup is unusually clean because Phoenix runs on a single node and the data set is synthetic, generated by Claude and spot-checked by a human. The hard parts remain realistic data and verifier maintenance, and the talk admits both. I would not standardize an organization on Harbor from this evidence alone. I would pilot it on one bounded workflow, measure whether it catches regressions, and decide after that.

What to do with this

  1. Ask your AI platform team how agent regressions are detected today; if the answer is manual, pick one workflow to wrap in verifier-scored sandbox tasks.
  2. Pilot Harbor on a single bounded skill or MCP server, measuring reward, tool calls, and turns before and after a prompt change.
  3. Build a realistic internal data set for agent evaluation and plan recurring time for verifier maintenance as a standing cost.

Watch the video

This video is blocked due to your privacy settings. To watch this video, please accept YouTube marketing cookies.

Related breakdowns

Get TL;DW

Too Long; Didn't Watch.

A concise breakdowns of the AI and devtools videos that actually matter for engineering leaders.

Free. Weekly. No hype.

Video and thumbnails remain the property of their respective creators. tldw.news provides editorial analysis, commentary, and discovery links to original content.