Agents 🇷🇺 10.08.2026 13:02

What dozens of AI agents taught me: how I wrote the Blockstor storage system as an experiment

AnthropicAnthropic
An engineer describes an experiment to create a clean-room implementation of LINSTOR called Blockstor using AI agents. The process involved using TDD, linters, and a swarm of up to 60 parallel agents to fix bugs and pass tests. The result was a working prototype, though fully autonomous development was not achieved.
The author decided to create a clean-room implementation of LINSTOR, a distributed block storage system, using AI agents. Named Blockstor, it is an orchestrator for block devices that supports replication, snapshots, and failover. The author chose to reuse LINSTOR's API types as contracts and use TDD to define behavior, since LINSTOR does not publish its test suite. They used golangci-lint and set up a test environment with Kubernetes on Talos, requiring DRBD. The first prototype was request-based, but the author asked the AI to rewrite it using controller-runtime for asynchronous behavior. They then generated a list of issues from their own debugging articles and reports, and had the AI fix them. To speed up the process, they parallelized agents, with up to 60 agents working on separate worktrees and environments, half on unit tests and half on e2e tests. The main agent merged their fixes. After many iterations, the system became more stable, but still required manual integration testing.
Abbreviations
TDD = Test-Driven Development — разработка через тестирование
CRD = Custom Resource Definition — пользовательское определение ресурса
CSI = Container Storage Interface — интерфейс хранения контейнеров
GPLv3 = GNU General Public License version 3 — GNU General Public License версии 3
Apache 2.0 = Apache License 2.0 — лицензия Apache 2.0
DRBD = Distributed Replicated Block Device — распределённое реплицируемое блочное устройство
LVM = Logical Volume Manager — менеджер логических томов
ZFS = Zettabyte File System — файловая система ZFS
PoC = Proof of Concept — проверка концепции
e2e = end-to-end — сквозное (тестирование)
unit = unit (test) — модульный (тест)
CLI = Command Line Interface — интерфейс командной строки
API = Application Programming Interface — программный интерфейс приложения
LLM = Large Language Model — большая языковая модель
K8s = Kubernetes — Kubernetes
Source: Habr — хаб ИИ — original
Our earlier posts on this topic ↓
Fresh news