lagent logo

lagent

InternLM/lagent

A lightweight framework for building LLM-based agents

GraphCanon updated 1w · GitHub synced 1w

2.3k stars238 forksLast push 3w Python Apache-2.0

Decision brief

lagent is a Python framework aimed at streamlining the creation of lightweight Large Language Model (LLM) agents.

Good fit when

  • When you need a streamlined approach to develop LLM-based agents with minimal overhead, lagent can be particularly advantageous due to its lightweight design.
  • If your project requires flexibility and ease in modifying or extending existing agent capabilities without the complexity of larger frameworks.

Avoid when

  • Avoid using lagent if your project necessitates integration with a broader set of tools that are not natively supported by this framework, as it offers limited out-of-the-box extensibility.
  • Steer clear if you need robust scalability features right from the start. While lightweight, lagent may require additional custom work to handle more demanding scaling requirements.
Pricing:
freemium - Available freely due to its open-source nature, but customization or enterprise support might involve additional costs.

Observed Jul 12, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Active (12d since push)
As of 1w
Provenance
Not a fork · Organization account
As of 1w
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install lagent
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

lagent is a Python-based framework designed to facilitate the development of lightweight Large Language Model (LLM) agents.

Capability facts

Languages
python

Source: github.language · Aug 16, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Aug 16, 2026)

pip install -e .
Source link

Tags

README

Installation

Install from source:

git clone https://github.com/InternLM/lagent.git
cd lagent
pip install -e .

License

This project is released under the Apache 2.0 license.

🔼 Back to top

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.