L
Lagent
Open sourceAgent FrameworksUpdated Sep 16, 2026
2,282 starsCompared with 161 other Agent Frameworks agentsOpen sourceUpdated Sep 2026
Apache-2.0 license2,282 GitHub starsChecked Nov 8, 2026
What Lagent does
Lagent is a lightweight Python framework from InternLM for building LLM-based agents, including multi-agent applications. Its design follows PyTorch: you create agent 'layers' and define message passing between them.
Key features
- Agents communicate through a shared AgentMessage structure
- Agent memory stores input and output messages on each call and can be inspected or reset
- Tool calling through an ActionExecutor, with tools such as a Python interpreter and web browser search, and custom hooks
- Synchronous and asynchronous variants of almost every component
- Customisable message aggregation and output parsing
- Open source
- Yes (Apache-2.0)
Source: github.com/InternLM/lagent · Checked Nov 8, 2026
Alternatives
See all Agent Frameworks alternatives to LagentRelated AI Agents
FAQs
- What is Lagent?
- Lagent is a lightweight Python framework from InternLM for building LLM-based agents, including multi-agent applications. Its design follows PyTorch: you create agent 'layers' and define message passing between them.
- Is Lagent open source?
- Yes, under the Apache-2.0 license.
Rate this agent
Loading...
Your rating:
Reviews
Loading reviews...
Write a review
Ready to try this agent?
Lagent