A lightweight open-source framework for building and running agents based on large language models.

Description

LAgent is InternLM’s Python framework for LLM-based agents. Its base agent manages model calls, memory, and message processing.

The package includes modules for agents, language models, actions, and utilities; documentation provides a quick start and API reference. The repository uses the Apache 2.0 license.

Sources: https://github.com/InternLM/lagent, https://github.com/InternLM/lagent/blob/main/docs/en/index.rst (official sources; reviewed 2026-11-01).