LightAgent 0.4.3__tar.gz → 0.4.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,8 +3,8 @@
3
3
 
4
4
  """
5
5
  作者: [weego/WXAI-Team]
6
- 版本: 0.4.3
7
- 最后更新: 2025-07-10
6
+ 版本: 0.4.4
7
+ 最后更新: 2025-10-14
8
8
  """
9
9
 
10
10
  import asyncio
@@ -30,7 +30,7 @@ from mcp.client.sse import sse_client
30
30
  from mcp.client.stdio import stdio_client
31
31
  from openai.types.chat import ChatCompletionChunk
32
32
 
33
- __version__ = "0.4.3" # 你可以根据需要设置版本号
33
+ __version__ = "0.4.4" # 你可以根据需要设置版本号
34
34
 
35
35
 
36
36
  # openai.langfuse_auth_check()
@@ -424,7 +424,7 @@ class MCPClientManager:
424
424
 
425
425
 
426
426
  class LightAgent:
427
- __version__ = "0.4.3" # 将版本号放在类中
427
+ __version__ = "0.4.4" # 将版本号放在类中
428
428
 
429
429
  def __init__(
430
430
  self,
@@ -691,11 +691,15 @@ class LightAgent:
691
691
  system_prompt += f"\n##以下是问题的补充说明\n{tot_response}"
692
692
  self.log("DEBUG", "tree_of_thought", {"response": tot_response, "active_tools": active_tools})
693
693
 
694
+ # 在用户查询后追加 "no_think"
695
+ # modified_query = query + "/no_think"
694
696
  # 准备API参数
695
697
  self.chat_params = {
696
698
  "model": self.model,
697
- "messages": [{"role": "system", "content": system_prompt}] + history + [{"role": "user", "content": query}],
698
- "stream": stream
699
+ "messages": [{"role": "system", "content": system_prompt}] + history + [
700
+ {"role": "user", "content": query}],
701
+ "stream": stream,
702
+ "extra_body": {"enable_thinking": False}
699
703
  }
700
704
 
701
705
  # 添加参数
@@ -872,11 +876,24 @@ class LightAgent:
872
876
  finish_called = False # 标记是否调用了finish工具
873
877
 
874
878
  for chunk in response:
875
- content = chunk.choices[0].delta.content or ""
879
+
880
+ if chunk.choices and len(chunk.choices) > 0:
881
+ choice = chunk.choices[0]
882
+
883
+ if choice and hasattr(choice.delta, "reasoning_content") and choice.delta.reasoning_content is not None:
884
+ reasoning_content = choice.delta.reasoning_content or ""
885
+
886
+ if reasoning_content:
887
+ output += reasoning_content
888
+
889
+ if choice and hasattr(choice.delta, "content") and choice.delta.content is not None:
890
+ content = choice.delta.content or ""
891
+
876
892
  if content:
877
- yield chunk # 流式返回内容
878
893
  output += content
879
894
 
895
+ yield chunk # 流式返回内容
896
+
880
897
  try:
881
898
  # 检查是否有工具调用
882
899
  if chunk.choices and chunk.choices[0].delta.tool_calls:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: LightAgent
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: LightAgent: Lightweight AI agent framework with memory, tools & tree-of-thought. Supports multi-agent collaboration, self-learning, and major LLMs (OpenAI/DeepSeek/Qwen). Open-source with MCP/SSE protocol integration.
5
5
  Home-page: https://github.com/wxai-space/LightAgent
6
6
  License: Apache 2.0
@@ -39,7 +39,7 @@ Description-Content-Type: text/markdown
39
39
  <a href="https://pypi.org/project/lightagent/"><img src="https://img.shields.io/pypi/v/lightagent.svg" alt="PyPI"></a>
40
40
  <a href="https://pypi.org/project/lightagent/"><img src="https://img.shields.io/pypi/dm/lightagent.svg" alt="Downloads"></a>
41
41
  <a href="https://pypi.org/project/lightagent/"><img src="https://img.shields.io/pypi/pyversions/lightagent.svg" alt="Python Version"></a>
42
- <a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code Style"></a>
42
+ <a href="https://arxiv.org/abs/2509.09292"><img src="https://img.shields.io/badge/arXiv-Paper-B31B1B?logo=arxiv&logoColor=white" alt="Code Style"></a>
43
43
  </p>
44
44
  </div>
45
45
  <div align="center">
@@ -83,7 +83,8 @@ Description-Content-Type: text/markdown
83
83
 
84
84
  ---
85
85
  ## News
86
- - <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>**[2025-06-12]** We are pleased to announce the official release of LightAgent v0.4.0! This version upgrade brings architectural improvements, with significant enhancements in performance, stability, and maintainability.
86
+ - <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>**[2025-09-16]** Our paper is now available as a preprint on arXiv: https://arxiv.org/pdf/2509.09292. We invite the research community to read and cite our work.
87
+ - **[2025-06-12]** We are pleased to announce the official release of LightAgent v0.4.0! This version upgrade brings architectural improvements, with significant enhancements in performance, stability, and maintainability.
87
88
  - **[2025-05-05]** LightAgent v0.3.3 Released: Deep [Langfuse](https://langfuse.com/) Logging Integration, Enhanced Context Management and Tool Invocation Stability [View](#8-integrating-langfuse-log-tracking)
88
89
  - **[2025-04-21]** LightAgent v0.3.2 adds an adaptive Tools mechanism, supports unlimited intelligent tool filtering, reduces Token consumption by 80%, and improves response speed by 52%! [View](#4-tree-of-thought-tot)
89
90
  - **[2025-04-01]** LightAgent v0.3.0 Support browser interaction [browser_use](https://github.com/browser-use/browser-use) and fully supports the MCP protocol, enabling collaborative work with multiple models and tools to achieve more efficient handling of complex tasks.<a href="mcp_release.md">View MCP release introduction.>></a>
@@ -666,6 +667,11 @@ OpenAI Series
666
667
  - gpt-4.1-nano
667
668
 
668
669
  ChatGLM
670
+ - GLM-4.5
671
+ - GLM-4.5-Air
672
+ - GLM-4.5-X
673
+ - GLM-4.5-AirX
674
+ - GLM-4.5-Flash
669
675
  - GLM-4-Plus
670
676
  - GLM-4-Air-0111
671
677
  - GLM-4-Flash
@@ -677,9 +683,8 @@ ChatGLM
677
683
  - GLM-4-9B-Chat
678
684
 
679
685
  DeepSeek Series
680
- - DeepSeek-chat (API)
681
- - DeepSeekv2.5
682
- - DeepSeekv3
686
+ - DeepSeek-r1
687
+ - DeepSeek-v3
683
688
 
684
689
  stepfun
685
690
  - step-1-8k
@@ -712,6 +717,8 @@ Qwen Series
712
717
  - qwen3-32b
713
718
  - qwen3-30b-a3b
714
719
  - qwen3-235b-a22b
720
+ - Qwen3-30B-A3B-Thinking-2507
721
+ - Qwen3-30B-A3B-Instruct-2507
715
722
 
716
723
  ---
717
724
 
@@ -797,6 +804,25 @@ We look forward to your feedback and work together to make LightAgent even stron
797
804
 
798
805
  [![Star History Chart](https://api.star-history.com/svg?repos=wxai-space/LightAgent&type=Date)](https://star-history.com/#wxai-space/LightAgent&Date)
799
806
 
807
+ ## Paper
808
+
809
+ ```bibtex
810
+ @misc{2509.09292,
811
+ Author = {Weige Cai and Tong Zhu and Jinyi Niu and Ruiqi Hu and Lingyao Li and Tenglong Wang and Xiaowu Dai and Weining Shen and Liwen Zhang},
812
+ Title = {LightAgent: Production-level Open-source Agentic AI Framework},
813
+ Year = {2025},
814
+ Eprint = {arXiv:2509.09292},
815
+ Eprinttype = {arXiv},
816
+ Eprintclass = {cs.AI},
817
+ Url = {https://arxiv.org/abs/2509.09292},
818
+ Doi = {10.48550/arXiv.2509.09292},
819
+ Note = {Submitted on 11 Sep 2025}
820
+ }
821
+ ```
822
+
823
+ ## Features
824
+ [![MseeP.ai Security Assessment Badge](https://mseep.net/pr/wxai-space-lightagent-badge.png)](https://mseep.ai/app/wxai-space-lightagent)
825
+
800
826
 
801
827
  ![LightAgent Banner](docs/images/lightagent-banner.jpg)
802
828
  <div align="center">
@@ -811,9 +837,12 @@ We look forward to your feedback and work together to make LightAgent even stron
811
837
  <a href="https://pypi.org/project/lightagent/"><img src="https://img.shields.io/pypi/v/lightagent.svg" alt="PyPI"></a>
812
838
  <a href="https://pypi.org/project/lightagent/"><img src="https://img.shields.io/pypi/dm/lightagent.svg" alt="Downloads"></a>
813
839
  <a href="https://pypi.org/project/lightagent/"><img src="https://img.shields.io/pypi/pyversions/lightagent.svg" alt="Python Version"></a>
814
- <a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code Style"></a>
840
+ <a href="https://arxiv.org/abs/2509.09292"><img src="https://img.shields.io/badge/arXiv-Paper-B31B1B?logo=arxiv&logoColor=white" alt="Code Style"></a>
815
841
  </p>
842
+
816
843
  </div>
844
+
845
+
817
846
  <div align="center">
818
847
  <p>
819
848
  <a href="README.md">English</a> |
@@ -832,6 +861,9 @@ We look forward to your feedback and work together to make LightAgent even stron
832
861
  <h1>LightAgent🚀(生产级开源Agentic AI开发框架)</h1>
833
862
  </div>
834
863
 
864
+
865
+
866
+
835
867
  **LightAgent** 是一个极其轻量的带记忆(`mem0`)、工具(`Tools`)、思维树(`ToT`)的主动式 Agentic Framework(自主性框架),并且完全开源。它支持比Openai Swarm更简单的多智能体协同,简单一步即可构建具备自我学习能力的agent,并支持stdio和sse方式接入MCP协议。底层模型支持 OpenAI、智谱 ChatGLM、DeepSeek、阶跃星辰、Qwen通义千问大模型等。同时,LightAgent 支持 OpenAI 流格式 API 服务输出,无缝接入各大主流 Chat 框架。🌟
836
868
 
837
869
  ---
@@ -853,7 +885,8 @@ We look forward to your feedback and work together to make LightAgent even stron
853
885
 
854
886
  ---
855
887
  ## 新闻
856
- - <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>**[2025-06-12]** 我们很高兴地宣布 LightAgent v0.4.0 正式发布!本次版本升级带来了架构级改进,在性能、稳定性和可维护性方面均有显著提升。
888
+ - <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>**[2025-09-16]** 我们的论文发布在了arXiv <a href="https://arxiv.org/abs/2509.09292">https://arxiv.org/pdf/2509.09292 </a>,欢迎大家阅读和引用!
889
+ - **[2025-06-12]** 我们很高兴地宣布 LightAgent v0.4.0 正式发布!本次版本升级带来了架构级改进,在性能、稳定性和可维护性方面均有显著提升。
857
890
  - **[2025-05-05]** LightAgent v0.3.3版本发布:深度集成Langfuse日志跟踪,优化上下文管理与工具调用稳定性 [查看>>](#8-集成langfuse日志跟踪)
858
891
  - **[2025-04-21]** LightAgent v0.3.2 新增自适应Tools机制,支持无限量工具智能筛选,Token消耗降低80%,响应速度提升52%! [查看>>](#4-思维树tot)
859
892
  - **[2025-04-01]** LightAgent v0.3.0 支持浏览器交互 [browser_use](https://github.com/browser-use/browser-use),并全面支持MCP协议,支持多模型多工具的协同工作,实现更高效的复杂任务处理。<a href="mcp_release.zh-CN.md">查看MCP发布简介>></a>
@@ -1449,15 +1482,24 @@ Langfuse跟踪的LLM调用日志如下图:
1449
1482
 
1450
1483
  #### 目前已经测试兼容的大模型
1451
1484
  Openai系列
1452
- - GPT-3.5-turbo
1453
- - GPT-4
1454
- - GPT-4o
1455
- - GPT-4o-mini
1485
+ - gpt-3.5-turbo
1486
+ - gpt-4
1487
+ - gpt-4o
1488
+ - gpt-4o-mini
1489
+ - o4-mini
1456
1490
  - gpt-4.1
1457
1491
  - gpt-4.1-mini
1458
1492
  - gpt-4.1-nano
1493
+ - gpt-5
1494
+ - gpt-5-mini
1495
+ - gpt-5-nano
1459
1496
 
1460
1497
  ChatGLM
1498
+ - GLM-4.5
1499
+ - GLM-4.5-Air
1500
+ - GLM-4.5-X
1501
+ - GLM-4.5-AirX
1502
+ - GLM-4.5-Flash
1461
1503
  - GLM-4-Plus
1462
1504
  - GLM-4-Air-0111
1463
1505
  - GLM-4-Flash
@@ -1468,10 +1510,9 @@ ChatGLM
1468
1510
  - ChatGLM3-6B
1469
1511
  - GLM-4-9B-Chat
1470
1512
 
1471
- Deepseek系列
1472
- - DeepSeek-chat (API)
1473
- - DeepSeekv2.5
1474
- - DeepSeekv3
1513
+ DeepSeek
1514
+ - DeepSeek-r1
1515
+ - DeepSeek-v3
1475
1516
 
1476
1517
  阶跃星辰
1477
1518
  - step-1-8k
@@ -1506,6 +1547,8 @@ Qwen系列
1506
1547
  - qwen3-32b
1507
1548
  - qwen3-30b-a3b
1508
1549
  - qwen3-235b-a22b
1550
+ - Qwen3-30B-A3B-Thinking-2507
1551
+ - Qwen3-30B-A3B-Instruct-2507
1509
1552
 
1510
1553
 
1511
1554
 
@@ -1595,6 +1638,21 @@ LightAgent 采用 [Apache 2.0 许可证](LICENSE)。您可以自由使用、修
1595
1638
 
1596
1639
  [![Star History Chart](https://api.star-history.com/svg?repos=wxai-space/LightAgent&type=Date)](https://star-history.com/#wxai-space/LightAgent&Date)
1597
1640
 
1641
+ ## 论文
1642
+
1643
+ ```bibtex
1644
+ @misc{2509.09292,
1645
+ Author = {Weige Cai and Tong Zhu and Jinyi Niu and Ruiqi Hu and Lingyao Li and Tenglong Wang and Xiaowu Dai and Weining Shen and Liwen Zhang},
1646
+ Title = {LightAgent: Production-level Open-source Agentic AI Framework},
1647
+ Year = {2025},
1648
+ Eprint = {arXiv:2509.09292},
1649
+ Eprinttype = {arXiv},
1650
+ Eprintclass = {cs.AI},
1651
+ Url = {https://arxiv.org/abs/2509.09292},
1652
+ Doi = {10.48550/arXiv.2509.09292},
1653
+ Note = {Submitted on 11 Sep 2025}
1654
+ }
1655
+ ```
1598
1656
 
1599
1657
  ![LightAgent Banner](docs/images/lightagent-banner.jpg)
1600
1658
  <div align="center">
@@ -2159,14 +2217,33 @@ Serie Openai
2159
2217
  - gpt-4
2160
2218
  - gpt-4o
2161
2219
  - gpt-4o-mini
2220
+ - o4-mini
2162
2221
  - gpt-4.1
2163
2222
  - gpt-4.1-mini
2164
2223
  - gpt-4.1-nano
2224
+ - gpt-5
2225
+ - gpt-5-mini
2226
+ - gpt-5-nano
2165
2227
 
2166
- Serie Deepseek
2167
- - DeepSeek-chat (API)
2168
- - DeepSeekv2.5
2169
- - DeepSeekv3
2228
+ ChatGLM
2229
+ - GLM-4.5
2230
+ - GLM-4.5-Air
2231
+ - GLM-4.5-X
2232
+ - GLM-4.5-AirX
2233
+ - GLM-4.5-Flash
2234
+ - GLM-4-Plus
2235
+ - GLM-4-Air-0111
2236
+ - GLM-4-Flash
2237
+ - GLM-4-FlashX
2238
+ - GLM-4-alltools
2239
+ - GLM-4
2240
+ - GLM-3-Turbo
2241
+ - ChatGLM3-6B
2242
+ - GLM-4-9B-Chat
2243
+
2244
+ DeepSeek
2245
+ - DeepSeek-r1
2246
+ - DeepSeek-v3
2170
2247
 
2171
2248
  StepFun
2172
2249
  - step-1-8k
@@ -2191,6 +2268,16 @@ Serie Qwen
2191
2268
  - qwen-turbo
2192
2269
  - qwen-long
2193
2270
  - qwq-32b
2271
+ - qwen3-0.6b
2272
+ - qwen3-1.7b
2273
+ - qwen3-4b
2274
+ - qwen3-8b
2275
+ - qwen3-14b
2276
+ - qwen3-32b
2277
+ - qwen3-30b-a3b
2278
+ - qwen3-235b-a22b
2279
+ - Qwen3-30B-A3B-Thinking-2507
2280
+ - Qwen3-30B-A3B-Instruct-2507
2194
2281
 
2195
2282
 
2196
2283
 
@@ -2832,14 +2919,33 @@ Openai series
2832
2919
  - gpt-4
2833
2920
  - gpt-4o
2834
2921
  - gpt-4o-mini
2922
+ - o4-mini
2835
2923
  - gpt-4.1
2836
2924
  - gpt-4.1-mini
2837
2925
  - gpt-4.1-nano
2926
+ - gpt-5
2927
+ - gpt-5-mini
2928
+ - gpt-5-nano
2838
2929
 
2839
- Deepseek series
2840
- - DeepSeek-chat (API)
2841
- - DeepSeekv2.5
2842
- - DeepSeekv3
2930
+ ChatGLM
2931
+ - GLM-4.5
2932
+ - GLM-4.5-Air
2933
+ - GLM-4.5-X
2934
+ - GLM-4.5-AirX
2935
+ - GLM-4.5-Flash
2936
+ - GLM-4-Plus
2937
+ - GLM-4-Air-0111
2938
+ - GLM-4-Flash
2939
+ - GLM-4-FlashX
2940
+ - GLM-4-alltools
2941
+ - GLM-4
2942
+ - GLM-3-Turbo
2943
+ - ChatGLM3-6B
2944
+ - GLM-4-9B-Chat
2945
+
2946
+ DeepSeek
2947
+ - DeepSeek-r1
2948
+ - DeepSeek-v3
2843
2949
 
2844
2950
  StepFun
2845
2951
  - step-1-8k
@@ -2864,6 +2970,16 @@ Qwen series
2864
2970
  - qwen-turbo
2865
2971
  - qwen-long
2866
2972
  - qwq-32b
2973
+ - qwen3-0.6b
2974
+ - qwen3-1.7b
2975
+ - qwen3-4b
2976
+ - qwen3-8b
2977
+ - qwen3-14b
2978
+ - qwen3-32b
2979
+ - qwen3-30b-a3b
2980
+ - qwen3-235b-a22b
2981
+ - Qwen3-30B-A3B-Thinking-2507
2982
+ - Qwen3-30B-A3B-Instruct-2507
2867
2983
 
2868
2984
  ---
2869
2985
 
@@ -3511,14 +3627,33 @@ Openai-Serie
3511
3627
  - gpt-4
3512
3628
  - gpt-4o
3513
3629
  - gpt-4o-mini
3630
+ - o4-mini
3514
3631
  - gpt-4.1
3515
3632
  - gpt-4.1-mini
3516
3633
  - gpt-4.1-nano
3634
+ - gpt-5
3635
+ - gpt-5-mini
3636
+ - gpt-5-nano
3517
3637
 
3518
- Deepseek-Serie
3519
- - DeepSeek-chat (API)
3520
- - DeepSeekv2.5
3521
- - DeepSeekv3
3638
+ ChatGLM
3639
+ - GLM-4.5
3640
+ - GLM-4.5-Air
3641
+ - GLM-4.5-X
3642
+ - GLM-4.5-AirX
3643
+ - GLM-4.5-Flash
3644
+ - GLM-4-Plus
3645
+ - GLM-4-Air-0111
3646
+ - GLM-4-Flash
3647
+ - GLM-4-FlashX
3648
+ - GLM-4-alltools
3649
+ - GLM-4
3650
+ - GLM-3-Turbo
3651
+ - ChatGLM3-6B
3652
+ - GLM-4-9B-Chat
3653
+
3654
+ DeepSeek Series
3655
+ - DeepSeek-r1
3656
+ - DeepSeek-v3
3522
3657
 
3523
3658
  StepFun
3524
3659
  - step-1-8k
@@ -3544,6 +3679,16 @@ Qwen-Serie
3544
3679
  - qwen-turbo
3545
3680
  - qwen-long
3546
3681
  - qwq-32b
3682
+ - qwen3-0.6b
3683
+ - qwen3-1.7b
3684
+ - qwen3-4b
3685
+ - qwen3-8b
3686
+ - qwen3-14b
3687
+ - qwen3-32b
3688
+ - qwen3-30b-a3b
3689
+ - qwen3-235b-a22b
3690
+ - Qwen3-30B-A3B-Thinking-2507
3691
+ - Qwen3-30B-A3B-Instruct-2507
3547
3692
 
3548
3693
 
3549
3694
 
@@ -4189,14 +4334,33 @@ Openaiシリーズ
4189
4334
  - gpt-4
4190
4335
  - gpt-4o
4191
4336
  - gpt-4o-mini
4337
+ - o4-mini
4192
4338
  - gpt-4.1
4193
4339
  - gpt-4.1-mini
4194
4340
  - gpt-4.1-nano
4341
+ - gpt-5
4342
+ - gpt-5-mini
4343
+ - gpt-5-nano
4195
4344
 
4196
- Deepseekシリーズ
4197
- - DeepSeek-chat (API)
4198
- - DeepSeekv2.5
4199
- - DeepSeekv3
4345
+ ChatGLM
4346
+ - GLM-4.5
4347
+ - GLM-4.5-Air
4348
+ - GLM-4.5-X
4349
+ - GLM-4.5-AirX
4350
+ - GLM-4.5-Flash
4351
+ - GLM-4-Plus
4352
+ - GLM-4-Air-0111
4353
+ - GLM-4-Flash
4354
+ - GLM-4-FlashX
4355
+ - GLM-4-alltools
4356
+ - GLM-4
4357
+ - GLM-3-Turbo
4358
+ - ChatGLM3-6B
4359
+ - GLM-4-9B-Chat
4360
+
4361
+ DeepSeek
4362
+ - DeepSeek-r1
4363
+ - DeepSeek-v3
4200
4364
 
4201
4365
  StepFun
4202
4366
  - step-1-8k
@@ -4221,6 +4385,16 @@ Qwenシリーズ
4221
4385
  - qwen-turbo
4222
4386
  - qwen-long
4223
4387
  - qwq-32b
4388
+ - qwen3-0.6b
4389
+ - qwen3-1.7b
4390
+ - qwen3-4b
4391
+ - qwen3-8b
4392
+ - qwen3-14b
4393
+ - qwen3-32b
4394
+ - qwen3-30b-a3b
4395
+ - qwen3-235b-a22b
4396
+ - Qwen3-30B-A3B-Thinking-2507
4397
+ - Qwen3-30B-A3B-Instruct-2507
4224
4398
 
4225
4399
  ---
4226
4400
 
@@ -4867,14 +5041,33 @@ Openai 시리즈
4867
5041
  - gpt-4
4868
5042
  - gpt-4o
4869
5043
  - gpt-4o-mini
5044
+ - o4-mini
4870
5045
  - gpt-4.1
4871
5046
  - gpt-4.1-mini
4872
5047
  - gpt-4.1-nano
5048
+ - gpt-5
5049
+ - gpt-5-mini
5050
+ - gpt-5-nano
4873
5051
 
4874
- DeepSeek 시리즈
4875
- - DeepSeek-chat (API)
4876
- - DeepSeekv2.5
4877
- - DeepSeekv3
5052
+ ChatGLM
5053
+ - GLM-4.5
5054
+ - GLM-4.5-Air
5055
+ - GLM-4.5-X
5056
+ - GLM-4.5-AirX
5057
+ - GLM-4.5-Flash
5058
+ - GLM-4-Plus
5059
+ - GLM-4-Air-0111
5060
+ - GLM-4-Flash
5061
+ - GLM-4-FlashX
5062
+ - GLM-4-alltools
5063
+ - GLM-4
5064
+ - GLM-3-Turbo
5065
+ - ChatGLM3-6B
5066
+ - GLM-4-9B-Chat
5067
+
5068
+ DeepSeek
5069
+ - DeepSeek-r1
5070
+ - DeepSeek-v3
4878
5071
 
4879
5072
  StepFun
4880
5073
  - step-1-8k
@@ -4900,6 +5093,16 @@ Qwen 시리즈
4900
5093
  - qwen-turbo
4901
5094
  - qwen-long
4902
5095
  - qwq-32b
5096
+ - qwen3-0.6b
5097
+ - qwen3-1.7b
5098
+ - qwen3-4b
5099
+ - qwen3-8b
5100
+ - qwen3-14b
5101
+ - qwen3-32b
5102
+ - qwen3-30b-a3b
5103
+ - qwen3-235b-a22b
5104
+ - Qwen3-30B-A3B-Thinking-2507
5105
+ - Qwen3-30B-A3B-Instruct-2507
4903
5106
 
4904
5107
 
4905
5108
  ---
@@ -5545,14 +5748,33 @@ Série Openai
5545
5748
  - gpt-4
5546
5749
  - gpt-4o
5547
5750
  - gpt-4o-mini
5751
+ - o4-mini
5548
5752
  - gpt-4.1
5549
5753
  - gpt-4.1-mini
5550
5754
  - gpt-4.1-nano
5755
+ - gpt-5
5756
+ - gpt-5-mini
5757
+ - gpt-5-nano
5551
5758
 
5552
- Série Deepseek
5553
- - DeepSeek-chat (API)
5554
- - DeepSeekv2.5
5555
- - DeepSeekv3
5759
+ ChatGLM
5760
+ - GLM-4.5
5761
+ - GLM-4.5-Air
5762
+ - GLM-4.5-X
5763
+ - GLM-4.5-AirX
5764
+ - GLM-4.5-Flash
5765
+ - GLM-4-Plus
5766
+ - GLM-4-Air-0111
5767
+ - GLM-4-Flash
5768
+ - GLM-4-FlashX
5769
+ - GLM-4-alltools
5770
+ - GLM-4
5771
+ - GLM-3-Turbo
5772
+ - ChatGLM3-6B
5773
+ - GLM-4-9B-Chat
5774
+
5775
+ DeepSeek
5776
+ - DeepSeek-r1
5777
+ - DeepSeek-v3
5556
5778
 
5557
5779
  StepFun
5558
5780
  - step-1-8k
@@ -5578,6 +5800,16 @@ Série Qwen
5578
5800
  - qwen-turbo
5579
5801
  - qwen-long
5580
5802
  - qwq-32b
5803
+ - qwen3-0.6b
5804
+ - qwen3-1.7b
5805
+ - qwen3-4b
5806
+ - qwen3-8b
5807
+ - qwen3-14b
5808
+ - qwen3-32b
5809
+ - qwen3-30b-a3b
5810
+ - qwen3-235b-a22b
5811
+ - Qwen3-30B-A3B-Thinking-2507
5812
+ - Qwen3-30B-A3B-Instruct-2507
5581
5813
 
5582
5814
 
5583
5815
 
@@ -6207,9 +6439,13 @@ OpenAI Series
6207
6439
  - gpt-4
6208
6440
  - gpt-4o
6209
6441
  - gpt-4o-mini
6442
+ - o4-mini
6210
6443
  - gpt-4.1
6211
6444
  - gpt-4.1-mini
6212
6445
  - gpt-4.1-nano
6446
+ - gpt-5
6447
+ - gpt-5-mini
6448
+ - gpt-5-nano
6213
6449
 
6214
6450
  ChatGLM
6215
6451
  - GLM-4-Plus
@@ -6250,6 +6486,16 @@ Qwen Series
6250
6486
  - qwen-turbo
6251
6487
  - qwen-long
6252
6488
  - qwq-32b
6489
+ - qwen3-0.6b
6490
+ - qwen3-1.7b
6491
+ - qwen3-4b
6492
+ - qwen3-8b
6493
+ - qwen3-14b
6494
+ - qwen3-32b
6495
+ - qwen3-30b-a3b
6496
+ - qwen3-235b-a22b
6497
+ - Qwen3-30B-A3B-Thinking-2507
6498
+ - Qwen3-30B-A3B-Instruct-2507
6253
6499
 
6254
6500
  ---
6255
6501
  ## Сценарии использования
@@ -566,14 +566,33 @@ Openai-Serie
566
566
  - gpt-4
567
567
  - gpt-4o
568
568
  - gpt-4o-mini
569
+ - o4-mini
569
570
  - gpt-4.1
570
571
  - gpt-4.1-mini
571
572
  - gpt-4.1-nano
572
-
573
- Deepseek-Serie
574
- - DeepSeek-chat (API)
575
- - DeepSeekv2.5
576
- - DeepSeekv3
573
+ - gpt-5
574
+ - gpt-5-mini
575
+ - gpt-5-nano
576
+
577
+ ChatGLM
578
+ - GLM-4.5
579
+ - GLM-4.5-Air
580
+ - GLM-4.5-X
581
+ - GLM-4.5-AirX
582
+ - GLM-4.5-Flash
583
+ - GLM-4-Plus
584
+ - GLM-4-Air-0111
585
+ - GLM-4-Flash
586
+ - GLM-4-FlashX
587
+ - GLM-4-alltools
588
+ - GLM-4
589
+ - GLM-3-Turbo
590
+ - ChatGLM3-6B
591
+ - GLM-4-9B-Chat
592
+
593
+ DeepSeek Series
594
+ - DeepSeek-r1
595
+ - DeepSeek-v3
577
596
 
578
597
  StepFun
579
598
  - step-1-8k
@@ -599,6 +618,16 @@ Qwen-Serie
599
618
  - qwen-turbo
600
619
  - qwen-long
601
620
  - qwq-32b
621
+ - qwen3-0.6b
622
+ - qwen3-1.7b
623
+ - qwen3-4b
624
+ - qwen3-8b
625
+ - qwen3-14b
626
+ - qwen3-32b
627
+ - qwen3-30b-a3b
628
+ - qwen3-235b-a22b
629
+ - Qwen3-30B-A3B-Thinking-2507
630
+ - Qwen3-30B-A3B-Instruct-2507
602
631
 
603
632
 
604
633
 
@@ -562,14 +562,33 @@ Serie Openai
562
562
  - gpt-4
563
563
  - gpt-4o
564
564
  - gpt-4o-mini
565
+ - o4-mini
565
566
  - gpt-4.1
566
567
  - gpt-4.1-mini
567
568
  - gpt-4.1-nano
568
-
569
- Serie Deepseek
570
- - DeepSeek-chat (API)
571
- - DeepSeekv2.5
572
- - DeepSeekv3
569
+ - gpt-5
570
+ - gpt-5-mini
571
+ - gpt-5-nano
572
+
573
+ ChatGLM
574
+ - GLM-4.5
575
+ - GLM-4.5-Air
576
+ - GLM-4.5-X
577
+ - GLM-4.5-AirX
578
+ - GLM-4.5-Flash
579
+ - GLM-4-Plus
580
+ - GLM-4-Air-0111
581
+ - GLM-4-Flash
582
+ - GLM-4-FlashX
583
+ - GLM-4-alltools
584
+ - GLM-4
585
+ - GLM-3-Turbo
586
+ - ChatGLM3-6B
587
+ - GLM-4-9B-Chat
588
+
589
+ DeepSeek
590
+ - DeepSeek-r1
591
+ - DeepSeek-v3
573
592
 
574
593
  StepFun
575
594
  - step-1-8k
@@ -594,6 +613,16 @@ Serie Qwen
594
613
  - qwen-turbo
595
614
  - qwen-long
596
615
  - qwq-32b
616
+ - qwen3-0.6b
617
+ - qwen3-1.7b
618
+ - qwen3-4b
619
+ - qwen3-8b
620
+ - qwen3-14b
621
+ - qwen3-32b
622
+ - qwen3-30b-a3b
623
+ - qwen3-235b-a22b
624
+ - Qwen3-30B-A3B-Thinking-2507
625
+ - Qwen3-30B-A3B-Instruct-2507
597
626
 
598
627
 
599
628
 
@@ -557,14 +557,33 @@ Openai series
557
557
  - gpt-4
558
558
  - gpt-4o
559
559
  - gpt-4o-mini
560
+ - o4-mini
560
561
  - gpt-4.1
561
562
  - gpt-4.1-mini
562
563
  - gpt-4.1-nano
563
-
564
- Deepseek series
565
- - DeepSeek-chat (API)
566
- - DeepSeekv2.5
567
- - DeepSeekv3
564
+ - gpt-5
565
+ - gpt-5-mini
566
+ - gpt-5-nano
567
+
568
+ ChatGLM
569
+ - GLM-4.5
570
+ - GLM-4.5-Air
571
+ - GLM-4.5-X
572
+ - GLM-4.5-AirX
573
+ - GLM-4.5-Flash
574
+ - GLM-4-Plus
575
+ - GLM-4-Air-0111
576
+ - GLM-4-Flash
577
+ - GLM-4-FlashX
578
+ - GLM-4-alltools
579
+ - GLM-4
580
+ - GLM-3-Turbo
581
+ - ChatGLM3-6B
582
+ - GLM-4-9B-Chat
583
+
584
+ DeepSeek
585
+ - DeepSeek-r1
586
+ - DeepSeek-v3
568
587
 
569
588
  StepFun
570
589
  - step-1-8k
@@ -589,6 +608,16 @@ Qwen series
589
608
  - qwen-turbo
590
609
  - qwen-long
591
610
  - qwq-32b
611
+ - qwen3-0.6b
612
+ - qwen3-1.7b
613
+ - qwen3-4b
614
+ - qwen3-8b
615
+ - qwen3-14b
616
+ - qwen3-32b
617
+ - qwen3-30b-a3b
618
+ - qwen3-235b-a22b
619
+ - Qwen3-30B-A3B-Thinking-2507
620
+ - Qwen3-30B-A3B-Instruct-2507
592
621
 
593
622
  ---
594
623
 
@@ -561,14 +561,33 @@ Openaiシリーズ
561
561
  - gpt-4
562
562
  - gpt-4o
563
563
  - gpt-4o-mini
564
+ - o4-mini
564
565
  - gpt-4.1
565
566
  - gpt-4.1-mini
566
567
  - gpt-4.1-nano
567
-
568
- Deepseekシリーズ
569
- - DeepSeek-chat (API)
570
- - DeepSeekv2.5
571
- - DeepSeekv3
568
+ - gpt-5
569
+ - gpt-5-mini
570
+ - gpt-5-nano
571
+
572
+ ChatGLM
573
+ - GLM-4.5
574
+ - GLM-4.5-Air
575
+ - GLM-4.5-X
576
+ - GLM-4.5-AirX
577
+ - GLM-4.5-Flash
578
+ - GLM-4-Plus
579
+ - GLM-4-Air-0111
580
+ - GLM-4-Flash
581
+ - GLM-4-FlashX
582
+ - GLM-4-alltools
583
+ - GLM-4
584
+ - GLM-3-Turbo
585
+ - ChatGLM3-6B
586
+ - GLM-4-9B-Chat
587
+
588
+ DeepSeek
589
+ - DeepSeek-r1
590
+ - DeepSeek-v3
572
591
 
573
592
  StepFun
574
593
  - step-1-8k
@@ -593,6 +612,16 @@ Qwenシリーズ
593
612
  - qwen-turbo
594
613
  - qwen-long
595
614
  - qwq-32b
615
+ - qwen3-0.6b
616
+ - qwen3-1.7b
617
+ - qwen3-4b
618
+ - qwen3-8b
619
+ - qwen3-14b
620
+ - qwen3-32b
621
+ - qwen3-30b-a3b
622
+ - qwen3-235b-a22b
623
+ - Qwen3-30B-A3B-Thinking-2507
624
+ - Qwen3-30B-A3B-Instruct-2507
596
625
 
597
626
  ---
598
627
 
@@ -565,14 +565,33 @@ Openai 시리즈
565
565
  - gpt-4
566
566
  - gpt-4o
567
567
  - gpt-4o-mini
568
+ - o4-mini
568
569
  - gpt-4.1
569
570
  - gpt-4.1-mini
570
571
  - gpt-4.1-nano
571
-
572
- DeepSeek 시리즈
573
- - DeepSeek-chat (API)
574
- - DeepSeekv2.5
575
- - DeepSeekv3
572
+ - gpt-5
573
+ - gpt-5-mini
574
+ - gpt-5-nano
575
+
576
+ ChatGLM
577
+ - GLM-4.5
578
+ - GLM-4.5-Air
579
+ - GLM-4.5-X
580
+ - GLM-4.5-AirX
581
+ - GLM-4.5-Flash
582
+ - GLM-4-Plus
583
+ - GLM-4-Air-0111
584
+ - GLM-4-Flash
585
+ - GLM-4-FlashX
586
+ - GLM-4-alltools
587
+ - GLM-4
588
+ - GLM-3-Turbo
589
+ - ChatGLM3-6B
590
+ - GLM-4-9B-Chat
591
+
592
+ DeepSeek
593
+ - DeepSeek-r1
594
+ - DeepSeek-v3
576
595
 
577
596
  StepFun
578
597
  - step-1-8k
@@ -598,6 +617,16 @@ Qwen 시리즈
598
617
  - qwen-turbo
599
618
  - qwen-long
600
619
  - qwq-32b
620
+ - qwen3-0.6b
621
+ - qwen3-1.7b
622
+ - qwen3-4b
623
+ - qwen3-8b
624
+ - qwen3-14b
625
+ - qwen3-32b
626
+ - qwen3-30b-a3b
627
+ - qwen3-235b-a22b
628
+ - Qwen3-30B-A3B-Thinking-2507
629
+ - Qwen3-30B-A3B-Instruct-2507
601
630
 
602
631
 
603
632
  ---
@@ -12,7 +12,7 @@
12
12
  <a href="https://pypi.org/project/lightagent/"><img src="https://img.shields.io/pypi/v/lightagent.svg" alt="PyPI"></a>
13
13
  <a href="https://pypi.org/project/lightagent/"><img src="https://img.shields.io/pypi/dm/lightagent.svg" alt="Downloads"></a>
14
14
  <a href="https://pypi.org/project/lightagent/"><img src="https://img.shields.io/pypi/pyversions/lightagent.svg" alt="Python Version"></a>
15
- <a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code Style"></a>
15
+ <a href="https://arxiv.org/abs/2509.09292"><img src="https://img.shields.io/badge/arXiv-Paper-B31B1B?logo=arxiv&logoColor=white" alt="Code Style"></a>
16
16
  </p>
17
17
  </div>
18
18
  <div align="center">
@@ -56,7 +56,8 @@
56
56
 
57
57
  ---
58
58
  ## News
59
- - <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>**[2025-06-12]** We are pleased to announce the official release of LightAgent v0.4.0! This version upgrade brings architectural improvements, with significant enhancements in performance, stability, and maintainability.
59
+ - <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>**[2025-09-16]** Our paper is now available as a preprint on arXiv: https://arxiv.org/pdf/2509.09292. We invite the research community to read and cite our work.
60
+ - **[2025-06-12]** We are pleased to announce the official release of LightAgent v0.4.0! This version upgrade brings architectural improvements, with significant enhancements in performance, stability, and maintainability.
60
61
  - **[2025-05-05]** LightAgent v0.3.3 Released: Deep [Langfuse](https://langfuse.com/) Logging Integration, Enhanced Context Management and Tool Invocation Stability [View](#8-integrating-langfuse-log-tracking)
61
62
  - **[2025-04-21]** LightAgent v0.3.2 adds an adaptive Tools mechanism, supports unlimited intelligent tool filtering, reduces Token consumption by 80%, and improves response speed by 52%! [View](#4-tree-of-thought-tot)
62
63
  - **[2025-04-01]** LightAgent v0.3.0 Support browser interaction [browser_use](https://github.com/browser-use/browser-use) and fully supports the MCP protocol, enabling collaborative work with multiple models and tools to achieve more efficient handling of complex tasks.<a href="mcp_release.md">View MCP release introduction.>></a>
@@ -639,6 +640,11 @@ OpenAI Series
639
640
  - gpt-4.1-nano
640
641
 
641
642
  ChatGLM
643
+ - GLM-4.5
644
+ - GLM-4.5-Air
645
+ - GLM-4.5-X
646
+ - GLM-4.5-AirX
647
+ - GLM-4.5-Flash
642
648
  - GLM-4-Plus
643
649
  - GLM-4-Air-0111
644
650
  - GLM-4-Flash
@@ -650,9 +656,8 @@ ChatGLM
650
656
  - GLM-4-9B-Chat
651
657
 
652
658
  DeepSeek Series
653
- - DeepSeek-chat (API)
654
- - DeepSeekv2.5
655
- - DeepSeekv3
659
+ - DeepSeek-r1
660
+ - DeepSeek-v3
656
661
 
657
662
  stepfun
658
663
  - step-1-8k
@@ -685,6 +690,8 @@ Qwen Series
685
690
  - qwen3-32b
686
691
  - qwen3-30b-a3b
687
692
  - qwen3-235b-a22b
693
+ - Qwen3-30B-A3B-Thinking-2507
694
+ - Qwen3-30B-A3B-Instruct-2507
688
695
 
689
696
  ---
690
697
 
@@ -769,3 +776,22 @@ We look forward to your feedback and work together to make LightAgent even stron
769
776
  ## Star History
770
777
 
771
778
  [![Star History Chart](https://api.star-history.com/svg?repos=wxai-space/LightAgent&type=Date)](https://star-history.com/#wxai-space/LightAgent&Date)
779
+
780
+ ## Paper
781
+
782
+ ```bibtex
783
+ @misc{2509.09292,
784
+ Author = {Weige Cai and Tong Zhu and Jinyi Niu and Ruiqi Hu and Lingyao Li and Tenglong Wang and Xiaowu Dai and Weining Shen and Liwen Zhang},
785
+ Title = {LightAgent: Production-level Open-source Agentic AI Framework},
786
+ Year = {2025},
787
+ Eprint = {arXiv:2509.09292},
788
+ Eprinttype = {arXiv},
789
+ Eprintclass = {cs.AI},
790
+ Url = {https://arxiv.org/abs/2509.09292},
791
+ Doi = {10.48550/arXiv.2509.09292},
792
+ Note = {Submitted on 11 Sep 2025}
793
+ }
794
+ ```
795
+
796
+ ## Features
797
+ [![MseeP.ai Security Assessment Badge](https://mseep.net/pr/wxai-space-lightagent-badge.png)](https://mseep.ai/app/wxai-space-lightagent)
@@ -563,14 +563,33 @@ Série Openai
563
563
  - gpt-4
564
564
  - gpt-4o
565
565
  - gpt-4o-mini
566
+ - o4-mini
566
567
  - gpt-4.1
567
568
  - gpt-4.1-mini
568
569
  - gpt-4.1-nano
569
-
570
- Série Deepseek
571
- - DeepSeek-chat (API)
572
- - DeepSeekv2.5
573
- - DeepSeekv3
570
+ - gpt-5
571
+ - gpt-5-mini
572
+ - gpt-5-nano
573
+
574
+ ChatGLM
575
+ - GLM-4.5
576
+ - GLM-4.5-Air
577
+ - GLM-4.5-X
578
+ - GLM-4.5-AirX
579
+ - GLM-4.5-Flash
580
+ - GLM-4-Plus
581
+ - GLM-4-Air-0111
582
+ - GLM-4-Flash
583
+ - GLM-4-FlashX
584
+ - GLM-4-alltools
585
+ - GLM-4
586
+ - GLM-3-Turbo
587
+ - ChatGLM3-6B
588
+ - GLM-4-9B-Chat
589
+
590
+ DeepSeek
591
+ - DeepSeek-r1
592
+ - DeepSeek-v3
574
593
 
575
594
  StepFun
576
595
  - step-1-8k
@@ -596,6 +615,16 @@ Série Qwen
596
615
  - qwen-turbo
597
616
  - qwen-long
598
617
  - qwq-32b
618
+ - qwen3-0.6b
619
+ - qwen3-1.7b
620
+ - qwen3-4b
621
+ - qwen3-8b
622
+ - qwen3-14b
623
+ - qwen3-32b
624
+ - qwen3-30b-a3b
625
+ - qwen3-235b-a22b
626
+ - Qwen3-30B-A3B-Thinking-2507
627
+ - Qwen3-30B-A3B-Instruct-2507
599
628
 
600
629
 
601
630
 
@@ -545,9 +545,13 @@ OpenAI Series
545
545
  - gpt-4
546
546
  - gpt-4o
547
547
  - gpt-4o-mini
548
+ - o4-mini
548
549
  - gpt-4.1
549
550
  - gpt-4.1-mini
550
551
  - gpt-4.1-nano
552
+ - gpt-5
553
+ - gpt-5-mini
554
+ - gpt-5-nano
551
555
 
552
556
  ChatGLM
553
557
  - GLM-4-Plus
@@ -588,6 +592,16 @@ Qwen Series
588
592
  - qwen-turbo
589
593
  - qwen-long
590
594
  - qwq-32b
595
+ - qwen3-0.6b
596
+ - qwen3-1.7b
597
+ - qwen3-4b
598
+ - qwen3-8b
599
+ - qwen3-14b
600
+ - qwen3-32b
601
+ - qwen3-30b-a3b
602
+ - qwen3-235b-a22b
603
+ - Qwen3-30B-A3B-Thinking-2507
604
+ - Qwen3-30B-A3B-Instruct-2507
591
605
 
592
606
  ---
593
607
  ## Сценарии использования
@@ -12,9 +12,12 @@
12
12
  <a href="https://pypi.org/project/lightagent/"><img src="https://img.shields.io/pypi/v/lightagent.svg" alt="PyPI"></a>
13
13
  <a href="https://pypi.org/project/lightagent/"><img src="https://img.shields.io/pypi/dm/lightagent.svg" alt="Downloads"></a>
14
14
  <a href="https://pypi.org/project/lightagent/"><img src="https://img.shields.io/pypi/pyversions/lightagent.svg" alt="Python Version"></a>
15
- <a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code Style"></a>
15
+ <a href="https://arxiv.org/abs/2509.09292"><img src="https://img.shields.io/badge/arXiv-Paper-B31B1B?logo=arxiv&logoColor=white" alt="Code Style"></a>
16
16
  </p>
17
+
17
18
  </div>
19
+
20
+
18
21
  <div align="center">
19
22
  <p>
20
23
  <a href="README.md">English</a> |
@@ -33,6 +36,9 @@
33
36
  <h1>LightAgent🚀(生产级开源Agentic AI开发框架)</h1>
34
37
  </div>
35
38
 
39
+
40
+
41
+
36
42
  **LightAgent** 是一个极其轻量的带记忆(`mem0`)、工具(`Tools`)、思维树(`ToT`)的主动式 Agentic Framework(自主性框架),并且完全开源。它支持比Openai Swarm更简单的多智能体协同,简单一步即可构建具备自我学习能力的agent,并支持stdio和sse方式接入MCP协议。底层模型支持 OpenAI、智谱 ChatGLM、DeepSeek、阶跃星辰、Qwen通义千问大模型等。同时,LightAgent 支持 OpenAI 流格式 API 服务输出,无缝接入各大主流 Chat 框架。🌟
37
43
 
38
44
  ---
@@ -54,7 +60,8 @@
54
60
 
55
61
  ---
56
62
  ## 新闻
57
- - <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>**[2025-06-12]** 我们很高兴地宣布 LightAgent v0.4.0 正式发布!本次版本升级带来了架构级改进,在性能、稳定性和可维护性方面均有显著提升。
63
+ - <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>**[2025-09-16]** 我们的论文发布在了arXiv <a href="https://arxiv.org/abs/2509.09292">https://arxiv.org/pdf/2509.09292 </a>,欢迎大家阅读和引用!
64
+ - **[2025-06-12]** 我们很高兴地宣布 LightAgent v0.4.0 正式发布!本次版本升级带来了架构级改进,在性能、稳定性和可维护性方面均有显著提升。
58
65
  - **[2025-05-05]** LightAgent v0.3.3版本发布:深度集成Langfuse日志跟踪,优化上下文管理与工具调用稳定性 [查看>>](#8-集成langfuse日志跟踪)
59
66
  - **[2025-04-21]** LightAgent v0.3.2 新增自适应Tools机制,支持无限量工具智能筛选,Token消耗降低80%,响应速度提升52%! [查看>>](#4-思维树tot)
60
67
  - **[2025-04-01]** LightAgent v0.3.0 支持浏览器交互 [browser_use](https://github.com/browser-use/browser-use),并全面支持MCP协议,支持多模型多工具的协同工作,实现更高效的复杂任务处理。<a href="mcp_release.zh-CN.md">查看MCP发布简介>></a>
@@ -650,15 +657,24 @@ Langfuse跟踪的LLM调用日志如下图:
650
657
 
651
658
  #### 目前已经测试兼容的大模型
652
659
  Openai系列
653
- - GPT-3.5-turbo
654
- - GPT-4
655
- - GPT-4o
656
- - GPT-4o-mini
660
+ - gpt-3.5-turbo
661
+ - gpt-4
662
+ - gpt-4o
663
+ - gpt-4o-mini
664
+ - o4-mini
657
665
  - gpt-4.1
658
666
  - gpt-4.1-mini
659
667
  - gpt-4.1-nano
668
+ - gpt-5
669
+ - gpt-5-mini
670
+ - gpt-5-nano
660
671
 
661
672
  ChatGLM
673
+ - GLM-4.5
674
+ - GLM-4.5-Air
675
+ - GLM-4.5-X
676
+ - GLM-4.5-AirX
677
+ - GLM-4.5-Flash
662
678
  - GLM-4-Plus
663
679
  - GLM-4-Air-0111
664
680
  - GLM-4-Flash
@@ -669,10 +685,9 @@ ChatGLM
669
685
  - ChatGLM3-6B
670
686
  - GLM-4-9B-Chat
671
687
 
672
- Deepseek系列
673
- - DeepSeek-chat (API)
674
- - DeepSeekv2.5
675
- - DeepSeekv3
688
+ DeepSeek
689
+ - DeepSeek-r1
690
+ - DeepSeek-v3
676
691
 
677
692
  阶跃星辰
678
693
  - step-1-8k
@@ -707,6 +722,8 @@ Qwen系列
707
722
  - qwen3-32b
708
723
  - qwen3-30b-a3b
709
724
  - qwen3-235b-a22b
725
+ - Qwen3-30B-A3B-Thinking-2507
726
+ - Qwen3-30B-A3B-Instruct-2507
710
727
 
711
728
 
712
729
 
@@ -795,3 +812,19 @@ LightAgent 采用 [Apache 2.0 许可证](LICENSE)。您可以自由使用、修
795
812
  ## Star History
796
813
 
797
814
  [![Star History Chart](https://api.star-history.com/svg?repos=wxai-space/LightAgent&type=Date)](https://star-history.com/#wxai-space/LightAgent&Date)
815
+
816
+ ## 论文
817
+
818
+ ```bibtex
819
+ @misc{2509.09292,
820
+ Author = {Weige Cai and Tong Zhu and Jinyi Niu and Ruiqi Hu and Lingyao Li and Tenglong Wang and Xiaowu Dai and Weining Shen and Liwen Zhang},
821
+ Title = {LightAgent: Production-level Open-source Agentic AI Framework},
822
+ Year = {2025},
823
+ Eprint = {arXiv:2509.09292},
824
+ Eprinttype = {arXiv},
825
+ Eprintclass = {cs.AI},
826
+ Url = {https://arxiv.org/abs/2509.09292},
827
+ Doi = {10.48550/arXiv.2509.09292},
828
+ Note = {Submitted on 11 Sep 2025}
829
+ }
830
+ ```
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "LightAgent"
3
- version = "0.4.3"
3
+ version = "0.4.4"
4
4
  description = "LightAgent: Lightweight AI agent framework with memory, tools & tree-of-thought. Supports multi-agent collaboration, self-learning, and major LLMs (OpenAI/DeepSeek/Qwen). Open-source with MCP/SSE protocol integration."
5
5
  authors = ["caiweige <caiweige@qq.com>"]
6
6
  license = "Apache 2.0"
File without changes