AgentGit: A Version Control Framework for Reliable and Scalable LLM-Powered Multi-Agent Systems

Nov 2, 2025·
Yang Li
,
Siqi Ping
,
Xiyu Chen
,
Xiaojian Qi
Zigan Wang
Zigan Wang
Ye Luo
Ye Luo
Xiaowei Zhang
Xiaowei Zhang
· 0 min read
Abstract
With the rapid progress of large language models (LLMs), LLM-powered multi-agent systems (MAS) are drawing increasing interest across academia and industry. However, many current MAS frameworks struggle with reliability and scalability, especially on complex tasks. We present AgentGit, a framework that brings Git-like rollback and branching to MAS workflows. Built as an infrastructure layer on top of LangGraph, AgentGit supports state commit, revert, and branching, allowing agents to traverse, compare, and explore multiple trajectories efficiently. To evaluate AgentGit, we designed an experiment that optimizes target agents by selecting better prompts. We ran a multi-step A/B test against three baselines—LangGraph, AutoGen, and Agno—on a real-world task: retrieving and analyzing paper abstracts. Results show that AgentGit significantly reduces redundant computation, lowers runtime and token usage, and supports parallel exploration across multiple branches, enhancing both reliability and scalability in MAS development. This work offers a practical path to more robust MAS design and enables error recovery, safe exploration, iterative debugging, and A/B testing in collaborative AI systems.
Type
Publication
AAAI 2026 Bridge Program on LLM-based Multi-Agent Collaboration
publications
Authors
Authors
Authors
Zigan Wang
Authors
Associate Professor of Finance, School of Economics and Management and Shenshen Institute of Economics and Management, Tsinghua University.
Ye Luo
Authors
Asociate Professor in Economics and Finance, Associate Director of the Institute of Digital Economy and Innovation at HKU Business School.
Xiaowei Zhang
Authors
I am an Associate Professor at HKUST, jointly appointed in the Department of Industrial Engineering and Decision Analytics and the Department of Economics, and the Academic Director of the MSc in FinTech program. I serve as an Associate Editor for several leading journals in the field, including Management Science, Operations Research, Navel Research Logistics, and Queueing Systems.