Privacy choices: we'd like to measure visits anonymously (our own cookie-free counter plus Google Analytics, which sets its own cookies; no ads) and load Beehiiv's newsletter sign-up, which may set its own cookies. Nothing optional runs until you choose. Privacy policy

AgentScout / frameworks / Lagent
frameworksOpen sourceAdded Oct 18, 2026

Lagent logoLagent

No ratings yet★ Rate this tool

Lightweight PyTorch-inspired framework from InternLM for building LLM-based agents.

Updated

✨ Try AgentScout's free AI image generator →

Good for: building AI agents

Use cases

Get featured

About Lagent

Lagent is listed in our frameworks category and is aimed at builders. Lightweight PyTorch-inspired framework from InternLM for building LLM-based agents. Pricing, as the maker states it: Open source. Maturity: Active. We last checked the official link on 2026-12-01.

What is Lagent?

Lagent is InternLM's lightweight Python framework for building LLM agents, designed by analogy with PyTorch: agents are like layers, and you define how messages pass between them. Agents communicate with AgentMessage objects, and every forward pass adds input and output messages to the agent's memory as state.

It works with locally served models such as vLLM-hosted Qwen or InternLM, supports tool use and multi-agent composition, and is installed from source with pip. Apache-2.0.

Sources: the official README and our directory listing, checked 2026-10-29. Official site: github.com/InternLM/lagent.

Who is Lagent for?

Python developers and researchers who like PyTorch-style composition for multi-agent systems.

Lagent at a glance

  • Open source: Yes (Apache 2.0)
  • GitHub: InternLM/lagent · 2,280 stars (as of Dec 2, 2026)

Key features

  • PyTorch-inspired agent and message design
  • AgentMessage-based communication
  • Memory as state across forward passes
  • Local model backends such as vLLM
  • Multi-agent composition and tools

Lagent FAQ

What is Lagent?

Lagent is InternLM's lightweight Python framework for building LLM agents, designed by analogy with PyTorch: agents are like layers, and you define how messages pass between them. Agents communicate with AgentMessage objects, and every forward pass adds input and output messages to the agent's memory as state.

Who is Lagent for?

Python developers and researchers who like PyTorch-style composition for multi-agent systems.

Is Lagent free?

Lagent's pricing, as the maker states it: Open source. Open-source tools are free to use, though you may still pay for model API usage or a hosted plan. Check the official site for current plans.

Is Lagent open source?

Yes. Lagent is released under Apache 2.0, according to its GitHub repository.

Which models does Lagent support?

It includes wrappers for locally served models (for example via vLLM) and API models; the README examples use Qwen and InternLM.

What are alternatives to Lagent?

Similar tools include Haystack, VoltAgent, Upsonic, Lyzr, Agent Squad and Exam Platform.

Lagent ratings and reviews

No ratings yet. Be the first to review Lagent.

Be the first to rate Lagent: tap 1 to 5 stars below. A written review is optional.

Your rating of Lagent

Lagent alternatives

Other frameworks tools in our directory. See all frameworks tools →