On October 24, 2026, Microsoft Research publicly released Agensh—a open-source multi-agent runtime framework designed for large-scale coding tasks. Unlike mainstream agent frameworks that rely on a central orchestrator, Agensh adopts a fully decentralized architecture: all agents (workers) follow the same prompt-driven five-step collaboration cycle, autonomously acquiring context, claiming subtasks, executing actions, verifying results, and consolidating progress—without any predefined leadership roles throughout the process.
The system is supported by three core services: Gitea hosts shared code repositories (including branches, PRs, and conflict management); Mattermost provides team channels and peer-to-peer messaging (for urgent task coordination and overlap negotiation); and a structured discovery dashboard, enhanced based on DeLM, records information of types such as OBSERVED/FACT/FAIL/CLAIM/PATCH_SUMMARY. All logic is embedded within the prompts, with only the agent ID differing; Agensh can be layered onto existing single-agent frameworks (such as GitHub Copilot CLI) and also supports接入Claude Code and other toolchains via lightweight adapters.
In the ProgramBench benchmark, Agensh completed the reverse engineering of five of the most challenging programs—FFmpeg, GROMACS, Pandoc, PHP‑src, and ctags—within a 6‑hour budget, handling between 2,767 and 26,266 files. Empirical results show that, when using the GPT‑5.6‑sol model, the average pass rate across the five tasks increased from 19.31% with a single agent to 28.78% with 128 agents—a gain of 9.47 percentage points, or a 49% relative improvement. For the Pandoc task alone, the pass rate reached 55.06% with 1,024 agents; after switching to the newer GPT‑6.1‑sol model, the same task achieved 79.59% with just 32 agents. In terms of speed, 128 agents attained a 30% pass rate on the Pandoc task within 30 minutes, significantly outpacing smaller‑scale configurations.
As the system scales, it spontaneously gives rise to collaborative patterns: with 8 agents, interfaces are autonomously negotiated and task overlaps are resolved; with 32 agents, peer review and a counterexample-driven rollback mechanism emerge; with 128 agents, trusted reviewers are reused and protocol standardization is achieved; and in a 1,024-agent setup, some agents naturally assume integration coordination and failure recovery roles—none of these roles are hard-coded. Deployment requires a Linux environment, Docker Compose v2, cgroups v2, and Python 3.11 or later. By default, a single node runs 8 agents; scaling to 1,024 agents requires 16 nodes (64 agents per node). Each agent has a memory cap of 64 GiB, and input/output token limits are set at 272,000 and 128,000, respectively.
The project’s code is open-sourced under the MIT License, but the specific API call costs are not disclosed. The official documentation provides a single-node Docker Compose configuration, a single-agent baseline, and a complete reproduction guide (requiring ProgramBench v1.2.5 and a valid model API key). This framework does not alter the underlying model’s capabilities; instead, it redefines the collaboration paradigm, offering a verifiable and scalable technical pathway for large-scale AI agent coordination.