Guozhen AIGlobal AI field notes and model intelligence

Realtime AI News

20 AI agents optimize Quickwit in 350 experiments, beating the best public ClickBench result

AI startup TabbyML let a team of 20 AI agents optimize the open-source search engine Quickwit without being told which code to change, running about 350 experiments in four days. Six optimizations survived review, cutting total hot-query time by 31% and beating the best published ClickBench result on the same queries.

Published

TabbyML, an AI startup, has published an experiment in which a team of 20 AI agents took over performance optimization of Quickwit, an open-source search engine for logs and observability data. Humans set the optimization target and engineering constraints but did not say which lines to change; the agents had to find bottlenecks, propose fixes, design experiments and review one another's work.

Quickwit is built on Tantivy, a Rust full-text search library, and can query massive datasets directly on cloud object storage; TabbyML uses it to store and retrieve AI agent traces. System-level optimization is harder than ordinary coding. Engineers must understand a large codebase and reason about CPU, memory, data structures and storage access, and the real bottleneck is often not where intuition points. A change that looks effective can also cause a regression elsewhere.

The evaluation used ClickBench, with 40 queries over a 100-million-row dataset. The hot-query geomean fell from 403 ms to 304 ms, and on the same 40 queries the optimized engine was 16% faster than Duckflight's published 354 ms. The agents did not redesign Quickwit; they worked through cache configuration, data structures, decompressor reuse and memory allocation, removing bottlenecks one by one.

After roughly 350 experiments, only six optimizations survived review. Stacked together, they cut total hot-query time from 40.5 seconds to 27.9 seconds, about 31%, with the largest single-query reduction reaching 87%.

Letting 20 agents edit one codebase invites duplicate work, overwritten changes, benchmark noise mistaken for a speedup, and shortcuts aimed at the score. TabbyML split the team into three roles: Investigators read code, profile it and propose hypotheses; a Lead Agent checks whether a proposal solves a general engineering problem rather than gaming the benchmark; Verification Agents run unit tests, microbenchmarks and full performance tests in isolated environments. Every experiment needs a written contract covering the performance goal plus correctness, compatibility and memory constraints.

Experiment E251 shows why that separation matters. An agent noticed a query processed about 100 million intermediate records when users only needed the top 10 IP addresses, so it proposed filtering to the top 10 first. Microbenchmarks improved 3.02x, the target query became 11% faster and all 40 ClickBench result checks passed. The Lead Agent still rejected it: the shortcut silently changed how IP addresses were compared, and string versus numeric ordering diverges when two addresses have the same visit count. Passing tests and faster code, in other words, are two different questions.

Failures became shared knowledge rather than waste. In E094, a new data structure sped up the target query by 28% but regressed another by 9%; a follow-up experiment narrowed its scope. In E237, a Verification Agent found that a Lead-approved plan had misidentified the bottleneck. A temporary buffer was cleared every 2,048 documents, while a different array kept growing. The corrected fix cut the target query from 5.891 seconds to 3.131 seconds, a 47% drop.

TabbyML then moved from query speed to indexing efficiency on SearchBench, asking whether adding CPUs always makes log indexing faster. Quickwit maintainers had identified a WAL write lock as a known limit, but the team did not tell the agents or point them at the code. An Investigator profiled the write path and independently located the same lock; the agents then tried compressing larger WAL records before writing to shorten lock hold time. In internal tests, the write phase of building an index over 100 million logs was nearly 60% faster.

The broader point is that the expensive part of systems engineering is not typing code but finding bottlenecks, exploring options and validating them repeatedly. Clear targets, measurable metrics, reproducible environments and strict correctness constraints make that loop tractable for agents. TabbyML says it is scaling the multi-agent system across infrastructure software. The open questions are independent reproduction and whether round-the-clock optimization holds up in production.

Why it matters

It pushes AI coding from writing code faster to autonomously finding bottlenecks, running experiments and validating changes; if reproducible, performance engineering could become a continuously running infrastructure capability.

TabbyMLAgentOpen Source
Back to realtime news

Nearby Updates

All

11/27, 09:31

AI agent shopping traffic to U.S. retailers surges 150-fold, with Meta’s Muse taking nearly 70%

AI agent traffic to U.S. online retailers surged roughly 150-fold during the holiday shopping season, according to BigGo Finance, with Meta’s Muse accounting for nearly 70% of it. The figures suggest agent-driven shopping visits are becoming a measurable traffic source, and one that is heavily concentrated in a single platform.

11/27, 07:57

Alibaba steps up North American hiring as its Qwen team adds hundreds of AI researchers

Alibaba is expanding recruitment in North America, targeting top global AI researchers, with its Qwen team opening roles across model research, training and inference, multimodal work, agents and data. Sources cited by Chinese media say several hundred people worldwide have joined the Qwen team this year.

11/27, 10:44

ShengShu releases Motubrain 2.0, a 20B world-action model with its own Harness

ShengShu Technology, the company behind the Vidu video model, has released Motubrain 2.0, a 20-billion-parameter world-action model paired with the Motubrain-Harness agent system. The company reports leading scores on four of six embodied benchmarks, but model weights are still marked as coming next week.

11/27, 05:04

Chosun Ilbo: GPT-6.2 and Claude move into protein design, challenging AlphaFold

A Chosun Ilbo report says OpenAI's general-purpose GPT-6.2 designed proteins that bound their targets in lab tests, and places Anthropic's Claude in the same trend. The paper argues that protein design, once the preserve of specialized biological AI like AlphaFold, is now being contested by general-purpose assistants.