"<!DOCTYPE html>\n<html lang=\"zh\" data-theme=\"light\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>fulltext.txt — Vercel Design System</title>\n<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n<link href=\"https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap\" rel=\"stylesheet\">\n<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css\">\n<style>\n\n:root {\n  /* Vercel Palette */\n  --geist-foreground: #171717;\n  --geist-background: #ffffff;\n  --geist-secondary: #4d4d4d;\n  --geist-tertiary: #666666;\n  --geist-quaternary: #808080;\n  --geist-border: #ebebeb;\n  --geist-surface-tint: #fafafa;\n  \n  /* Workflow Accents */\n  --develop-blue: #0a72ef;\n  --preview-pink: #de1d8d;\n  --ship-red: #ff5b4f;\n  \n  /* Interactive & Status */\n  --link-blue: #0072f5;\n  --ds-focus-color: hsla(212, 100%, 48%, 1);\n  --badge-blue-bg: #ebf5ff;\n  --badge-blue-text: #0068d6;\n  \n  /* Shadow-as-Border Philosophy */\n  --shadow-border: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;\n  --shadow-border-hover: rgba(0, 0, 0, 0.16) 0px 0px 0px 1px;\n  --shadow-card: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px, rgba(0, 0, 0, 0.04) 0px 2px 2px, #fafafa 0px 0px 0px 1px;\n  --shadow-card-hover: rgba(0, 0, 0, 0.12) 0px 0px 0px 1px, rgba(0, 0, 0, 0.06) 0px 4px 6px, #fafafa 0px 0px 0px 1px;\n  --shadow-card-full: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px, rgba(0, 0, 0, 0.04) 0px 2px 2px, rgba(0, 0, 0, 0.04) 0px 8px 8px -8px, #fafafa 0px 0px 0px 1px;\n  --shadow-ring: rgb(235, 235, 235) 0px 0px 0px 1px;\n  \n  /* Radius Scale */\n  --radius-xs: 2px;\n  --radius-sm: 4px;\n  --radius-md: 6px;\n  --radius-lg: 8px;\n  --radius-xl: 12px;\n  --radius-pill: 9999px;\n}\n\n[data-theme=\"dark\"] {\n  --geist-foreground: #ededed;\n  --geist-background: #000000;\n  --geist-secondary: #a1a1a1;\n  --geist-tertiary: #888888;\n  --geist-quaternary: #666666;\n  --geist-border: #222222;\n  --geist-surface-tint: #0a0a0a;\n  \n  --shadow-border: rgba(255, 255, 255, 0.14) 0px 0px 0px 1px;\n  --shadow-border-hover: rgba(255, 255, 255, 0.28) 0px 0px 0px 1px;\n  --shadow-card: rgba(255, 255, 255, 0.12) 0px 0px 0px 1px, rgba(0, 0, 0, 0.4) 0px 2px 4px, #111111 0px 0px 0px 1px;\n  --shadow-card-hover: rgba(255, 255, 255, 0.2) 0px 0px 0px 1px, rgba(0, 0, 0, 0.5) 0px 6px 12px, #111111 0px 0px 0px 1px;\n  --shadow-card-full: rgba(255, 255, 255, 0.12) 0px 0px 0px 1px, rgba(0, 0, 0, 0.5) 0px 8px 16px -4px, #111111 0px 0px 0px 1px;\n  --shadow-ring: rgb(40, 40, 40) 0px 0px 0px 1px;\n  \n  --badge-blue-bg: rgba(10, 114, 239, 0.15);\n  --badge-blue-text: #70b5ff;\n}\n\n* { box-sizing: border-box; }\nhtml { scroll-behavior: smooth; }\nbody {\n  margin: 0;\n  font-family: \"Geist\", Arial, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif;\n  background-color: var(--geist-background);\n  color: var(--geist-foreground);\n  font-feature-settings: \"liga\" 1;\n  -webkit-font-smoothing: antialiased;\n  min-height: 100vh;\n}\n\na {\n  color: inherit;\n  text-decoration: none;\n  transition: color 0.15s ease;\n}\n\n/* 导航栏 (Vercel Clean Sticky Nav) */\n.vercel-nav {\n  position: sticky;\n  top: 0;\n  background-color: var(--geist-background);\n  box-shadow: var(--shadow-border);\n  z-index: 100;\n  padding: 0 24px;\n  height: 64px;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n}\n.nav-brand {\n  display: flex;\n  align-items: center;\n  gap: 12px;\n}\n.vercel-triangle {\n  width: 22px;\n  height: 19px;\n  fill: var(--geist-foreground);\n}\n.nav-title {\n  font-size: 16px;\n  font-weight: 600;\n  letter-spacing: -0.32px;\n  color: var(--geist-foreground);\n}\n.nav-badge-pill {\n  font-family: \"Geist Mono\", ui-monospace, monospace;\n  font-size: 11px;\n  font-weight: 500;\n  text-transform: uppercase;\n  background: var(--badge-blue-bg);\n  color: var(--badge-blue-text);\n  padding: 2px 8px;\n  border-radius: var(--radius-pill);\n}\n\n.nav-links {\n  display: flex;\n  align-items: center;\n  gap: 24px;\n}\n.nav-link {\n  font-size: 14px;\n  font-weight: 500;\n  color: var(--geist-secondary);\n  text-decoration: none;\n  transition: color 0.15s;\n}\n.nav-link:hover, .nav-link.active {\n  color: var(--geist-foreground);\n}\n.nav-link.active {\n  font-weight: 600;\n}\n\n.nav-actions {\n  display: flex;\n  align-items: center;\n  gap: 12px;\n}\n\n/* 按钮规范 */\n.btn-primary-dark {\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  border: none;\n  padding: 8px 16px;\n  border-radius: var(--radius-md);\n  font-size: 14px;\n  font-weight: 500;\n  cursor: pointer;\n  text-decoration: none;\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  transition: opacity 0.15s;\n}\n.btn-primary-dark:hover {\n  opacity: 0.9;\n}\n.btn-secondary-white {\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  box-shadow: var(--shadow-border);\n  border: none;\n  padding: 8px 16px;\n  border-radius: var(--radius-md);\n  font-size: 14px;\n  font-weight: 500;\n  cursor: pointer;\n  text-decoration: none;\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  transition: background 0.15s, box-shadow 0.15s;\n}\n.btn-secondary-white:hover {\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border-hover);\n}\n.theme-toggle-btn {\n  background: transparent;\n  border: none;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  width: 36px;\n  height: 36px;\n  cursor: pointer;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  color: var(--geist-foreground);\n}\n\n/* 核心容器 */\n.vercel-container {\n  max-width: 1200px;\n  margin: 0 auto;\n  padding: 56px 24px 100px;\n}\n\n/* Hero Section (Gallery Emptiness + Negative Letter-spacing) */\n.vercel-hero {\n  text-align: center;\n  max-width: 860px;\n  margin: 0 auto 56px;\n}\n.hero-stage-badge {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  padding: 4px 14px;\n  border-radius: var(--radius-pill);\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-secondary);\n  margin-bottom: 24px;\n}\n.stage-dot {\n  width: 7px;\n  height: 7px;\n  border-radius: 50%;\n}\n.vercel-hero h1 {\n  font-size: 48px;\n  font-weight: 600;\n  line-height: 1.05;\n  letter-spacing: -2.4px;\n  color: var(--geist-foreground);\n  margin: 0 0 16px;\n}\n.vercel-hero p {\n  font-size: 20px;\n  font-weight: 400;\n  line-height: 1.80;\n  color: var(--geist-secondary);\n  margin: 0 auto 28px;\n}\n\n/* Workflow Pipeline (Develop -> Preview -> Ship) */\n.workflow-pipeline {\n  display: grid;\n  grid-template-columns: repeat(3, 1fr);\n  gap: 16px;\n  margin-bottom: 48px;\n}\n@media (max-width: 768px) {\n  .workflow-pipeline { grid-template-columns: 1fr; }\n}\n.workflow-step {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px 22px;\n  transition: box-shadow 0.2s;\n}\n.workflow-step:hover {\n  box-shadow: var(--shadow-card-hover);\n}\n.step-mono-label {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 12px;\n  font-weight: 500;\n  text-transform: uppercase;\n  letter-spacing: 0.5px;\n  margin-bottom: 8px;\n  display: flex;\n  align-items: center;\n  gap: 6px;\n}\n.step-title {\n  font-size: 20px;\n  font-weight: 600;\n  letter-spacing: -0.96px;\n  color: var(--geist-foreground);\n  margin-bottom: 6px;\n}\n.step-desc {\n  font-size: 14px;\n  color: var(--geist-secondary);\n  line-height: 1.5;\n}\n\n/* Metric Cards (Section 4 Spec) */\n.metric-grid {\n  display: grid;\n  grid-template-columns: repeat(4, 1fr);\n  gap: 16px;\n  margin-bottom: 48px;\n}\n@media (max-width: 900px) {\n  .metric-grid { grid-template-columns: repeat(2, 1fr); }\n}\n.metric-card {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px;\n}\n.metric-number {\n  font-size: 40px;\n  font-weight: 600;\n  line-height: 1.0;\n  letter-spacing: -2.4px;\n  color: var(--geist-foreground);\n  margin-bottom: 8px;\n  font-feature-settings: \"tnum\" 1;\n}\n.metric-label {\n  font-size: 14px;\n  color: var(--geist-secondary);\n  line-height: 1.4;\n}\n\n/* VAD 专栏 Banner (Ship Red & Vercel Clean) */\n.vad-showcase {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card-full);\n  border-radius: var(--radius-xl);\n  padding: 32px;\n  margin-bottom: 48px;\n  position: relative;\n}\n.vad-header-row {\n  display: flex;\n  align-items: baseline;\n  justify-content: space-between;\n  flex-wrap: wrap;\n  gap: 12px;\n  margin-bottom: 12px;\n}\n.vad-header-row h2 {\n  font-size: 32px;\n  font-weight: 600;\n  letter-spacing: -1.28px;\n  color: var(--geist-foreground);\n  margin: 0;\n}\n.vad-pillars-grid {\n  display: grid;\n  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));\n  gap: 14px;\n  margin-top: 24px;\n}\n.vad-pillar-item {\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  padding: 14px 16px;\n}\n.vad-pillar-title {\n  font-size: 14px;\n  font-weight: 600;\n  color: var(--ship-red);\n  margin-bottom: 4px;\n}\n.vad-pillar-text {\n  font-size: 13px;\n  color: var(--geist-secondary);\n  line-height: 1.5;\n}\n.vad-filter-bar {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  justify-content: space-between;\n  gap: 12px;\n  margin: 24px 0 16px;\n  padding: 12px 16px;\n  background: var(--geist-surface-tint);\n  border-radius: var(--radius-md);\n  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);\n}\n.vad-filter-btn {\n  font-family: 'Geist', sans-serif;\n  font-size: 13px;\n  font-weight: 500;\n  padding: 6px 14px;\n  border-radius: 9999px;\n  border: none;\n  background: transparent;\n  color: var(--geist-secondary);\n  cursor: pointer;\n  transition: all 0.15s ease;\n}\n.vad-filter-btn:hover {\n  color: var(--geist-foreground);\n  background: rgba(0,0,0,0.05);\n}\n.vad-filter-btn.active {\n  background: #171717;\n  color: #ffffff;\n}\n.vad-search-input {\n  font-family: 'Geist', sans-serif;\n  font-size: 13px;\n  padding: 7px 12px;\n  border-radius: 6px;\n  border: 1px solid var(--geist-border);\n  background: #ffffff;\n  color: var(--geist-foreground);\n  width: 280px;\n  outline: none;\n  transition: border-color 0.15s, box-shadow 0.15s;\n}\n.vad-search-input:focus {\n  border-color: #0a72ef;\n  box-shadow: 0 0 0 2px rgba(10, 114, 239, 0.2);\n}\n\n/* 控制栏：搜索、视图、筛选 */\n.control-bar {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 16px;\n  margin-bottom: 24px;\n  flex-wrap: wrap;\n}\n.search-input-wrap {\n  position: relative;\n  flex: 1;\n  max-width: 480px;\n}\n.search-input {\n  width: 100%;\n  height: 40px;\n  padding: 0 38px 0 14px;\n  font-family: \"Geist\", sans-serif;\n  font-size: 14px;\n  color: var(--geist-foreground);\n  background: var(--geist-background);\n  box-shadow: var(--shadow-border);\n  border: none;\n  border-radius: var(--radius-md);\n  outline: none;\n  transition: box-shadow 0.15s;\n}\n.search-input:focus {\n  outline: 2px solid var(--ds-focus-color);\n  box-shadow: none;\n}\n.search-kbd {\n  position: absolute;\n  right: 12px;\n  top: 50%;\n  transform: translateY(-50%);\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  color: var(--geist-quaternary);\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  padding: 2px 6px;\n  border-radius: var(--radius-sm);\n}\n\n.view-switcher {\n  display: flex;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  background: var(--geist-background);\n  padding: 2px;\n}\n.view-btn {\n  background: transparent;\n  border: none;\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-tertiary);\n  padding: 6px 12px;\n  border-radius: var(--radius-sm);\n  cursor: pointer;\n  transition: color 0.15s, background 0.15s;\n}\n.view-btn.active {\n  background: var(--geist-surface-tint);\n  color: var(--geist-foreground);\n  font-weight: 600;\n}\n\n/* 筛选芯片行 (Filter Pill Strip) */\n.filter-group-strip {\n  display: flex;\n  flex-direction: column;\n  gap: 12px;\n  margin-bottom: 28px;\n  padding: 16px 20px;\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-lg);\n}\n.filter-row {\n  display: flex;\n  align-items: center;\n  gap: 8px;\n  flex-wrap: wrap;\n}\n.filter-label-mono {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  font-weight: 500;\n  text-transform: uppercase;\n  color: var(--geist-quaternary);\n  min-width: 68px;\n}\n.pill-badge {\n  background: var(--geist-background);\n  color: var(--geist-secondary);\n  box-shadow: var(--shadow-border);\n  border: none;\n  padding: 3px 12px;\n  border-radius: var(--radius-pill);\n  font-size: 12px;\n  font-weight: 500;\n  cursor: pointer;\n  transition: all 0.15s;\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n}\n.pill-badge:hover {\n  color: var(--geist-foreground);\n  box-shadow: var(--shadow-border-hover);\n}\n.pill-badge.active {\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  font-weight: 600;\n  box-shadow: none;\n}\n.pill-badge.active-blue {\n  background: var(--develop-blue);\n  color: #ffffff;\n  box-shadow: none;\n}\n.pill-badge.active-red {\n  background: var(--ship-red);\n  color: #ffffff;\n  box-shadow: none;\n}\n\n/* Bento Grid Cards (Section 4 & 6 Spec) */\n.card-grid-bento {\n  display: grid;\n  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));\n  gap: 16px;\n}\n.vercel-card {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px;\n  display: flex;\n  flex-direction: column;\n  justify-content: space-between;\n  transition: box-shadow 0.2s, transform 0.2s;\n  text-decoration: none;\n  color: inherit;\n  overflow: hidden;\n  min-width: 0;\n  word-break: break-word;\n}\n.vercel-card:hover {\n  box-shadow: var(--shadow-card-hover);\n  transform: translateY(-2px);\n}\n.card-top {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  margin-bottom: 12px;\n  gap: 8px;\n}\n.card-tag-mono {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  font-weight: 500;\n  text-transform: uppercase;\n  color: var(--geist-quaternary);\n  letter-spacing: 0.5px;\n}\n.status-pill-badge {\n  padding: 2px 8px;\n  border-radius: var(--radius-pill);\n  font-size: 11px;\n  font-weight: 500;\n  flex-shrink: 0;\n}\n.pub-accepted { background: #ebfdf2; color: #027a48; }\n.pub-workshop { background: #eff8ff; color: #175cd3; }\n.pub-submitted { background: #fff8e6; color: #b54708; }\n.pub-preprint { background: #f2f4f7; color: #475467; }\n.pub-other { background: #f9f5ff; color: #6941c6; }\n\n[data-theme=\"dark\"] .pub-accepted { background: rgba(2, 122, 72, 0.2); color: #32d583; }\n[data-theme=\"dark\"] .pub-workshop { background: rgba(23, 92, 211, 0.2); color: #84caff; }\n[data-theme=\"dark\"] .pub-submitted { background: rgba(181, 71, 8, 0.2); color: #fec84b; }\n[data-theme=\"dark\"] .pub-preprint { background: rgba(71, 84, 103, 0.2); color: #98a2b3; }\n[data-theme=\"dark\"] .pub-other { background: rgba(105, 65, 198, 0.2); color: #d6bbfb; }\n\n/* 必读标杆徽章 (Vercel Amber Accent) */\n.milestone-badge {\n  display: inline-flex;\n  align-items: center;\n  gap: 3px;\n  padding: 2px 7px;\n  border-radius: var(--radius-pill);\n  font-size: 11px;\n  font-weight: 600;\n  white-space: nowrap;\n  flex-shrink: 0;\n  transition: all 0.15s ease;\n}\n.milestone-badge.ms-idea, .milestone-badge:not([class*=\"ms-\"]) {\n  color: #b54708;\n  background: #fff8e6;\n  border: 1px solid rgba(247, 144, 9, 0.35);\n  box-shadow: 0 1px 2px rgba(181, 71, 8, 0.05);\n}\n[data-theme=\"dark\"] .milestone-badge.ms-idea, [data-theme=\"dark\"] .milestone-badge:not([class*=\"ms-\"]) {\n  color: #fec84b;\n  background: rgba(181, 71, 8, 0.22);\n  border-color: rgba(254, 200, 75, 0.35);\n}\n.milestone-badge.ms-writing {\n  color: #6941c6;\n  background: #f9f5ff;\n  border: 1px solid rgba(105, 65, 198, 0.3);\n  box-shadow: 0 1px 2px rgba(105, 65, 198, 0.05);\n}\n[data-theme=\"dark\"] .milestone-badge.ms-writing {\n  color: #d6bbfb;\n  background: rgba(105, 65, 198, 0.22);\n  border-color: rgba(214, 187, 251, 0.35);\n}\n.milestone-badge.ms-value {\n  color: #027a48;\n  background: #ebfdf2;\n  border: 1px solid rgba(2, 122, 72, 0.3);\n  box-shadow: 0 1px 2px rgba(2, 122, 72, 0.05);\n}\n[data-theme=\"dark\"] .milestone-badge.ms-value {\n  color: #32d583;\n  background: rgba(2, 122, 72, 0.22);\n  border-color: rgba(50, 213, 131, 0.35);\n}\n\n/* 论文正文图表与插图卡片样式 (Geist Design) */\n.paper-figure, .article-body figure {\n  margin: 32px auto;\n  text-align: center;\n  max-width: 100%;\n}\n.paper-figure img, .article-body img {\n  max-width: 96%;\n  height: auto;\n  border-radius: var(--radius-md);\n  border: 1px solid var(--geist-border);\n  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);\n  background: #ffffff;\n  transition: transform 0.2s ease, box-shadow 0.2s ease;\n  display: block;\n  margin: 0 auto;\n}\n.paper-figure img:hover, .article-body img:hover {\n  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);\n}\n.paper-figure figcaption, .article-body figcaption {\n  font-size: 13px;\n  color: var(--geist-secondary);\n  margin-top: 10px;\n  line-height: 1.6;\n  font-style: italic;\n  max-width: 850px;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n/* VAD 视图切换器 View Switcher */\n.vad-view-switcher {\n  display: inline-flex;\n  padding: 3px;\n  background: var(--geist-secondary-bg);\n  border: 1px solid var(--geist-border);\n  border-radius: 8px;\n  margin-bottom: 20px;\n  gap: 2px;\n}\n.view-switch-btn {\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  padding: 6px 14px;\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-secondary);\n  border-radius: 6px;\n  text-decoration: none;\n  transition: all 0.15s ease;\n}\n.view-switch-btn:hover {\n  color: var(--geist-foreground);\n  background: rgba(0, 0, 0, 0.04);\n}\n[data-theme=\"dark\"] .view-switch-btn:hover {\n  background: rgba(255, 255, 255, 0.06);\n}\n.view-switch-btn.active {\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  font-weight: 600;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n\n/* 关系图谱 Graph View Styles */\n.graph-container {\n  position: relative;\n  width: 100%;\n  height: 720px;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  border-radius: var(--radius-lg);\n  overflow: hidden;\n  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);\n  margin-bottom: 40px;\n}\n.graph-toolbar {\n  position: absolute;\n  top: 14px;\n  left: 14px;\n  right: 14px;\n  z-index: 10;\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  padding: 8px 14px;\n  border-radius: 8px;\n  box-shadow: 0 4px 16px rgba(0,0,0,0.06);\n  flex-wrap: wrap;\n  gap: 8px;\n}\n.graph-tool-title {\n  font-size: 13px;\n  font-weight: 700;\n  display: flex;\n  align-items: center;\n  gap: 6px;\n  color: var(--geist-foreground);\n}\n.graph-filter-group {\n  display: flex;\n  gap: 6px;\n  align-items: center;\n  flex-wrap: wrap;\n}\n.graph-chip {\n  font-size: 11px;\n  padding: 3px 8px;\n  border-radius: 4px;\n  border: 1px solid var(--geist-border);\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  cursor: pointer;\n  transition: all 0.15s ease;\n}\n.graph-chip:hover { background: var(--geist-secondary-bg); }\n.graph-chip.active {\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  border-color: var(--geist-foreground);\n}\n.graph-search-input {\n  padding: 3px 8px;\n  font-size: 11px;\n  border-radius: 4px;\n  border: 1px solid var(--geist-border);\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  outline: none;\n  width: 150px;\n}\n#vad-graph-svg {\n  width: 100%;\n  height: 100%;\n  cursor: grab;\n}\n#vad-graph-svg:active { cursor: grabbing; }\n.graph-legend {\n  position: absolute;\n  bottom: 14px;\n  left: 14px;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  border-radius: 8px;\n  padding: 10px 14px;\n  font-size: 11px;\n  box-shadow: 0 4px 16px rgba(0,0,0,0.06);\n  z-index: 10;\n  line-height: 1.6;\n  pointer-events: none;\n}\n.graph-legend-row { display: flex; align-items: center; gap: 8px; }\n.graph-legend-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }\n.graph-info-drawer {\n  position: absolute;\n  top: 66px;\n  right: 14px;\n  width: 310px;\n  max-height: 620px;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  border-radius: 8px;\n  box-shadow: 0 8px 30px rgba(0,0,0,0.12);\n  z-index: 10;\n  padding: 16px;\n  overflow-y: auto;\n  display: none;\n  backdrop-filter: blur(10px);\n  transition: transform 0.2s ease, opacity 0.2s ease;\n}\n.graph-drawer-close {\n  position: absolute;\n  top: 10px;\n  right: 12px;\n  cursor: pointer;\n  font-size: 16px;\n  color: var(--geist-tertiary);\n}\n.graph-drawer-badge {\n  display: inline-block;\n  padding: 2px 6px;\n  border-radius: 4px;\n  font-size: 10px;\n  font-weight: 600;\n  margin-bottom: 6px;\n}\n.graph-drawer-title {\n  font-size: 13px;\n  font-weight: 700;\n  line-height: 1.4;\n  margin-bottom: 8px;\n  color: var(--geist-foreground);\n}\n.graph-drawer-meta {\n  font-size: 11px;\n  color: var(--geist-secondary);\n  margin-bottom: 12px;\n}\n.graph-drawer-core {\n  font-size: 12px;\n  line-height: 1.6;\n  color: var(--geist-foreground);\n  background: var(--geist-secondary-bg);\n  padding: 8px 10px;\n  border-radius: 6px;\n  margin-bottom: 12px;\n  border: 1px solid var(--geist-border);\n}\n.graph-drawer-link {\n  display: block;\n  text-align: center;\n  padding: 7px 12px;\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  border-radius: 6px;\n  font-size: 12px;\n  font-weight: 600;\n  text-decoration: none;\n  transition: opacity 0.15s ease;\n  margin-bottom: 6px;\n}\n.graph-drawer-link:hover { opacity: 0.85; }\n.graph-drawer-pdf-link {\n  display: block;\n  text-align: center;\n  padding: 6px 12px;\n  background: var(--geist-secondary-bg);\n  color: var(--geist-foreground);\n  border: 1px solid var(--geist-border);\n  border-radius: 6px;\n  font-size: 11px;\n  font-weight: 500;\n  text-decoration: none;\n  transition: all 0.15s ease;\n}\n.graph-drawer-pdf-link:hover { background: var(--geist-border); }\n.node-circle {\n  cursor: pointer;\n  transition: r 0.2s, stroke-width 0.2s;\n}\n.node-label {\n  font-size: 10px;\n  font-weight: 600;\n  fill: var(--geist-foreground);\n  pointer-events: none;\n  text-shadow: 0 1px 2px var(--geist-background);\n}\n.link-line {\n  stroke: var(--geist-border);\n  stroke-opacity: 0.6;\n  stroke-width: 1.2;\n  transition: stroke 0.2s, stroke-width 0.2s, stroke-opacity 0.2s;\n}\n.link-label {\n  font-size: 9px;\n  fill: var(--geist-tertiary);\n  pointer-events: none;\n  text-anchor: middle;\n}\n\n/* 引用框与警示框 Alerts */\n.callout-alert {\n  margin: 20px 0;\n  padding: 14px 18px;\n  border-radius: var(--radius-md);\n  transition: all 0.15s ease;\n}\n.callout-important, .callout-idea {\n  border-left: 4px solid #b54708;\n  background: rgba(181, 71, 8, 0.06);\n  box-shadow: inset 0 0 0 1px rgba(247, 144, 9, 0.3);\n}\n[data-theme=\"dark\"] .callout-important, [data-theme=\"dark\"] .callout-idea {\n  border-left-color: #fec84b;\n  background: rgba(181, 71, 8, 0.18);\n  box-shadow: inset 0 0 0 1px rgba(254, 200, 75, 0.25);\n}\n.callout-writing {\n  border-left: 4px solid #6941c6;\n  background: rgba(105, 65, 198, 0.06);\n  box-shadow: inset 0 0 0 1px rgba(105, 65, 198, 0.3);\n}\n[data-theme=\"dark\"] .callout-writing {\n  border-left-color: #d6bbfb;\n  background: rgba(105, 65, 198, 0.18);\n  box-shadow: inset 0 0 0 1px rgba(214, 187, 251, 0.25);\n}\n.callout-value {\n  border-left: 4px solid #027a48;\n  background: rgba(2, 122, 72, 0.06);\n  box-shadow: inset 0 0 0 1px rgba(2, 122, 72, 0.3);\n}\n[data-theme=\"dark\"] .callout-value {\n  border-left-color: #32d583;\n  background: rgba(2, 122, 72, 0.18);\n  box-shadow: inset 0 0 0 1px rgba(50, 213, 131, 0.25);\n}\n\n.card-title {\n  font-size: 16.5px;\n  font-weight: 600;\n  line-height: 1.42;\n  letter-spacing: -0.4px;\n  color: var(--geist-foreground);\n  margin: 0 0 10px;\n  word-break: break-word;\n  overflow-wrap: anywhere;\n  hyphens: auto;\n}\n.card-title a {\n  color: var(--geist-foreground);\n  text-decoration: none;\n  display: inline;\n  transition: color 0.15s ease;\n}\n.card-title a:hover {\n  color: var(--develop-blue);\n  text-decoration: none;\n}\n.card-id-mono {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-quaternary);\n  margin-right: 5px;\n}\n.card-meta-row {\n  display: flex;\n  gap: 6px;\n  flex-wrap: wrap;\n  margin-bottom: 12px;\n}\n.meta-token {\n  font-size: 12px;\n  color: var(--geist-tertiary);\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-ring);\n  padding: 2px 7px;\n  border-radius: var(--radius-sm);\n  white-space: nowrap;\n}\n.card-body-text {\n  font-size: 13.5px;\n  color: var(--geist-secondary);\n  line-height: 1.6;\n  margin-bottom: 16px;\n  flex-grow: 1;\n  word-break: break-word;\n  overflow-wrap: anywhere;\n}\n.card-body-text strong {\n  color: var(--geist-foreground);\n  font-weight: 600;\n}\n\n.card-footer {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  border-top: 1px solid var(--geist-border);\n  padding-top: 14px;\n}\n.card-link-action {\n  font-size: 13.5px;\n  font-weight: 500;\n  color: var(--link-blue);\n  display: inline-flex;\n  align-items: center;\n  gap: 4px;\n  text-decoration: none;\n  transition: all 0.15s ease;\n}\n.card-link-action:hover {\n  opacity: 0.85;\n  transform: translateX(2px);\n}\na.meta-token {\n  transition: all 0.15s ease;\n  cursor: pointer;\n  text-decoration: none;\n}\na.meta-token:hover {\n  background: var(--geist-selection);\n  color: var(--geist-foreground);\n  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);\n}\n\n/* 紧凑列表视图 (List View) */\n.card-list-view {\n  display: flex;\n  flex-direction: column;\n  gap: 8px;\n}\n.list-row-item {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-md);\n  padding: 12px 18px;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 16px;\n  transition: box-shadow 0.15s;\n}\n.list-row-item:hover {\n  box-shadow: var(--shadow-card-hover);\n}\n\n/* 阅读详情页 (Report Detail) */\n.reading-container {\n  display: grid;\n  grid-template-columns: minmax(0, 1fr) 260px;\n  gap: 40px;\n  align-items: start;\n}\n@media (max-width: 960px) {\n  .reading-container { grid-template-columns: 1fr; }\n  .reading-sidebar { display: none; }\n}\n\n.report-header-card {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 28px 32px;\n  margin-bottom: 28px;\n}\n.crumb-bar {\n  font-size: 13px;\n  color: var(--geist-tertiary);\n  margin-bottom: 10px;\n}\n.report-title {\n  font-size: 32px;\n  font-weight: 600;\n  letter-spacing: -1.28px;\n  margin: 0 0 16px;\n  color: var(--geist-foreground);\n}\n.report-action-buttons {\n  display: flex;\n  align-items: center;\n  gap: 10px;\n  flex-wrap: wrap;\n  border-top: 1px solid var(--geist-border);\n  padding-top: 16px;\n  margin-top: 16px;\n}\n\n.article-body {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card-full);\n  border-radius: var(--radius-lg);\n  padding: 36px 42px 80px;\n  font-size: 16px;\n  line-height: 1.75;\n  color: var(--geist-foreground);\n}\n.article-body h1, .article-body h2, .article-body h3 {\n  color: var(--geist-foreground);\n  scroll-margin-top: 80px;\n}\n.article-body h1 { font-size: 28px; font-weight: 600; letter-spacing: -1.28px; border-bottom: 1px solid var(--geist-border); padding-bottom: 8px; margin-top: 32px; }\n.article-body h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.96px; border-bottom: 1px solid var(--geist-border); padding-bottom: 6px; margin-top: 36px; }\n.article-body h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.32px; margin-top: 26px; }\n.article-body table {\n  width: 100%;\n  border-collapse: collapse;\n  margin: 24px 0;\n  font-size: 14px;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  overflow: hidden;\n}\n.article-body th, .article-body td {\n  padding: 10px 14px;\n  text-align: left;\n  border-bottom: 1px solid var(--geist-border);\n}\n.article-body th {\n  background: var(--geist-surface-tint);\n  font-weight: 600;\n  color: var(--geist-foreground);\n}\n.article-body blockquote {\n  border-left: 2px solid var(--geist-foreground);\n  margin: 20px 0;\n  padding: 8px 18px;\n  color: var(--geist-secondary);\n  font-style: normal;\n}\n.article-body code {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 13.5px;\n  box-shadow: var(--shadow-ring);\n  background: var(--geist-surface-tint);\n  padding: 2px 6px;\n  border-radius: var(--radius-sm);\n}\n.article-body pre {\n  position: relative;\n  background: #000000;\n  color: #ededed;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  padding: 18px;\n  margin: 24px 0;\n  overflow-x: auto;\n}\n.article-body pre code {\n  background: transparent;\n  box-shadow: none;\n  padding: 0;\n  color: inherit;\n  font-size: 13px;\n}\n.copy-code-btn {\n  position: absolute;\n  top: 8px;\n  right: 10px;\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  background: #171717;\n  color: #ffffff;\n  border: 1px solid #333333;\n  padding: 3px 8px;\n  border-radius: var(--radius-sm);\n  cursor: pointer;\n}\n\n/* 侧边大纲 (TOC) */\n.reading-sidebar {\n  position: sticky;\n  top: 80px;\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px;\n  max-height: calc(100vh - 100px);\n  overflow-y: auto;\n}\n.sidebar-toc-title {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 12px;\n  font-weight: 500;\n  text-transform: uppercase;\n  letter-spacing: 0.5px;\n  color: var(--geist-quaternary);\n  margin-bottom: 12px;\n}\n.reading-sidebar ul {\n  list-style: none;\n  padding-left: 0;\n  margin: 0;\n  font-size: 13px;\n}\n.reading-sidebar li {\n  margin: 6px 0;\n}\n.reading-sidebar ul ul {\n  padding-left: 14px;\n}\n.reading-sidebar a {\n  color: var(--geist-secondary);\n  text-decoration: none;\n  transition: color 0.15s;\n}\n.reading-sidebar a:hover, .reading-sidebar a.active {\n  color: var(--geist-foreground);\n  font-weight: 600;\n}\n\n/* 后台管理 (/admin) */\n.admin-card-container {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card-full);\n  border-radius: var(--radius-lg);\n  padding: 32px;\n  margin-bottom: 32px;\n}\n.form-row-2 {\n  display: grid;\n  grid-template-columns: 1fr 1fr;\n  gap: 16px;\n  margin-bottom: 16px;\n}\n@media (max-width: 600px) {\n  .form-row-2 { grid-template-columns: 1fr; }\n}\n.form-field {\n  display: flex;\n  flex-direction: column;\n  gap: 6px;\n  margin-bottom: 16px;\n}\n.form-field label {\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-foreground);\n}\n.form-field input, .form-field select, .form-field textarea {\n  font-family: \"Geist\", sans-serif;\n  font-size: 14px;\n  padding: 9px 12px;\n  background: var(--geist-background);\n  box-shadow: var(--shadow-border);\n  border: none;\n  border-radius: var(--radius-md);\n  color: var(--geist-foreground);\n  outline: none;\n}\n.form-field input:focus, .form-field select:focus, .form-field textarea:focus {\n  outline: 2px solid var(--ds-focus-color);\n  box-shadow: none;\n}\n\n/* 语法高亮 (Console Blue / Purple / Pink) */\n.codehilite .k, .codehilite .kd, .codehilite .kn { color: #eb367f; font-weight: 500; }\n.codehilite .s, .codehilite .s1, .codehilite .s2 { color: #0070f3; }\n.codehilite .nf, .codehilite .na { color: #7928ca; font-weight: 500; }\n.codehilite .c, .codehilite .c1 { color: #666666; font-style: italic; }\n.codehilite .mi, .codehilite .mf { color: #ff5b4f; }\n\n</style>\n\n</head>\n<body>\n\n    <nav class=\"vercel-nav\">\n      <div class=\"nav-brand\">\n        <a href=\"/\" style=\"display:flex;align-items:center;gap:10px;text-decoration:none\">\n          <svg class=\"vercel-triangle\" viewBox=\"0 0 76 65\" fill=\"none\">\n            <path d=\"M37.5274 0L75.0548 65H0L37.5274 0Z\" fill=\"currentColor\"/>\n          </svg>\n          <span class=\"nav-title\">Agent Harness KB</span>\n        </a>\n        <span class=\"nav-badge-pill\">Geist 2.0</span>\n      </div>\n\n      <div class=\"nav-links\">\n        <a class=\"nav-link \" href=\"/\">全景总览</a>\n        <a class=\"nav-link \" href=\"/vad\" style=\"color:var(--ship-red)\">🎯 VAD 专栏 (144)</a>\n        <a class=\"nav-link\" href=\"https://m0rtzz.github.io/paper-notes/\" target=\"_blank\" rel=\"noopener\">顶会 669 篇 ↗</a>\n        <a class=\"nav-link\" href=\"/download/all\">整库打包</a>\n        \n      </div>\n\n      <div class=\"nav-actions\">\n        \n        <button class=\"theme-toggle-btn\" id=\"theme-toggle-btn\" onclick=\"toggleTheme()\" title=\"切换亮暗主题\">🌙</button>\n      </div>\n    </nav>\n    \n<main class=\"vercel-container\">\n\n        <div class=\"report-header-card\">\n          <div class=\"crumb-bar\"><a href=\"/\">Home</a> / <b>fulltext.txt</b></div>\n          <h1 class=\"report-title\">fulltext.txt</h1>\n          <div class=\"report-action-buttons\">\n            <a class=\"btn-primary-dark\" href=\"?dl=1\">Download Text</a>\n          </div>\n        </div>\n        <article class=\"article-body\"><pre><code>Agensh: Scaling Organizational Intelligence to 1,024 Agents\n\nZhihao Zhan∗ Ting Song∗ Li Dong†\nShaohan Huang Jianxun Lian Yan Xia† Furu Wei†\nMicrosoft Research\nhttps://aka.ms/GeneralAI\n\narXiv:2609.26781v1 [cs.CL] 22 Sep 2026\n\nA multi-agent system can reduce latency on complex tasks by executing work concurrently.\nSeveral pioneering harness frameworks support multi-agent systems. However, the scalability of current multi-agent harnesses is often constrained by a central orchestrator’s capacity\nto allocate tasks and coordinate workers. To address this limitation, we introduce Agensh, a\nscalable self-organized multi-agent harness without a central orchestrator: concurrent workers execute a multi-agent cooperation loop, continuously gathering context, claiming and\nself-assigning sub-tasks, taking action and sharing findings, verifying results, and merging\nprogress in an asynchronous manner. The loop is supported by the agentic organization\ninfrastructure comprising three components: a shared workspace holds proposed, ongoing,\nand completed work; a message interface lets workers communicate; and shared context\nretains reusable findings and work intentions. To test the scalability of Agensh, we evaluate\nit on the five hardest ProgramBench tasks with GPT-5.6-sol (high). Scaling from 1 to\n128 agents raises the mean final test-pass rate from 19.31% to 28.78%, an approximately\n49% relative improvement. Larger organizations reach comparable test-pass rates earlier.\nOn pandoc, scaling from 1 to 1,024 agents raises the final test-pass rate from 33.89% to\n55.06%. Worker trajectories further show that different forms of self-organized cooperation\ngradually emerges and standardizes as the organization grows. These results reveal the\nnumber of agents as a new scaling dimension for multi-agent organizations to expand the\nfrontier of general intelligence, offering a practical solution for complex tasks under hard\nlatency constraints or time budgets.\nÑ Project Page: https://aka.ms/Agensh\n§ Code: https://github.com/microsoft/Agensh\n\nEmergent self-organized cooperation\nSpecialized roles\nStandardized workflows\nMulti-worker integration\nPeer coordination\n\nFigure 1: Scaling from 1 to 1,024 agents on building pandoc [1] from scratch under 6h budget\nwithout Internet access. Final test-pass rate rises from 33.89% for 1 agent to 55.06% for 1,024\nagents. As the organization grows, emergent self-organized cooperation gradually expands from peer\ncoordination to multi-worker integration, standardized workflows, and specialized roles.\n∗\n\nEqual contribution. † Corresponding authors.\n\nTechnical report.\n\n\fAgensh: Scaling Organizational Intelligence to 1,024 Agents\n\nPrevious: workers organized by orchestrator\n\nAgensh: self-organized cooperation via infrastructure\n\nFigure 2: Comparison of multi-agent system. In previous work, cooperation among agent workers is\nconstrained by the capacity of a central orchestrator. In Agensh, self-organized workers share their\nstate and communicate their progress through the lightweight agentic organization infrastructure.\n\n1\n\nIntroduction\n\nSingle-agent systems allow large language models to perceive context, take actions through tools,\nupdate state, and iteratively progress toward a goal [2, 3]. However, their capability is bounded by\none context window, one action stream, and one memory stream. The sequential execution constraint\nimposes high latency on complex real-world tasks. When we want to overcome these constraints, we\nneed to scale the number of agents in multi-agent systems [4].\nSeveral pioneering harness frameworks support multi-agent systems, including Codex sub-agent,\nClaude Code sub-agent and agent teams, Copilot fleet, and Kimi Agent Swarm [5, 6, 7, 8, 9]. These\nframeworks widely adopt an orchestrator-worker structure, in which a main agent plans, decomposes\ntasks, assigns them to concurrent workers, and manages them. This structure usually requires a\ntrained orchestrator to plan and decompose tasks effectively [9]. However, the scalability of the\noverall system remains fundamentally limited by the orchestrator’s capacity to manage and coordinate\nits workers and integrate their contributions [10, 11, 12].\nTo address this limitation, we introduce Agensh, a scalable multi-agent organization harness without\na central orchestrator. Self-organized workers run concurrently and asynchronously, and share\ntheir state and progress through the lightweight agentic organization infrastructure, as illustrated in\nFigure 2. The infrastructure consists of three coordination components: a shared workspace that holds\nthe organization’s ongoing and integrated work, a message interface that carries organization-wide\nannouncements and urgent direct messages, and shared context that retains peers’ reusable findings\nand work intentions.\nAgensh further couples an asynchronous cooperation loop based on the infrastructure for each worker.\nIn each loop iteration, a worker first gathers context for the shared user’s goal and reads peer progress,\nand claims a sub-task to carry out itself. After addressing the potential overlaps or conflicts through\nmessages, the worker takes action to solve the sub-task using available tools. During this work, it\nupdates the shared context whenever it establishes findings that may help other workers. Finally,\nafter its work is finished and verified, the worker merges its progress into the shared workspace\nand loops back to gathering context for its next sub-task. Overall, the multi-agent cooperation loop\nenables workers to turn individual progress into collected contributions, while the infrastructure\nmakes accumulated work, findings, and messages accessible throughout the organization.\nWe test the scalability of Agensh on ProgramBench [13], one of the most challenging benchmarks for\nagentic software engineering, where an agent organization must reproduce the behavior of reference\nsoftware without Internet access given a 6h budget. We select the five most difficult tasks, whose\nreference repositories comprise thousands of files, with source code spanning millions of bytes. In\nour experiments, increasing the organization from 1 to 128 agents raises the mean final test-pass rate\nacross the five tasks from 19.31% to 28.78%, an approximately 49% relative improvement. Larger\n\n2\n\n\fAgensh: Scaling Organizational Intelligence to 1,024 Agents\n\nWorkers 1..N\nMulti-agent cooperation loop\nrepeat\n\nYour goal\n\nGather context\n\nClaim sub-task\n\nTake action\n\nVerify results\n\nMerge progress\n\nGoal achieved\n\nOrganization infrastructure\nShared workspace\n\nMessage interface\nAsynchronous read\n\nShared context\n\nConcurrent write\n\nFigure 3: Agensh multi-agent cooperation loop. Workers concurrently gather context, claim sub-tasks,\ntake action, verify results, merge progress, in a self-organized manner, and repeat until the user’s goal\nis achieved. All workers proceed asynchronously and share progress through the infrastructure.\norganizations can reach comparable test-pass rates earlier, showing that more concurrent agents can\nreduce the latency to a given level of performance. On pandoc, scaling from 1 to 1,024 agents raises\nthe final test-pass rate from 33.89% to 55.06%. Recorded trajectories further reveal progressively\nbroader forms of self-organized cooperation as the organization grows, from peer coordination\nand multi-worker integration to standardized workflows and specialized roles at organization scale.\nOverall, Agensh reveals agent count as a new scaling dimension for multi-agent organizations: it not\nonly offers a practical solution for complex tasks under hard latency constraints or time budgets, but\nalso shows how scaling a multi-agent organization can expand the frontier of general intelligence.\n\n2\n\nMulti-Agent Organization Harness\n\nIn this section, we introduce Agensh, which couples a multi-agent cooperation loop with the agentic\norganization infrastructure. The multi-agent cooperation loop guides all workers in turning individual\nprogress into verified contribution integrated with the organization’s work. The infrastructure makes\naccumulated work, findings and messages available across the multi-agent organization.\n2.1\n\nMulti-Agent Cooperation Loop\n\nThe core abstraction of a harness is its loop. As illustrated in Figure 3, each worker in Agensh\nexecutes the following five-step cooperation loop concurrently and asynchronously:\n1. Gather context. The worker reads the shared user’s goal, current state, peer progress and\nmessages, and accumulated findings to understand what has been accomplished and what\nremains. It also interacts with the environment to identify and plan its next useful steps.\n2. Claim sub-task. The worker proposes a sub-task to do and announces its scope as a CLAIM\nappended to the shared context. When two workers’ claims overlap or conflict, they are\nencouraged to resolve the issue through direct messages.\n3. Take action. The worker works locally to solve the sub-task it proposed by interacting with the\nenvironment through available tools. It also reports intermediate progress through the shared\ncontext whenever it establishes findings that may help other workers.\n4. Verify results. The worker matches its local progress against the sub-task’s acceptance criteria.\nIf it does not satisfy those criteria, the worker revises its approach until the criteria are met.\n5. Merge progress. The worker makes its contribution available to peers by merging it into the\nshared workspace. Then it publishes an update describing what is changed, the underlying idea,\nand verification evidence so that peers can build on the result. If the merge is blocked by a\nconflict, the worker incorporates the latest peer progress, resolves the conflict, and merges again.\n\n3\n\n\fAgensh: Scaling Organizational Intelligence to 1,024 Agents\n\nLoop\n\nWorker 1\n\n……\n\nWorker 2\n\nWorker N\n\nOrganization infrastructure\nShared workspace\n\nMessage interface\n\nShared context\n\n• Finished work\n\n• Share progress\n\n• Observations\n\n• On-going work\n\n• Resolve conflict\n\n• Claims of work\n\n• Proposed work\n\n• Avoid duplication\n\n• Failed trials\n\nFigure 4: Agensh organization infrastructure. The shared workspace holds the organization’s ongoing\nand integrated work, the message interface carries organization-wide announcements and urgent\ntargeted communication, and shared context retains reusable findings and claims of work. Together,\nthese infrastructure components sustain a persistent, self-organized multi-agent organization.\nAfter merging progress in step 5, the worker goes back to step 1 and gathers context for its next\nsub-task again, based on newly integrated work and the latest peer updates. By proposing and\nclaiming their own sub-tasks, workers self-organize sub-task discovery and allocation across the\norganization. They proceed asynchronously, allowing each worker to continue without waiting for all\npeers to complete an iteration. As workers repeat this process, their findings and verified contributions\naccumulate through the shared infrastructure, driving the organization towards the user’s goal.\n2.2\n\nAgentic Organization Infrastructure\n\nWorkers in a multi-agent organization need to access one another’s work, communicate about their\nsub-tasks, and retain findings to guide their next steps. As illustrated in Figure 4, Agensh supports\nthree coordination mechanisms: a shared workspace, a message interface, and shared context.\nShared workspace. The shared workspace is a file system intended to hold the organization’s\nwork, including under development and integrated results. It is expected to support concurrent writes\nand asynchronous reads, allowing workers to develop separate contributions while accessing work\npublished by peers. It should also preserve the version history and support merging contributions,\nexposing the merge conflict for workers to backtrack and resolve. In Agensh, we use a Git platform\nto manage the shared workspace. Workers modify private checkouts and branches and integrate their\ncontributions into a main branch. Git records the provenance of changes and detects textual merge\nconflicts, while hosting issues and pull requests for all.\nMessage interface. The message interface is intended to let workers coordinate their ongoing\nwork through communication, address ownership overlaps, and resolve dependency conflicts. In the\nAgensh message interface, a shared task channel carries team announcements, while direct messages\nsupport urgent one-to-one messages. Lower-priority shared-task-channel messages are delivered at\nthe beginning of each loop iteration, while higher-priority direct messages are delivered at the end of\neach infrastructure tool call. The message interface also retains the conversation history and delivers\nmessages asynchronously. These functions allow workers to resolve overlapping claims, negotiate\ndependencies, and request assistance in a timely manner while their peers continue to work.\nShared context. The shared context is intended to retain findings that workers can reuse and\nclaims of work across the organization. The idea is adopted from DeLM [14]. In Agensh, workers\npublish concise, typed shared context entries: OBSERVED behavior, confirmed FACTs, unsuccessful\napproaches recorded as FAIL, active CLAIMs, and PATCH_SUMMARY entries describing completed\n\n4\n\n\fAgensh: Scaling Organizational Intelligence to 1,024 Agents\n\nFigure 5: Scaling from 1 to 128 agents on the five hardest ProgramBench tasks [1, 17, 18, 19, 20]\nunder 6h budget. Mean final test-pass rate rises from 19.31% for 1 agent to 28.78% for 128 agents.\nchanges. The service retains an append-only database with recent memory. To support longer task\nhorizons, we introduce a context grep tool that lets workers search the full recorded history beyond\nrecent memory. New entries on the shared context are treated as higher-priority updates and will\nbe forwarded when every other worker’s next infrastructure tool call returns, making peer findings\nvisible across the organization.\nTogether, these mechanisms connect each worker’s local activity to the organization’s shared state. A\nworker can reuse a peer’s findings, address sub-task overlapping, and make an integrated contribution\nwithin its own cooperation loop.\n2.3\n\nImplementation\n\nAgensh is an organization harness layered above a single-agent harness rather than a replacement for\nit. For each worker, the underlying single-agent harness owns the local agentic loop: it maintains\nconversational state, invokes the model, executes tools, and produces the worker’s next response.\nAgensh supplies organization-level behavior around that loop, including worker identity and the\nprotocols for cooperation, event routing, robust dispatch, shared-workspace access, messaging, shared\ncontext, and recovery and liveness mechanisms. Thus, the single-agent harness determines how one\nworker reasons and acts, while Agensh determines how many workers receive events, share state,\ncoordinate, and repeatedly contribute to a shared goal.\nThe interface between the single-agent agentic loop and the multi-agent cooperation loop is intentionally kept minimal and plug-and-play. Agensh realizes the cooperation loop through workflow\ninstructions in each worker’s prompt rather than hard-coding the loop into the runtime infrastructure.\nThe complete worker prompt is presented in Appendix A, which is exactly the same for each worker\nexcept for the worker ID. Therefore, Agens can connect to different underlying harnesses, such\nas Claude Code and Copilot, through lightweight harness-specific adapters without changing the\ncooperation loop, the shared services, or the agentic loop of the underlying harness.\nWe implement the shared workspace with Gitea [15] and the message interface with Mattermost [16].\nThe shared context follows the core idea of DeLM [14], but we adapt its tool formats and worker\ninstructions. Appendix B further describes how repository events, messages, and shared context are\ndelivered to workers.\n\n5\n\n\fAgensh: Scaling Organizational Intelligence to 1,024 Agents\n\n3\n\nScaling Multi-Agent Organization to 1,024 Agents\n\nWe use ProgramBench [13] to test whether scaling a multi-agent organization can extend to a new\nfrontier of agentic software engineering on complex long-horizon tasks. ProgramBench requires\nagents to reconstruct reference software’s behavior from scratch given a 6h budget, with Internet\naccess disabled to prevent retrieval of existing implementations. We test Agensh on five particularly\ndemanding systems: FFmpeg [17], gromacs [18], pandoc [1], PHP-src [19], and ctags [20]. These\nare the five most difficult tasks among ProgramBench’s 200 instances, as measured by the mean testpass rate of state-of-the-art models. The systems span multimedia processing, molecular simulation,\ndocument conversion, language interpretation, and code indexing. Their reference repositories contain\nthousands of files and hundreds of thousands to millions of lines of code, as collected in Table 1,\nmaking them a demanding test of long-horizon multi-agent cooperation.\n3.1\n\nMain Results\n\nFigure 5 demonstrates that agent count is a scaling dimension for multi-agent organizations. With\nthe same agent model, GPT-5.6-sol (high), underlying single-agent harness, Copilot, and 6h budget,\nthe mean final test-pass rate across the five tasks increases from 19.31% with 1 agent to 20.68%,\n26.52%, and 28.78% with 8, 32, and 128 agents, respectively. Scaling from 1 to 128 agents yields\na gain of 9.47 percentage points, or an approximately 49% relative improvement in the average\nscore. Across the five tasks, final scores show a generally increasing trend as the agent organization\ngrows, indicating that continuously increasing the number of cooperating workers can consistently\nand substantially improve the quality of complex software reproduction over long time horizons.\nFigure 6 further demonstrates that more concurrent agents can also reduce the latency to achieve\nthe same score. During the first two hours, larger organizations reach comparable test-pass rates\nearlier. For example, on pandoc, 128 agents exceed a 30% test-pass rate at the 30-minute checkpoint,\nwhile 32 and 8 agents first exceed that threshold at the 60- and 90-minute checkpoints, respectively.\nThe single-agent run remains below this threshold throughout the first two hours. Increasing agent\ncount can therefore shorten the time needed to reach a given level of task performance, in addition to\nimproving the final score.\nFigure 1 extends this scaling to 1,024 agents on pandoc. Under the same 6h budget, the final test-pass\nrate rises from 33.89% with 1 agent to 50.94% with 128 agents and 55.06% with 1,024 agents. The\nlargest organization improves on the 128-agent result by 4.12 percentage points and the single-agent\nresult by 21.17 percentage points. These results show that Agensh continuously scales self-organized\ncooperation among more than a thousand agents.\nWith the underlying model and harness held fixed, these experiments show that increasing the number\nof workers can improve both the quality and speed of software reproduction. The gains across five\ndemanding tasks, together with the extension to 1,024 agents on pandoc, support agent count as\na new scaling dimension for multi-agent organizations. They provide evidence that organizational\nintelligence can grow through scaling self-organized cooperation on complex, long-horizon work.\n3.2\n\nSelf-Organized Cooperation Emerges at Scale\n\nBeyond the performance gains, the recorded trajectories reveal how workers organize their own\ncooperation. All workers follow the same loop and receive the same prompt except for worker IDs,\nbut new forms of self-organized cooperation progressively emerge as the organization grows.\nTable 1: Reference repository size of the five hardest tasks in ProgramBench.\nTask\n\nCommit\n\nFiles\n\nLines of code\n\nCode size (MB)\n\nFFmpeg [17]\ngromacs [18]\npandoc [1]\nPHP-src [19]\nctags [20]\n\n360a402\n665ea4c\n5caad90\nc891263\n243595e\n\n10,090\n8,982\n2,767\n26,266\n7,313\n\n1,549,005\n815,539\n104,336\n2,812,757\n246,228\n\n75.51\n47.30\n4.86\n119.76\n9.15\n\n6\n\n\fAgensh: Scaling Organizational Intelligence to 1,024 Agents\n\nFigure 6: Test-pass rates over time with 1 to 128 agents on the five hardest ProgramBench tasks\nduring the first 2h of the 6h runs. Larger organizations generally achieve higher test-pass rates earlier.\n8 agents: coordinating implementation with peers. Workers can agree on a concrete technical interface and independently implement components that conform to it. In gromacs, workers announced\na module interface and independently implemented command modules that followed it. Workers can\nalso discover and resolve overlapping claims themselves. In FFmpeg, one worker changed its scope\nand took on complementary work after discussing the overlap issue with a peer.\n32 agents: managing integration across multiple workers. Multiple workers can jointly work on\na technical contribution. In PHP-src, several peers initially approved a contribution. Another worker\nfound a concrete counterexample, so the earlier approval was withdrawn, and the author fixed the\nproblem. Peers then reviewed the contribution again, and a peer merged it. Workers also became\nmore active in managing integration, and a broader set of peers participated in the communication.\n128 agents: self-organized specialization and workflow standardization. Specialization emerges\nat this scale. Workers are choosing reviewers based on relevant prior experience and reuse these\nreview relationships over time. They can also transfer responsibility for integrating a contribution to\na peer who resolves conflicts, validates the combined work, and merges it.\nWorkers can negotiate, follow, and reuse standardized self-organized workflows. In pandoc, two\nworkers established a standardized integration protocol: the author updated and tested a branch, then\nsent its commit hash for peer validation and merge. This protocol was later reused by other workers.\nAfter some failures, workers further revised the cooperation protocol: they agreed to give the peer\npermission to perform the entire update, test, check, and merge cycle. The peers explicitly accepted\nand carried out this revised procedure for new pull requests.\n1,024 agents: role specialization at organization scale. At this scale, multiple workers take on the\nsame specialized roles or develop expertise in the same technical area. In pandoc, multiple workers\nserved as integrators. A worker could contact several candidate integrators, select the first valid\nresponder, cancel the other requests, and hand over the code to be integrated only after this selection.\nWorkers specializing in the same technical area can also recover and take over the work after another\nworker’s attempt fails. This strengthens the organization’s robustness by avoiding dependence on any\nindividual worker.\nThese observations complement the scaling results by showing how new forms of cooperation emerge\nwhile the number of agents scales. As the organization grows, cooperation becomes broader in scope,\nextending from coordinating implementation to managing integration, standardizing workflows,\n7\n\n\fAgensh: Scaling Organizational Intelligence to 1,024 Agents\n\nand developing specialized roles at organization scale. Surprisingly, these forms of cooperation\nare entirely self-organized: workers themselves choose collaborators, divide responsibilities, and\nestablish and revise their workflows through peer interactions. This further illustrates the scaling\npotential of self-organized multi-agent systems.\n\n4\n\nRelated Work\n\nMulti-agent organization and cooperation harnesses. Existing harnesses organize multi-agent\nsystems through varying approaches to task assignment, communication, and integration. Claude\nCode supports persistent sub-agents and asynchronous agent teams, but the collaboration is still\norganized around a fixed lead session that spawns other agents, manages shared tasks, and coordinates\nwith inter-agent messages [6, 7]. Codex supports sub-agent workflows with delegated parallel\nworkers whose results are routed back to the parent for consolidation [5]. Kimi Agent Swarm\ntrains an orchestrator to decompose tasks and schedule sub-agents concurrently for lower latency,\nbut the harness remains an orchestrator-worker parallelization scheme [9]. We study a multi-agent\norganization structure in which self-organized workers share responsibility for discovering tasks,\ncoordinating dependencies, and integrating results over persistent work cycles.\nShared context and decentralized coordination. DeLM combines asynchronous workers, a task\nqueue, and shared context so that agents can build on accumulated progress without routing every\nupdate through a central controller [14]. Existing collaboration tools also support coordination among\nagents. ChatCollab places human and AI participants in Slack as peers that coordinate roles, requests,\nand progress [21]. SlackAgents embeds AI agents into Slack workspaces for communication and task\norchestration [22]. For the shared workspace, Carlini’s compiler-building experiment coordinates\n16 Claude agents through a Git repository and task-lock files, with workers selecting tasks and\nmerging changes without an orchestration agent [23]. STORM reframes multi-agent coding as a\nstate-management problem, replacing isolated multi-agent worktrees with a shared workspace that\nenforces local state consistency and detects stale or conflicting edits at write time [24].\n\n5\n\nConclusion\n\nWe introduced Agensh, a scalable multi-agent organization harness that couples a multi-agent\ncooperation loop with lightweight agentic organization infrastructure. Through a shared workspace, a\nmessage interface, and shared context, self-organized workers discover and claim sub-tasks, exchange\nfindings, and integrate contributions while proceeding concurrently and asynchronously. This design\nenables individual progress to accumulate into shared work and knowledge without relying on\na central orchestrator to allocate tasks and manage workers. In our experiments, with the same\nagent model GPT-5.6-sol (high) and 6h budget, scaling from 1 to 128 agents on the five hardest\nProgramBench tasks raises the mean final test-pass rate from 19.31% to 28.78%, an approximately\n49% relative improvement. Larger organizations can reach comparable test-pass rates earlier, reducing\nthe latency to a given level of performance. In pandoc, scaling to 1,024 agents raises the final testpass rate from 33.89% with 1 agent to 55.06%. Worker trajectories further reveal the forms of selforganized cooperation broadening with scale, from peer coordination and multi-worker integration\nto standardized workflows and organization-scale role specialization. These results demonstrate the\nnumber of agents as a new scaling dimension for multi-agent organizations. Through Agensh, scaling\ncooperation not only offers a practical approach to complex tasks under hard latency constraints or\ntime budgets, but also opens a path to expand the frontier of general intelligence.\n\n8\n\n\fAgensh: Scaling Organizational Intelligence to 1,024 Agents\n\nReferences\n[1] Pandoc Contributors. Pandoc source repository. GitHub repository, https://github.\ncom/jgm/pandoc/tree/5caad90fc44669ced0abdd7a890108a995689a90, 2026. Commit 5caad90; accessed: 2026-09-22.\n[2] Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan\nCao. ReAct: Synergizing reasoning and acting in language models. In International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=WE_\nvluYUL-X.\n[3] Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao.\nReflexion: Language agents with verbal reinforcement learning. In Advances in Neural\nInformation Processing Systems, volume 36, pages 8634–8652. Curran Associates, Inc.,\n2023. doi: 10.52202/075280-0377. URL https://papers.nips.cc/paper_files/paper/\n2023/hash/1b44b878bb782e6954cd888628510e90-Abstract-Conference.html.\n[4] Yubin Kim, Ken Gu, Chanwoo Park, Chunjong Park, Samuel Schmidgall, A. Ali Heydari, Yao\nYan, Zhihan Zhang, Yuchen Zhuang, Yun Liu, Mark Malhotra, Paul Pu Liang, Hae Won Park,\nYuzhe Yang, Xuhai Xu, Yilun Du, Shwetak Patel, Tim Althoff, Daniel McDuff, and Xin Liu.\nTowards a science of scaling agent systems. arXiv preprint arXiv:2512.08296, 2025. URL\nhttps://arxiv.org/abs/2512.08296.\n[5] OpenAI. Subagents. https://learn.chatgpt.com/docs/agent-configuration/\nsubagents, 2026. Accessed: 2026-09-22.\n[6] Anthropic. Create custom subagents. https://code.claude.com/docs/en/sub-agents,\n2026. Accessed: 2026-09-22.\n[7] Anthropic. Orchestrate teams of Claude Code sessions. https://code.claude.com/docs/\nen/agent-teams, 2026. Accessed: 2026-09-22.\n[8] GitHub.\nSpeeding up task completion with the /fleet command.\nhttps:\n//docs.github.com/en/copilot/how-tos/copilot-cli/use-copilot-cli/\nspeed-up-task-completion, 2026. Accessed: 2026-09-22.\n[9] Kimi Team. Kimi K2.5: Visual agentic intelligence. arXiv preprint arXiv:2602.02276, 2026.\nURL https://arxiv.org/abs/2602.02276.\n[10] Yingxuan Yang, Huacan Chai, Shuai Shao, Yuanyi Song, Siyuan Qi, Renting Rui,\nand Weinan Zhang.\nAgentNet: Decentralized evolutionary coordination for LLMbased multi-agent systems.\nIn Advances in Neural Information Processing Systems, volume 38, pages 107309–107336. Curran Associates, Inc., 2025. doi: 10.\n52202/085713-3578. URL https://papers.nips.cc/paper_files/paper/2025/hash/\n9a379c1b05793d1c42dc832269834515-Abstract-Conference.html.\n[11] Anthropic. How we built our multi-agent research system. Anthropic Engineering, June 2025.\nURL https://www.anthropic.com/engineering/multi-agent-research-system.\nAccessed: 2026-09-22.\n[12] Anthropic. Patterns and problems in emerging multiagent systems. Anthropic Research, August\n2026. URL https://www.anthropic.com/research/multiagent-systems. Accessed:\n2026-09-22.\n[13] John Yang, Kilian Lieret, Jeffrey Ma, Parth Thakkar, Dmitrii Pedchenko, Sten Sootla, Emily\nMcMilin, Pengcheng Yin, Rui Hou, Gabriel Synnaeve, Diyi Yang, and Ofir Press. ProgramBench: Can language models rebuild programs from scratch? arXiv preprint arXiv:2605.03546,\n2026. URL https://arxiv.org/abs/2605.03546.\n[14] Yuzhen Mao and Azalia Mirhoseini. Decentralized multi-agent systems with shared context.\narXiv preprint arXiv:2606.10662, 2026. URL https://arxiv.org/abs/2606.10662.\n\n9\n\n\fAgensh: Scaling Organizational Intelligence to 1,024 Agents\n\n[15] Gitea Contributors. Gitea source repository. GitHub repository, https://github.com/\ngo-gitea/gitea/tree/de5913d6471614468096c0b99c352c17bb1115bf, 2026. Commit de5913d; accessed: 2026-09-22.\n[16] Mattermost, Inc. Mattermost source repository. GitHub repository, https://github.\ncom/mattermost/mattermost/tree/493723d4001af32c0fd76cd8ac51dd522a69131e,\n2026. Commit 493723d; accessed: 2026-09-22.\n[17] FFmpeg Developers. FFmpeg source repository. GitHub repository, https://github.com/\nFFmpeg/FFmpeg/tree/360a4025fb2582d52d871ea2129d6b659598bb49, 2026. Commit\n360a402; accessed: 2026-09-22.\n[18] GROMACS\nDevelopment\nTeam.\nGROMACS\nsource\nrepository.\nGitHub\nrepository,\nhttps://github.com/gromacs/gromacs/tree/\n665ea4ca703128d057f978d9d2f99871aa816618, 2026. Commit 665ea4c; accessed:\n2026-09-22.\n[19] The PHP Group. PHP source repository. GitHub repository, https://github.com/\nphp/php-src/tree/c8912639008a89a195a258fc8cb924b5763c6766, 2026. Commit\nc891263; accessed: 2026-09-22.\n[20] Universal\nCtags\nDevelopers.\nUniversal\nCtags\nsource\nrepository.\nGitHub\nrepository,\nhttps://github.com/universal-ctags/ctags/tree/\n243595eebc1178ac04695524ee5f8356cc28d480, 2026. Commit 243595e; accessed:\n2026-09-22.\n[21] Benjamin Klieger, Charis Charitsis, Miroslav Suzara, Sierra Wang, Nick Haber, and John C.\nMitchell. ChatCollab: Exploring collaboration between humans and AI agents in software teams.\narXiv preprint arXiv:2412.01992, 2024. URL https://arxiv.org/abs/2412.01992.\n[22] Zhiwei Liu, Weiran Yao, Zuxin Liu, Juntao Tan, Jianguo Zhang, Frank Wang, Sukhandeep Nahal,\nHuan Wang, Shelby Heinecke, Silvio Savarese, and Caiming Xiong. SlackAgents: Scalable\ncollaboration of AI agents in workspaces. In Proceedings of the 2025 Conference on Empirical\nMethods in Natural Language Processing: System Demonstrations, pages 969–982. Association\nfor Computational Linguistics, November 2025. doi: 10.18653/v1/2025.emnlp-demos.76. URL\nhttps://aclanthology.org/2025.emnlp-demos.76/.\n[23] Nicholas Carlini. Building a C compiler with a team of parallel Claudes. Anthropic\nEngineering Blog, February 2026. URL https://www.anthropic.com/engineering/\nbuilding-c-compiler.\n[24] Mengyang Liu, Taozhi Chen, Zhenhua Xu, Xue Jiang, and Yihong Dong. Multi-agent collaboration with state management. arXiv preprint arXiv:2605.20563, 2026. URL https:\n//arxiv.org/abs/2605.20563.\n\n10\n\n\fAgensh: Scaling Organizational Intelligence to 1,024 Agents\n\nA\n\nWorker Prompt\n\nThe 1,024-agent configuration supplies the following prompt to pbench-team1-worker1. The\nprompt for every other worker is exactly the same except for the worker ID.\n# Hello\nYou are pbench-team1-worker1.\n## Where you are\nYou work with 1024 peers. Work is tracked in **gitea**; you talk on\n**mattermost**; you share findings on the **shared context board**.\n- **gitea** -- issue #1 is the task. You open your own issues for the areas you take, and PRs\ncarry the work. Use the in-container address **`http://gitea:3000`** for everything: clone,\nfetch, push, curl, API. The `clone_url` / `html_url` gitea returns are external addresses\n(`http://gitea.localhost:&lt;port&gt;`) and are **unreachable from your container** -- substitute\n`http://gitea:3000` whenever you see one.\n- **mattermost** -- channel `pbench-task`, where the team talks. Be brief and concrete.\nHandles are `pbench-team1-worker1..1024`; `@worker1` matches no account, so\nuse the full one. A **direct message** on the same server reaches a peer **inside their\ncurrent turn**, so it is the fast way to settle a collision -- and it interrupts what they are\ndoing. Send a direct message when two of you are about to edit the same thing; use the\nchannel for everything else.\n- **shared context board** -- an append-only log of short, verified notes from every agent. It is\nrendered into your prompt each turn under `==== SHARED CONTEXT ====`, and anything a peer\nwrites after that reaches you mid-turn, appended to whatever tool result you were waiting on.\nPublish with `board_write` the moment you establish something -- `OBSERVED` for noticeable\nreference behaviour, `FACT` for what you confirmed, `FAIL` for a hypothesis you falsified (the\nhighest-value entry: it stops peers spending budget on it), `PATCH_SUMMARY` as\n`files= | idea= | evidence=` when you fix something, and `CLAIM` while you are working so\npeers pick a different angle. Entries are capped (100 chars, 300 for `PATCH_SUMMARY`); put the\nlong version in `detail` and peers can `board_unfold` it. Do not re-derive a peer's `FACT`,\nand do not retry something recorded as `FAIL`. `board_read` returns the full recent board\n(truncated to the 2000 latest entries) while `board_grep` returns entries containing your\nkeywords across the complete history. You can grep multiple keywords: ',' is OR and '&amp;' is\nAND (case-insensitive), so `a&amp;b,c&amp;d` means (a AND b) OR (c AND d).\n## The team\n1024 coders, all equal. You claim what to build, you build it, you merge it, and\nyou choose the next thing. Your peer coders are working simultaneously: sync your codebase with\nthe latest `main` branch before merging your own code to `main`, and sync up with peers to avoid\nduplicated work. Always focus on reproducing the reference; reach for the coordination tools\nonly when your information can greatly impact others' work.\n# Current task: ProgramBench reverse rebuild\n## Goal\nYou are given a **pre-compiled reference program** (binary), mounted at `/opt/pbench/executable` in every\ncontainer.\nTask: **rebuild from scratch a complete codebase that reproduces its behavior**, so that it can be\ncompiled and pass the hidden tests.\n- You **can run** this binary to observe its behavior: `/opt/pbench/executable --help`, feed various\ninputs and inspect the output,\ncompare boundary cases. This is the **only** information source for understanding the target behavior\n(plus docs / assets in the repo).\n- You **cannot read its bytes**: it is `root:root 0111`, `cat` / `od` / `objdump` will get Permission\ndenied.\nThis is a rule, not a fault -- **do not try to decompile or dump it**; that is cheating, and even if you\ntry, you can't read it.\n## Iron rules (violating any = the entire task is voided)\n1. **Fully autonomous**: the whole team defines requirements itself, breaks down work itself, decides\nitself, and finishes itself. There is no external input;\ndo not wait for instructions, do not ask on mattermost \"what to do next\" -- the answer is always:\n**push the rebuild forward**.\n2. **No internet**: the whole cluster is offline. `git clone` of the original project source, `pip\ninstall`, `npm i` of remote packages\n**will all fail**. Do not waste time trying to fetch the original source over the network -- that is\nboth impossible and cheating. Only the toolchain\nalready available in the container (gcc / make / python / node etc. installed locally) is usable.\n3. **Hard delivery constraint**: the repo **root directory** must have an executable `compile.sh`; running\nit must produce an executable file\nnamed `./executable` at the **root directory**. The evaluator will `tar` your repo HEAD -&gt; unpack -&gt;\n**delete any committed `./executable`** -&gt; run `./compile.sh`\n-&gt; run the hidden tests using the produced `./executable`. `compile.sh` must therefore create\n`./executable`, not just `chmod` it.\n\n11\n\n\fAgensh: Scaling Organizational Intelligence to 1,024 Agents\n\n**No root-directory compile.sh = 0 points**.\n## The first step is always\n**Run `/opt/pbench/executable` and observe what it does.** Every rebuild starts from understanding its\nactual behavior.\n## Working with the tools\n**Events.** You are event-driven. When something relevant happens, the environment sends you\none message:\n[event]\nevent_id=...\nsource=...\n&lt;- gitea / mattermost / ...\nkind=...\nobserved_at=...\nsummary: ...\n&lt;- what happened and where to find it\nIt reports facts; deciding what to do about them is yours. **A direct message and a peer's new\nboard entry reach you mid-turn**, appended to whatever tool result you were already waiting on.\nEverything else queues and arrives when your turn ends.\nA board entry arriving mid-turn provides information:\n- `FAIL` -- stop if you are doing that thing.\n- `FACT` / `OBSERVED` -- use it.\n- `CLAIM` on what you are building -- a collision; settle it by direct message.\n- any other `CLAIM` -- keep building what you are on.\n**The work cycle.** Each step is finished by the person doing it.\n1. Run `/opt/pbench/executable` to observe the unexplored areas to build.\n2. Announce the area you are taking as a `CLAIM` on the shared context board.\n3. Run `/opt/pbench/executable` on that area under `ulimit -v 67108864` and write code that\nreproduces what you observe, based on current `main`. You do not need to sync code with\nothers during implementation.\n4. Check your work by running the reference and your build on the same inputs and comparing.\n5. Push, open a PR, and merge to `main`. If the merge is refused, merge the latest `main` into\nyour branch, re-check your work against the reference, and push again.\n6. Say what you finished as a `PATCH_SUMMARY` (`files= | idea= | evidence=`) on the board,\nthen go back to 1.\nCommit everything the build needs: the grader builds from a fresh clone of `main` and does not\ninvoke your binary from the repo root, so resolve data paths with `dirname(realpath(argv[0]))`.\n**Anything else.** MCP, git CLI, shell, curl, writing files -- whatever is at hand is fine.\nIf the tool you have is not enough, look for one; if there is none, build one.\n\nB\n\nImplementation Details\n\nB.1\n\nEvent-Driven Runtime\n\nEach worker is driven by events rather than by a centrally scheduled sequence of steps. Its paired\nrouter listens for repository activity from Gitea and messages from Mattermost. For Gitea, a serversent event triggers a fetch of notifications newer than the last processed notification; for Mattermost,\na live connection delivers messages and a reconnect catch-up retrieves messages missed while\ndisconnected. When new activity arrives, the listener writes the event to the worker’s durable queue\nand wakes the dispatcher. Each event has a unique identifier for deduplication.\nEach dispatcher wake starts from the worker’s queued events. The dispatcher orders and combines\npending events into the next prompt, delivers it to the worker’s persistent session, and marks the events\nas sent when the turn completes. Events that arrive during a turn remain queued for a subsequent\nturn. Failed deliveries are retried after progressively longer waiting periods; after a router restart,\nunfinished events return to the queue and the worker’s prior session is restored when possible. If a\nworker remains idle for 10 minutes, an idle detector sends a prompt asking it to continue working. If\na completed turn produces no shared context entry, a follow-up prompt reminds the worker to publish\nuseful findings.\nB.2\n\nShared Context Delivery\n\nShared context reaches workers through two delivery paths. At the beginning of a new turn, the router\nappends the queued workspace notification, arriving messages, and the recently shared context to the\n12\n\n\fAgensh: Scaling Organizational Intelligence to 1,024 Agents\n\nprompt. During an active turn, a wrapper around any infrastructure tool call appends pending direct\nmessages and new shared context entries to the tool results returned. This path operates on MCP tool\nreturns; it does not interrupt an arbitrary running process.\n\nC\n\nExperiment Details\n\nTask selection. We select the five hardest tasks based on the official ProgramBench extended results\nat https://programbench.com/extended/, where task difficulty is determined by the average\npass rate of state-of-the-art models.\nAgent configuration. All reported configurations use gpt-5.6-sol with high reasoning effort and\nthe same harness, worker protocol, and evaluation configuration. We use Copilot as the underlying\nsingle-agent harness, with a maximal input token limit of 272,000 and a maximal output token limit\nof 128,000.\nExperiment setup. We follow ProgramBench to prepare the agent containers, set the total time\nbudget to 6 hours, run the official evaluation, and report the canonical-kept pass rate.\nLarge-scale deployment. To reduce scope contention, we stagger agent activation in all experiments, launching one agent every 30 seconds during the first hour and one every 3 seconds thereafter.\nLet t denote the time at which the first agent is activated. At T = t + 6 h, all agents are terminated\nand the submission is exported.\nAt T − 45 min, we send the following reminder:\nStop dispatching new features. Ensure the root build works and existing work is merged. Land open PRs; if\na PR cannot be merged, say so and move on.\n\nAt T − 5 min, we send a second reminder:\nMerge anything ready, then stop. Confirm bash compile.sh &amp;&amp; ./executable works on the default branch and\npost the final state.\n\nIn the 1,024-worker experiments, we distribute workers across 16 nodes, with 64 agents per node.\nSingle-agent baseline. Since in practice, a single-agent run can rarely sustain the full 6-hour\nruntime, we add a stop hook to the single-agent baseline with the following prompt:\nThere is always new work -- do not be bounded by the previous plan's scope: pick up\n/opt/pbench/executable, run it against untried inputs, and derive fresh tasks from what interaction with\nit reveals. Let's make the 6h fulfilled.\n\nThis is paired with an idle detector for the multi-agent organization that sends the following prompt\nafter an agent has been idle for 10 minutes:\nThere is always new work -- do not be bounded by the previous CLAIMs' scope: pick up\n/opt/pbench/executable, run it against untried inputs, and close the gap between reference and the team's\nimplementation.\n\n13\n\n\f</code></pre></article>\n        \n</main>\n\n<script src=\"https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js\"></script>\n<script src=\"https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js\"></script>\n<script>\n\nfunction initTheme() {\n  const saved = localStorage.getItem('kb-theme') || 'light';\n  document.documentElement.setAttribute('data-theme', saved);\n  updateThemeIcon(saved);\n}\nfunction toggleTheme() {\n  const cur = document.documentElement.getAttribute('data-theme') || 'light';\n  const next = cur === 'light' ? 'dark' : 'light';\n  document.documentElement.setAttribute('data-theme', next);\n  localStorage.setItem('kb-theme', next);\n  updateThemeIcon(next);\n}\nfunction updateThemeIcon(t) {\n  const btn = document.getElementById('theme-toggle-btn');\n  if (btn) btn.innerHTML = t === 'dark' ? '☀️' : '🌙';\n}\ndocument.addEventListener('DOMContentLoaded', initTheme);\n\nfunction setViewMode(m) {\n  const grid = document.getElementById('bento-grid-view');\n  const list = document.getElementById('list-table-view');\n  const bGrid = document.getElementById('view-grid-btn');\n  const bList = document.getElementById('view-list-btn');\n  if (m === 'list') {\n    if (grid) grid.style.display = 'none';\n    if (list) list.style.display = 'flex';\n    if (bGrid) bGrid.classList.remove('active');\n    if (bList) bList.classList.add('active');\n  } else {\n    if (grid) grid.style.display = 'grid';\n    if (list) list.style.display = 'none';\n    if (bGrid) bGrid.classList.add('active');\n    if (bList) bList.classList.remove('active');\n  }\n  localStorage.setItem('kb-view', m);\n}\ndocument.addEventListener('DOMContentLoaded', () => {\n  const s = localStorage.getItem('kb-view') || 'grid';\n  setViewMode(s);\n});\n\ndocument.addEventListener('DOMContentLoaded', () => {\n  document.querySelectorAll('pre').forEach(pre => {\n    const b = document.createElement('button');\n    b.className = 'copy-code-btn';\n    b.innerText = 'Copy';\n    b.onclick = () => {\n      const c = pre.querySelector('code') ? pre.querySelector('code').innerText : pre.innerText;\n      navigator.clipboard.writeText(c).then(() => {\n        b.innerText = 'Copied!';\n        setTimeout(() => { b.innerText = 'Copy'; }, 2000);\n      });\n    };\n    pre.appendChild(b);\n  });\n});\n\nwindow.addEventListener('keydown', (e) => {\n  if ((e.key === '/' || (e.metaKey && e.key === 'k')) && document.activeElement.tagName !== 'INPUT' && document.activeElement.tagName !== 'TEXTAREA') {\n    e.preventDefault();\n    const q = document.getElementById('global-search-input');\n    if (q) q.focus();\n  }\n});\n\n// Scrollspy for TOC\nwindow.addEventListener('scroll', () => {\n  const headers = document.querySelectorAll('.article-body h1, .article-body h2, .article-body h3');\n  const scrollPos = window.scrollY + 100;\n  headers.forEach(h => {\n    if (h.offsetTop <= scrollPos) {\n      const id = h.getAttribute('id');\n      if (id) {\n        document.querySelectorAll('.reading-sidebar a').forEach(a => {\n          a.classList.toggle('active', a.getAttribute('href') === '#' + id);\n        });\n      }\n    }\n  });\n});\n\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n  if (window.renderMathInElement) {\n    renderMathInElement(document.body, {\n      delimiters: [\n        {left: '$$', right: '$$', display: true},\n        {left: '$', right: '$', display: false},\n      ],\n      throwOnError : false\n    });\n  }\n});\n</script>\n\n</body>\n</html>\n"