← Blog

Measure the work between agents

Imagine one agent updating a parser while another builds the endpoint that calls it. Each reports its tests passing. Then the first request goes through the endpoint and fails because it still expects the old return shape. A task score at the end can tell us the build failed. We want to know when the two changes stopped fitting together.

Measure the work between agents

Make the connection an executable check

Before starting either agent, write a test that sends a request through the endpoint and checks the parsed response. Run it as the work comes in. Zhang and colleagues take this approach in AsynCodeBench, where they identify 52 dependencies across 19 tasks in 16 repositories.

Two creatures complete opposite sides of a mechanism while a third checks a mismatched connection between them.
Both components can look finished while their connection remains broken. The integration check measures that connection.

Their benchmark records when each dependency first passes and whether it is satisfied at the end. In their experiments, stronger individual coding scores did not always show up as better collaboration.

First success is only part of the trajectory

Say the endpoint test passes after the first parser change but fails again after the second. The first passing checkpoint tells us the agents connected their work once. The final failure tells us that connection did not survive. We would keep both results, along with the elapsed time. The paper’s checkpoint count measures the order of events, so it cannot tell us how long the team waited.

Do not let the manager change the experiment

If a manager agent spots the mismatch and edits the endpoint itself, it can turn the result green. That is a different test from one in which the manager can only point out the failure. To compare the two working setups, we would give the manager the same permissions and keep the model, tools and retry budget fixed.

What we would measure for Ablo and Lobby

In Lobby, we would run the same parser task with agents editing one workspace and with agents integrating separate changes later. In Ablo, we would change an input record midway through a turn and check whether the dependent write is rejected. In both cases we would record unsuccessful runs as well as completions.

Sources

More from the blog