Lagent is a lightweight framework from the InternLM team for creating agents based on large language models. Its small footprint makes it a good choice when you want to understand and control how an agent is put together, without the overhead of a heavy platform.
The project is open source and free on GitHub, where it has a steady community of users. It suits developers and researchers who prefer building agents from simple parts.