Code Agent Anatomy (19): AgentTeams — The Life and Death of an Experimental System
说明与用途
从 MyCodeAgent 中移除实验性的 AgentTeams 功能将代码量减少了 27%,消除了第二个循环,并澄清了项目范围,同时保留了设计以供未来研究。
问题
AgentTeams, an experimental multi‑agent feature, was removed from the MyCodeAgent codebase because it introduced excessive complexity, exceeded the scope of the core harness, and imposed maintenance costs.
结果
Removal of AgentTeams reduced code size by 27%, eliminated a second loop, and clarified the project’s scope while preserving the design for future study.
工作流
- 1. Identify that AgentTeams exceeded scope and added complexity.
- 2. Document removal in a dedicated commit and reference it in docs/research-archive.md.
- 3. Remove AgentTeams code from the main branch while keeping the commit history.
- 4. Replace multi‑agent functionality with constrained sub‑agents configured to run on the single RuntimeRunner loop.
- 5. Update tests to cover the new sub‑agent configurations and remove AgentTeams‑specific tests.
证据
The FINAL_REPORT has a data point that illustrates the severity of this problem: before streamlining the runtime, stable production code was 19,320 lines; after removing AgentTeams and other experimental features, it dropped to 14,094 lines. A reduction of 27%.
AgentTeams was removed, but not "deleted." The code was moved out through a documented commit, and then the exact commit reference was saved in docs/research-archive.md.
- 记录日期: 2026-09-07T01:37:24.928Z