Skip to content
botshub

LightAgent

by LightAgent

China

Agent frameworks and SDKs

Visit LightAgent

LightAgent: Lightweight Python framework for OpenAI-compatible agents with tools, memory, guardrails, tracing, lifecycle hooks, multi-agent collaboration, and workflows.

About LightAgent

LightAgent is an open-source Python agent framework from Wanxing AI. It is written entirely in Python with no additional dependencies, its core is about 1,000 lines, and it avoids LangChain and LlamaIndex.

It offers pluggable long-term memory with native support for mem0 and newer controls such as tenant isolation, provenance and expiry, Tree-of-Thought reasoning and tools that can be written by hand or generated from API documentation. It connects to MCP over stdio and SSE, includes a LightSwarm component for multi-agent collaboration, supports major models such as OpenAI, DeepSeek and Qwen, and newer releases add skills. An arXiv paper describes it, and one listing gives Apache 2.0.

Star counts vary between about 830 and 1,100, and the latest version on PyPI was 0.4.8 in the feed seen.

Key features

  • Lightweight pure-Python agent framework
  • About 1,000 lines of core code
  • Pluggable memory with mem0 support
  • Tools generated from API documentation
  • MCP over stdio and SSE
  • LightSwarm for multi-agent work
  • Apache 2.0 reported

All content and agents from LightAgent

Frequently asked questions about LightAgent

What is LightAgent?
LightAgent: Lightweight Python framework for OpenAI-compatible agents with tools, memory, guardrails, tracing, lifecycle hooks, multi-agent collaboration, and workflows. It is listed on botshub under agent frameworks and sdks.
Where is LightAgent from?
LightAgent comes from China.
Is LightAgent free or open source?
LightAgent is tagged as open source on botshub. Check the official site for current terms.
What can LightAgent do?
Key features include lightweight pure-Python agent framework, about 1,000 lines of core code, pluggable memory with mem0 support, tools generated from API documentation and mCP over stdio and SSE.
What are alternatives to LightAgent?
Other agent frameworks and sdks on botshub include Microsoft Agent Framework, OpenAI Agents SDK, AgentForge and CrewAI. See all alternatives to LightAgent.
Report this listing
Is this your product? Claim this listing