Skip to main content
QUICK REVIEW

[Paper Review] AgentLite: A Lightweight Library for Building and Advancing Task-Oriented LLM Agent System

Zhi‐Wei Liu, Weiran Yao|arXiv (Cornell University)|Feb 23, 2024
Multi-Agent Systems and NegotiationComputer Science10 citations
TL;DR

AgentLite provides a lightweight, open-source framework for prototyping and evaluating task-oriented LLM agents and multi-agent systems, enabling easy customization of prompts, memory, actions, and architectures. It showcases benchmarks and diverse applications to demonstrate flexibility and performance.

ABSTRACT

The booming success of LLMs initiates rapid development in LLM agents. Though the foundation of an LLM agent is the generative model, it is critical to devise the optimal reasoning strategies and agent architectures. Accordingly, LLM agent research advances from the simple chain-of-thought prompting to more complex ReAct and Reflection reasoning strategy; agent architecture also evolves from single agent generation to multi-agent conversation, as well as multi-LLM multi-agent group chat. However, with the existing intricate frameworks and libraries, creating and evaluating new reasoning strategies and agent architectures has become a complex challenge, which hinders research investigation into LLM agents. Thus, we open-source a new AI agent library, AgentLite, which simplifies this process by offering a lightweight, user-friendly platform for innovating LLM agent reasoning, architectures, and applications with ease. AgentLite is a task-oriented framework designed to enhance the ability of agents to break down tasks and facilitate the development of multi-agent systems. Furthermore, we introduce multiple practical applications developed with AgentLite to demonstrate its convenience and flexibility. Get started now at: \url{https://github.com/SalesforceAIResearch/AgentLite}.

Motivation & Objective

  • Motivate the need for a lightweight, research-friendly library to prototype LLM agent reasoning strategies and architectures.
  • Provide a simple, task-oriented framework to facilitate multi-agent orchestration and experimentation.
  • Demonstrate practical applicability through benchmarks and diverse applications.
  • Show that AgentLite supports easy integration and evaluation across different LLM backbones and scenarios.

Proposed method

  • Introduce a four-module Individual Agent (PromptGen, Actions, LLM, Memory) and a Manager Agent for hierarchical multi-agent orchestration.
  • Define TaskPackage (TP) as the communication unit between Manager and team agents and describe its properties.
  • Describe how to add new reasoning types (e.g., Think, ReAct-like steps) by extending the Action module, with code sketches for a Think action.
  • Explain how to implement new agent architectures (Copilot Agent, Copilot Multi-Agent, Multi-LLM Multi-Agent) by configuring actions, team composition, and LLM backends.

Experimental results

Research questions

  • RQ1How can a lightweight framework accelerate the development and evaluation of new LLM agent reasoning strategies and architectures?
  • RQ2Can a task-oriented, hierarchical multi-agent design improve modularity and experimental flexibility for LLM agents?
  • RQ3How does AgentLite perform with different LLM backbones on established agent benchmarks like HotPotQA and Webshop?
  • RQ4What suite of applications can be built easily to demonstrate AgentLite’s versatility across domains?

Key findings

  • AgentLite enables multi-agent orchestration with a hierarchical manager-agent setup.
  • The framework supports adding new reasoning types by extending actions and unifying reasoning with tool use (e.g., Think as an action).
  • AgentLite demonstrates competitive performance across benchmarks and supports multiple LLM backbones, including GPT-4 variants and xLAM-v0.1.
  • Experiments on HotPotQA show GPT-4 variants outperform GPT-3.5, with GPT-4-32k-0613 achieving higher medium-level F1 and accuracy; xLAM-v0.1 also shows improvement over GPT-3.5 in this setup.
  • In Webshop, GPT-4-32k achieves higher average rewards, indicating context length benefits; xLAM-v0.1 remains competitive with GPT-3.5 in this environment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.