wanxingai/LightAgent
LightAgent: Lightweight Python framework for OpenAI-compatible agents with tools, memory, guardrails, tracing, lifecycle hooks, multi-agent collaboration, and workflows. observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 98
- Release rhythm 98
- Longevity 42
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 14
- age_days: 590
- days_rel: 18
- days_push: 12
- n_releases_24m: 30
Adoption not part of the score
1211 stars · 171 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
LightAgent is an ultra-lightweight open-source Python framework for building LLM-powered agents with tools, persistent memory, guardrails, tracing, and tree-of-thought reasoning. It supports multi-agent collaboration, MCP integration over stdio/SSE, and exposes OpenAI-compatible streaming APIs that work with any modern LLM such as OpenAI, DeepSeek, and Qwen.
Use cases
- build a lightweight ai agent with tool calling in python
- create multi-agent collaboration workflows with llms
- add memory and guardrails to an openai-compatible chatbot
- connect agents to mcp servers over stdio or sse
- serve an openai-compatible streaming agent api for a chat interface
- build self-learning agents with lifecycle hooks and tracing
When to choose
- you want a minimal, fast-to-set-up agent framework in pure Python
- you need OpenAI-compatible streaming output to drop into existing chat UIs
- you want built-in memory, guardrails, tracing, and MCP support without heavy dependencies
- you work with multiple LLM providers like OpenAI, DeepSeek, or Qwen
When to avoid
- you need a mature, battle-tested enterprise agent platform with large ecosystem support
- you require deep integrations with a specific vendor framework like LangChain or AutoGen
- you need non-Python languages or heavy distributed multi-agent orchestration at scale
Facets
framework · maturity active
agent-framework llm-inference mcp chatbot workflow-automation artificial-intelligence large-language-models developer-tools python cross-platform tool-calling multi-agent openai-compatible tree-of-thought memory guardrails tracing lifecycle-hooks self-hosted ai-agents
2 sources
- readme: https://github.com/wanxingai/LightAgent · fetched 2026-08-28 · 9b331d281ac7
- registry_pypi: https://pypi.org/pypi/lightagent/json · fetched 2026-08-29 · c3c8b3b57d75
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| wanxingai/LightAgent | main | 87 |
For agents
markdown · JSON · MCP: product_card(name="wanxingai/LightAgent")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem