loongsuite-python-agent 0.1.0
Installation
pip install loongsuite-distro==0.1.0
loongsuite-bootstrap -a install --version 0.1.0
Package Versions
- loongsuite-* packages: 0.1.0
- opentelemetry-* packages: 0.60b1
loongsuite
Fixed
- Add
from __future__ import annotations to fix Python 3.9 compatibility for union type syntax (X | Y) (#80)
Added
loongsuite-distro: initialize loongsuite python agent distro (#126)
loongsuite-util-genai
Fixed
- Fix compatibility with Python 3.8 hashlib usage (#102)
Added
- Add support for memory operations (#83)
- Add multimodal separation and upload support for GenAI utils (#94)
- Add
gen_ai.usage.total_tokens attribute for LLM, Agent, and Embedding operations (#108)
- Add
gen_ai.response.time_to_first_token attribute for LLM operations (#113)
- Enhance the capture and upload process of multimodal data (#119)
- Enhance multimodal pre-upload pipeline with Data URI and local path support
- Add AgentInvocation multimodal data handling
- Introduce configurable pre-upload hooks and uploader entry points, add graceful shutdown processor for GenAI components
- Improve multimodal metadata extraction and docs
loongsuite-instrumentation-agentscope
Fixed
- Fix tool call response parsing (#118)
- Fix LLM message content capture in spans (#91)
- Fix spell mistake in pyproject.toml (#8)
Breaking Changes
- Deprecate the support for AgentScope v0 (#82)
Changed
- Refactor the instrumentation for AgentScope with
genai-util (#82)
- Refactored to use opentelemetry-util-genai: Migrated to
ExtendedTelemetryHandler and ExtendedInvocationMetricsRecorder from opentelemetry-util-genai for unified metrics and tracing management
- Architecture Simplification: Removed redundant code and consolidated instrumentation logic
- Tool Tracing Enhancement: Rewritten tool execution tracing to use
ExtendedTelemetryHandler for full feature support (see HANDLER_INTEGRATION.md)
- Now properly leverages
_apply_execute_tool_finish_attributes for standardized attribute handling
- Automatic metrics recording for tool executions
- Content capturing mode support (respects experimental mode and content capturing settings)
- Unified error handling with proper error attributes
- Removed "V1" prefix from class names (AgentScopeV1ChatModelWrapper → AgentScopeChatModelWrapper, etc.)
- Updated to use Apache License 2.0 headers across all source files
- Refactor the instrumentation for AgentScope (#14)
Added
- Add support for agentscope v1.0.0 (#45)
- Initialize the instrumentation for AgentScope (#2)
loongsuite-instrumentation-agno
Fixed
- Fix aresponse missing await and double wrapped() calls (#107)
- Fix broken trace caused by the improper setting of the parent context (#23)
- Correct span name of tool call (#21)
Added
- Initial implementation of Agno instrumentation (#13)
loongsuite-instrumentation-claude-agent-sdk
Added
- Initial implementation of Claude Agent SDK instrumentation (#104)
- Support for agent query sessions via Hooks mechanism
- Support for tool execution tracing (PreToolUse/PostToolUse hooks)
- Integration with
opentelemetry-util-genai ExtendedTelemetryHandler
- Span attributes following OpenTelemetry GenAI Semantic Conventions
- Support for Alibaba Cloud DashScope Anthropic-compatible API
loongsuite-instrumentation-dashscope
Added
- Add support for multimodal API (#111)
- Initial implementation of DashScope instrumentation (#66)
Fixed
- Fix MIME type inference logic for speech synthesis instrumentation (#115)
loongsuite-instrumentation-dify
Fixed
- Correct timestamp calculation in dify instrumentation (#74)
Added
- Initialize the instrumentation for dify (#29)
loongsuite-instrumentation-google-adk
Added
- Initialize the instrumentation for Google Agent Development Kit (ADK) (#71)
loongsuite-instrumentation-langchain
Added
- Initialize the instrumentation for langchain (#34)
loongsuite-instrumentation-mcp
Fixed
- Add support for mcp 1.25.0 (#126)
Added
- Add quick start document for mcp (#43)
- Initialize the instrumentation for mcp (#12)
Changed
- Relocate mcp instrumentation to loongsuite directory (#42)
- Refactor the instrumentation for mcp (#39)
loongsuite-instrumentation-mem0
Fixed
Added
- Refactor capture logic with memory handler (#89)
- Add hook extensions (#95)
- Initialize the instrumentation for mem0 (#67)