{"data":{"slug":"internlm-lagent","name":"lagent","tagline":"A lightweight framework for building LLM-based agents","github_url":"https://github.com/InternLM/lagent","owner":"InternLM","repo":"lagent","owner_avatar_url":"https://avatars.githubusercontent.com/u/135356492?v=4","primary_language":"Python","stars":2276,"forks":238,"topics":["agent","gpt","llm","transformers"],"archived":false,"github_pushed_at":"2026-08-03T07:18:16+00:00","maintenance_label":"Active","stars_delta_30d":8,"url":"https://www.graphcanon.com/tools/internlm-lagent","markdown_url":"https://www.graphcanon.com/tools/internlm-lagent.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/internlm-lagent","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=internlm-lagent","description":"A lightweight framework for building LLM-based agents","homepage_url":null,"license":"Apache-2.0","open_issues":24,"watchers":19,"ai_summary":"lagent is a Python-based framework designed to facilitate the development of lightweight Large Language Model (LLM) agents.","readme_excerpt":"## Installation\n\nInstall from source:\n\n```bash\ngit clone https://github.com/InternLM/lagent.git\ncd lagent\npip install -e .\n```\n\n---\n\n## License\n\nThis project is released under the [Apache 2.0 license](LICENSE).\n\n<p align=\"right\"><a href=\"#top\">🔼 Back to top</a></p>","github_created_at":"2023-08-20T12:45:45+00:00","created_at":"2026-07-11T10:55:21.738558+00:00","updated_at":"2026-09-20T05:33:18.933175+00:00","categories":[{"slug":"ai-agents","name":"AI Agents","url":"https://www.graphcanon.com/categories/ai-agents","markdown_url":"https://www.graphcanon.com/categories/ai-agents.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/ai-agents"},{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"}],"tags":[{"slug":"agent","name":"agent"},{"slug":"gpt","name":"gpt"},{"slug":"llm","name":"llm"},{"slug":"transformers","name":"transformers"}],"trust":{"provenance":{"is_fork":false,"github_id":680797687,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-16T00:00:59.291Z","maintenance":{"label":"Active","score":82,"methodology":"github_public_v1","releases_90d":1,"days_since_push":12,"last_release_at":"2026-05-19T12:34:18Z","stars_delta_30d":8,"open_issues_delta_30d":1},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T10:55:22.901Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-08-16T00:00:59.723Z"},"languages":{"value":["python"],"source":"github.language","observed_at":"2026-08-16T00:00:59.723Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-08-16T00:00:59.723Z"}},"decision_facts":{"hosting":null,"pricing":{"model":"freemium","summary":"Available freely due to its open-source nature, but customization or enterprise support might involve additional costs."},"requirements":null,"constraints":{"pricing_model":"freemium"},"when_to_use":["When you need a streamlined approach to develop LLM-based agents with minimal overhead, lagent can be particularly advantageous due to its lightweight design.","If your project requires flexibility and ease in modifying or extending existing agent capabilities without the complexity of larger frameworks."],"when_not_to_use":["Avoid using lagent if your project necessitates integration with a broader set of tools that are not natively supported by this framework, as it offers limited out-of-the-box extensibility.","Steer clear if you need robust scalability features right from the start. While lightweight, lagent may require additional custom work to handle more demanding scaling requirements."],"source":"enrich:decision_facts","observed_at":"2026-07-12T11:17:20.020Z"},"constraint_facets":{"pricing_model":"freemium"},"decision_summary":[{"label":"Pricing","value":"freemium - Available freely due to its open-source nature, but customization or enterprise support might involve additional costs."},{"label":"Adopt for","value":"lagent is a Python framework aimed at streamlining the creation of lightweight Large Language Model (LLM) agents."},{"label":"License detail","value":"lagent is open-source under the Apache-2.0 license, allowing for broad use and modification with attribution."}]}}