Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 1.21 KB

overview.md

File metadata and controls

23 lines (13 loc) · 1.21 KB

Overview

This chapter introduces you to the framework of Lagent, and provides links to detailed tutorials about Lagent.

What is Lagent

Lagent is an open source LLM agent framework, which enables people to efficiently turn a large language model to agent. It also provides some typical tools to enlighten the ability of LLM, and the whole framework is shown below:

image

Lagent consists of 3 main parts, agents, llms, and actions.

  • agents provides agent implementation, such as ReAct, AutoGPT.
  • llms supports various large language models, including open-sourced models (Llama-2, InterLM) through HuggingFace models or closed-source models like GPT3.5/4.
  • actions contains a series of actions, as well as an action executor to manage all actions.

How to Use

Here is a detailed step-by-step guide to learn more about Lagent:

  1. For installation instructions, please see README.

  2. We provide several examples to build agents with Lagent in examples by simply run python examples/react_example.py.