Skip to content

Releases: wanxingai/LightAgent

v0.5.0 release

21 Feb 12:24

Choose a tag to compare

LightAgent v0.5.0 Release Notes

We are pleased to announce the official release of LightAgent v0.5.0.

📦 Upgrade Guide

Dependency Changes:

pip install --upgrade lightagent>=0.5.0

🆕 New Features

  • Runtime Toolset Constraint: Added support for passing tool parameter during run execution to limit the available toolset for the current session, enabling more granular control and security.
  • Improved Debug Configuration: Enhanced debug settings for better development and troubleshooting experience.

🐛 Bug Fixes

  • Tools Call History Fix: Resolved an issue where tool invocation history was not correctly recorded or passed in multi-turn conversations, ensuring accurate context for subsequent tool calls.
  • LightSwarm Stability Improvements: Addressed several LightSwarm-related issues to improve system stability and reliability.

This release introduces session-level toolset constraints for enhanced control and security, fixes critical bugs in tool call history handling, and continues to refine debug configurations and LightSwarm stability—further improving the development experience and overall system robustness.

Full Changelog: v0.4.8...v0.5.0

v0.4.8 release

20 Jan 14:10

Choose a tag to compare

LightAgent v0.4.8 Release Notes

We are pleased to announce the official release of LightAgent v0.4.8.

📦 Upgrade Guide

Dependency Changes:

pip install --upgrade lightagent>=0.4.8

🆕 New Features

  • Runtime Toolset Constraint: Added support for passing tool parameter during run execution to limit the available toolset for the current session, enabling more granular control and security.
  • Improved Debug Configuration: Enhanced debug settings for better development and troubleshooting experience.

This release introduces session-level toolset constraints for enhanced control and security, while continuing to improve debug configuration and fix LightSwarm-related issues, further enhancing development experience and system stability.

Full Changelog: v0.4.7...v0.4.8

v0.4.7 release

15 Nov 10:44
aa682dd

Choose a tag to compare

LightAgent v0.4.7 Release Notes

We are pleased to announce the official release of LightAgent v0.4.7

📦 Upgrade Guide

Dependency Changes:

pip install --upgrade lightagent>=0.4.7

🆕 New Features

  • Improved Debug Configuration: Enhanced debug settings for better development and troubleshooting experience

🐛 Bug Fixes

  • Fixed LightSwarm-related bugs: Resolved various issues in LightSwarm component
  • Debug Settings Fix: Corrected debug configuration problems that affected development workflow

🔧 Improvements

  • Improved LightSwarm integration and performance
  • Streamlined debug and development tooling

This release focuses on resolving debug configuration issues and LightSwarm-related bugs, significantly enhancing the development experience and system stability.

Full Changelog: v0.4.6...v0.4.7

v0.4.6 release

28 Oct 05:58

Choose a tag to compare

LightAgent v0.4.6 Release Notes

We are pleased to announce the official release of LightAgent v0.4.6

📦 Upgrade Guide

Dependency Changes:

pip install --upgrade lightagent>=0.4.6

🆕 New Features

  • Agent Model Extension Support: Added support for defining extended parameters in agent models, such as Qwen3's thinking mode control
  • Enhanced Metadata Handling: Now supports passing model-specific configurations through the metadata parameter

Usage Example:

# Enable/disable thinking mode for Qwen3 models
response = agent.run(
    query, 
    history=history, 
    stream=stream, 
    metadata={"enable_thinking": False}
)

🐛 Bug Fixes

  • Fixed several critical bugs to improve system stability and performance
  • Resolved parameter parsing errors in certain edge cases
  • Addressed compatibility issues with specific Python environments
  • Improved error handling and logging mechanisms

🔧 Improvements

  • Enhanced model configuration flexibility
  • Optimized agent response processing
  • Better support for various model-specific features

This release focuses on improving the extensibility and stability of the LightAgent framework, providing developers with more control over model behavior while maintaining backward compatibility.

Full Changelog: v0.4.3...v0.4.6

v0.4.3 release

22 Aug 16:07

Choose a tag to compare

LightAgent v0.4.3 Release Notes

We are pleased to announce the official release of LightAgent v0.4.3

📦 Upgrade Guide

Dependency Changes:

pip install --upgrade lightagent>=0.4.3

🐛 Bug Fixes

  • Fixed several critical bugs to improve system stability
  • Fixed parameter parsing errors in certain edge cases
  • Addressed compatibility issues with specific Python environments

v0.4.1 release

07 Jul 13:47

Choose a tag to compare

LightAgent v0.4.1 Release Notes

We are excited to announce the official release of LightAgent v0.4.1

📦 Upgrade Guide

Dependency Changes:

pip install --upgrade lightagent>=0.4.1

🚀 Updates

  • Add custom metadata for model parameters

v0.4.0 release

12 Jun 04:54

Choose a tag to compare

