InternLM/lagent
A lightweight framework for building LLM-based agents, inspired by PyTorch's design philosophy for modular agent construction.

Not currently ranked — collecting fresh signals.
star history
Lagent provides a modular framework for constructing LLM-powered agents with support for various LLM backends including vLLM. It offers abstractions for agent communication using AgentMessage and enables building multi-agent applications through a layered architecture similar to neural network modules. The framework emphasizes Pythonic design and message passing between components.
Frequently asked
- What is InternLM/lagent?
- A lightweight framework for building LLM-based agents, inspired by PyTorch's design philosophy for modular agent construction.
- Is lagent open source?
- Yes — InternLM/lagent is open source, released under the Apache-2.0 license.
- What language is lagent written in?
- InternLM/lagent is primarily written in Python.
- How popular is lagent?
- InternLM/lagent has 2.3k stars on GitHub.
- Where can I find lagent?
- InternLM/lagent is on GitHub at https://github.com/InternLM/lagent.