Recently, there has been increasing interest in using Large Language Models (LLMs) to construct complex multi-agent systems to perform tasks such as compiling literature reviews, drafting consumer reports, and planning vacations. Many tools and libraries exist for helping create such systems, however none support recursive multi-agent systems -- where the models themselves flexibly decide when to delegate tasks and how to organize their delegation structure. In this work, we introduce ReDel: a toolkit for recursive multi-agent systems that supports custom tool-use, delegation schemes, event-based logging, and interactive replay in an easy-to-use web interface. We show that, using ReDel, we are able to easily identify potential areas of improvements through the visualization and debugging tools. Our code, documentation, and PyPI package are open-source and free to use under the MIT license at https://github.com/zhudotexe/redel.
翻译:近年来,利用大型语言模型构建复杂多智能体系统以执行文献综述汇编、消费者报告起草和假期规划等任务的研究兴趣日益增长。目前已有多种工具和库可用于构建此类系统,但尚无工具支持递归多智能体系统——即模型能够自主灵活地决定任务委派时机及组织委派结构。本研究提出ReDel:一个支持自定义工具使用、委派方案、基于事件的日志记录以及可通过易用的Web界面进行交互式重放的递归多智能体系统工具包。我们证明,借助ReDel的可视化与调试工具,能够便捷识别系统潜在的改进领域。本项目的代码、文档及PyPI软件包均在MIT许可证下开源,可通过https://github.com/zhudotexe/redel免费获取。