LightAgent v0.4.0 Release Notes

We are excited to announce the official release of LightAgent v0.4.0! This version upgrade brings architectural improvements with significant enhancements in performance, stability, and maintainability.

📦 Upgrade Guide

Dependency Changes:

pip install --upgrade lightagent>=0.4.0

🚀 Updates

Architectural Restructuring

  • New Modular Design: Core architecture restructured using SOLID principles
  • Global State Elimination: 90% reduction in global variable dependencies
  • Type System Enhancement: 100% type annotation coverage on critical paths

Performance Breakthrough

  • Asynchronous Resource Management: Resource lifecycle automation achieved through AsyncExitStack
  • Connection Pool Optimization: 300% increase in MCP session reuse rate
  • Tool Loading Acceleration: New tool caching mechanism reduces repeated loading time to 1/5

✨ New Features

Core Components

Component Description
ToolRegistry Unified tool registration center with dynamic filtering support
ToolLoader Cached tool loader with hot update support
LoggerManager Enhanced logging system integrated with TraceID

Enterprise-Level Features

  • Multi-Server MCP Management: Supports simultaneous connections to multiple MCP servers
  • Intelligent Memory System: Supports context-related retrieval
  • Structured Error Handling: New error classification system (Fatal/Recoverable)

⚡ Performance Optimization

Optimization Area Metric Improvement Technical Solution
Asynchronous Calls 40% reduction in latency AsyncExitStack resource management
Tool Calls 2.5x increase in throughput Standardization of tool call interfaces
Memory Usage 35% decrease in peak memory Streamlined response processing

🛠️ Developer Experience Improvements

Debugging Support

# New quick entry for debug mode
agent = LightAgent(debug=True)  # Automatically enables detailed logging

⚠️ Breaking Changes

  1. Tool Registration Interface Change:

    # Old version
    register_tool_manually(func)
    
    # New version
    tool_registry.register(func)
  2. Log Format Standardization:

    # Old version
    [ERROR] Tool call failed
    
    # New version
    2025-06-10T12:00:00 [ERROR] [TraceID:abc123] tool_execution:call_failed (tool=weather_api)
    

🐛 Known Issues

  • Slight delay in memory garbage collection for asynchronous generators in Python 3.8
  • MCP multi-server mode requires explicit call to cleanup()

V0.3.3 release

05 May 14:10

Choose a tag to compare

LightAgent v0.3.3 Release Notes

This update focuses on enhancing logging capabilities while delivering multiple functional improvements and stability upgrades. Here are the key updates:

Core Updates

  • Integrated Langfuse Logging
    • New deep integration with the open-source Langfuse platform enables end-to-end request monitoring and analysis
    • Real-time tracking of key metrics including token usage and response latency
    • Provides visual analysis of decision-making processes to optimize Agent behavior

🛠 Feature Optimizations

  • Improved stability of the context management module
  • Enhanced error handling for tool invocation
  • Better memory retention in long-conversation scenarios

🐛 Bug Fixes

  • Fixed API timeout issues in certain scenarios
  • Resolved occasional context loss during multi-turn conversations
  • Addressed compatibility exceptions with specific tool integrations

We remain committed to improving LightAgent's stability and intelligence. Please share your feedback and suggestions via [feedback channel]!

Tip: All users are recommended to upgrade to this version for optimal experience

V0.3.2 release

21 Apr 08:50

Choose a tag to compare

What's Changed

New Features

Adaptive Tools Mechanism 🛠️

This update introduces the revolutionary Adaptive Tools Mechanism, significantly improving the efficiency and performance of large language models (LLMs):

Unlimited Tools Support: No longer limited to a fixed number of tools, can dynamically scale to integrate tens of thousands of tools.
Intelligent Irrelevant Tools Filtering: The LLM automatically filters relevant tools, reducing noise from irrelevant information and improving response accuracy.
Significantly Reduced Token Consumption: Only passes necessary tool information, optimizing computational resource usage and reducing costs.
Flexible Adaptation to Various Scenarios: Suitable for diverse needs including Q&A, data analysis, and automated tasks.

Performance Improvements 📈

Metric Before Optimization After Optimization Improvement
Token Consumption High (~5k/call) Low (~1k/call) 80%↓
Response Time 2.5s 1.2s 52%↑
Tools Capacity Limit 100 tools Unlimited

V0.3.0 release

01 Apr 04:11

Choose a tag to compare

What's Changed

  1. Multi-component Collaboration Protocol Support (MCP)
    ** Architecture upgrade **
  • Added Multi-Component Protocol core communication layer
  • Support collaborative workflows across tools/agents:
  1. Asynchronous tool invocation system
    ** Performance optimization **
  • Full toolchain supports async/await asynchronous mode:
  1. Support browser interaction (browser_use)
    https://github.com/browser-use/browser-use

Full Changelog: v0.2.85...v0.3.0