The experiment
AI coding tools are often judged by how quickly they produce code. In systems engineering, however, the harder work may come first: finding the real bottleneck, testing a plausible fix, and checking that faster execution still produces the same behavior. TabbyML says it assembled 20 AI agents to work on the open-source search engine Quickwit for four days, conducting about 350 experiments. Six changes survived review.
A workflow built around testing and review
The team used ClickBench and a dataset of 100 million rows to examine 40 queries supported by Quickwit. According to TabbyML, stacking the six optimizations reduced total hot-query runtime from 40.5 seconds to 27.9 seconds, a drop of about 31%. Some individual queries improved by as much as 87%. The hot-query geometric mean fell from 403 milliseconds to 304 milliseconds. The company says this result led comparable public hot-query scores under the same query set.
The agents did not all edit one shared codebase at once. Investigator agents read the code and profiling data to propose bottlenecks; verification agents implemented changes in isolated environments and ran tests; a lead agent reviewed each proposal for correctness and possible regressions. Experiments began with explicit performance goals and behavioral constraints, and both successful and failed results informed later work.
Only six of roughly 350 experiments were retained. One rejected proposal illustrates why. It made a target query 11% faster and passed validation across all 40 benchmark queries, but changed how IP addresses were ordered. The lead agent judged that ties in real data could therefore produce different results. Another experiment initially sped up one query while slowing another; narrowing where a new data structure was used helped avoid that trade-off.
What the result does—and does not—show
The notable idea is not simply more benchmark runs. It is a process in which agents can propose, test, and challenge one another’s engineering assumptions. TabbyML also says its agents independently found a WAL write-lock bottleneck during a separate indexing-efficiency effort. Internal tests reportedly cut the write stage’s runtime by nearly 60%, though that work is ongoing.
These figures come from experiments reported by TabbyML. They do not establish that the same gains will transfer to other systems, or that agents can generally replace senior engineers. A more measured takeaway is that multi-agent systems may help with sustained performance exploration when goals are measurable, tests are repeatable, and correctness constraints are explicit. Test coverage, review quality, and results under real workloads remain essential.
Source: QbitAI
Comments
Checking sign-in status...
Loading comments...