What Lagent does
Lagent is an open-source Python framework for building LLM-based agents, released under the Apache 2.0 license. The page says it is inspired by the design philosophy of PyTorch, with components that pass messages between one another. Named features include Agent and AgentMessage for communication, per-session memory keyed by session ID, ActionExecutor for tool calls with IPythonInterpreter and WebBrowser as examples, and ToolParser for formatting model output. Hooks handle message conversion, and synchronous and asynchronous component variants are available. It supports LLM wrappers such as VllmModel and GPTAPI. The page targets developers and includes multi-agent tutorials. It does not state pricing.
How Lagent compares with its closest alternatives
All 5 closest alternatives have a free plan, as Lagent does. All 5 offer an API, as Lagent does. Lagent offers a command-line tool. Of the alternatives, 3 offer a command-line tool. Lagent was founded in 2023; the alternatives were founded between 2022 and 2024, 1 of them earlier. Lagent has no single headquarters on record, and 2 of its alternatives are also distributed.