Gentopia: A Collaborative Platform for Tool-Augmented LLMs

Binfeng Xu, Xukun Liu, Hua Shen, Zeyu Han, Yuhan Li, Murong Yue, Zhiyuan Peng, Yuchen Liu, Ziyu Yao, Dongkuan XuarXiv 2023 · DOI

Abstract

Gentopia.AI is an integrated platform designed to simplify the creation, sharing, and evaluation of tool-augmented Large Language Models (LLMs). By abstracting complex boilerplate into simple YAML configurations, Gentopia enables a democratized approach where specialized agents can be easily assembled, benchmarked against tool-specific challenges, and shared for collaborative problem-solving.

Introduction

While Large Language Models (LLMs) have demonstrated remarkable capabilities, they remain constrained by training data cutoffs and an inability to interact with the physical or digital world directly. Augmented Language Models (ALMs)—agents equipped with external tools like web browsers, calculators, or databases—offer a solution. However, the current landscape faces three major hurdles: rigid customization requirements in existing frameworks, evaluation bias due to data leakage in standard benchmarks, and a lack of collaborative infrastructure for sharing specialized agents.

The Gentopia Ecosystem

To address these challenges, Gentopia.AI introduces a three-pillared ecosystem:

  1. Gentopia (The Framework): A lightweight, extensible framework that allows users to "assemble" agents using a single YAML configuration file. This file defines the LLM (e.g., GPT-4, Llama), interaction paradigms, memory types, and tool plugins.
  2. GentPool (The Platform): A public repository for registering and sharing customized agents. GentPool supports hierarchical composition, allowing one agent to utilize another as a tool, facilitating complex multi-agent collaboration.
  3. GentBench (The Benchmark): A specialized evaluation suite designed to test tool-use efficacy. It filters out tasks solvable by base LLMs alone, focusing on reasoning, safety, and knowledge challenges that necessitate tool synergy.
Overview of the Gentopia.AI ecosystem, illustrating the relationship between the Gentopia framework, the GentPool sharing platform, and the GentBench evaluation suite.

Agent Interaction Paradigms

A core strength of Gentopia is its support for diverse interaction strategies. The framework integrates paradigms such as ReAct (Reason + Act), which synergizes reasoning and acting, and ReWOO (Reasoning Without Observation), which decouples reasoning from tool observations to reduce token costs and improve efficiency. By supporting both proprietary models and a wide array of open-source models (e.g., Llama, Falcon), Gentopia provides a unified interface for experimenting with these different logical flows.

Logical diagrams of various agent types supported by Gentopia, including Vanilla, ReAct, ReWOO, and OpenAI-based models.

Evaluation and Benchmarking

GentBench provides a multi-dimensional scorecard for agents. It aggregates datasets across reasoning (MATH, GSM8K), knowledge (MMLU, AGIEval), and safety (BBQ, Bold). To ensure rigorous testing, the authors implemented a "Tool-Necessity" filter, retaining only those problems that require external tools for successful completion. Furthermore, GentBench utilizes an EvalPipeline where high-performing models like GPT-4 act as automated graders to assess correctness, safety, and efficiency (token usage and runtime).

Conclusion

Gentopia.AI democratizes agent development by treating architecture as data (YAML) rather than code. This portability, combined with a robust benchmarking suite and a collaborative hub, paves the way for a more integrated and capable AI agent ecosystem. Future work will focus on automated fine-tuning and advanced few-shot prompt tuning to further specialize agents within this framework.

Summary updated

BibTeX
@misc{xu2023gentopia,
  author = {Binfeng Xu and Xukun Liu and Hua Shen and Zeyu Han and Yuhan Li and Murong Yue and Zhiyuan Peng and Yuchen Liu and Ziyu Yao and Dongkuan Xu},
  title = {{Gentopia: A Collaborative Platform for Tool-Augmented LLMs}},
  year = {2023},
  eprint = {2308.04030},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.04030},
}
Figure