loongsuite-python-agent 0.3.0
loongsuite-python-agent 0.3.0
Installation
pip install loongsuite-distro==0.3.0
loongsuite-bootstrap -a install --version 0.3.0Package Versions
- loongsuite-* packages: 0.3.0
- opentelemetry-* packages: 0.61b0
PyPI packages
The following distributions are built and uploaded to PyPI for this release:
loongsuite-util-genailoongsuite-distroloongsuite-site-bootstraploongsuite-instrumentation-agentscopeloongsuite-instrumentation-claude-agent-sdkloongsuite-instrumentation-crewailoongsuite-instrumentation-dashscopeloongsuite-instrumentation-google-adkloongsuite-instrumentation-langchainloongsuite-instrumentation-langgraphloongsuite-instrumentation-litellmloongsuite-instrumentation-mem0
loongsuite
Added
- Release tooling: build and publish
instrumentation-loongsuite/*as separate PyPI wheels (withloongsuite_pypi_manifest.pydefining which distributions are uploaded; some remain tar-only until ready), and add a PyPI packages section to aggregated release notes (#155) loongsuite-site-bootstrap: initialize .pth-based OTel auto-instrumentation package (#156)- Top-level docs: add Chinese README (
README-zh.md) translated fromREADME.md. (#159)
Changed
instrumentation-loongsuite/*,loongsuite-distro, andutil/opentelemetry-util-genai:pyproject.tomlmetadata and dependencies for standalone PyPI installs (#155)loongsuite-site-bootstrap,loongsuite-distrodocs: updateREADME.md. (#159)
loongsuite-util-genai
Breaking Change
- Remove package
opentelemetry.util.genai._extended_common.EntryInvocationandReactStepInvocationnow live inextended_types;_apply_entry_finish_attributesand_apply_react_step_finish_attributeslive inextended_span_utils. (#158) - Rename packages
opentelemetry.util.genai._extended_memory→extended_memoryandopentelemetry.util.genai._extended_semconv→extended_semconv(public module paths). (#158)
Fixed
- Add bypass logic around instrumentation-specific initialization so
opentelemetry-util-genaican work correctly as a standalone SDK without depending on instrumentation package bootstrap flow. (#159)
loongsuite-instrumentation-agentscope
Changed
- Adapt imports to
opentelemetry-util-genaimodule layout change (#158)
Fixed
- Avoid duplicate LLM / Agent spans when multiple
ChatModelBaseor
AgentBasesubclasses stack (e.g. proxy layers that each implement__call__
and forward inward), by tracking per-task__call__depth with
contextvarsand only instrumenting the outermost frame (#153) - Avoid duplicate
react stepspans when ReAct hook wrappers nest (e.g.
subclasses or mixins that override_reasoning/_actingand call
super()), by only opening steps and updating tool-act counts on the
outermost wrapper (#153)
Changed
- Update README integration flow to align with the root recommended LoongSuite pattern using Option C (
pip install loongsuite-instrumentation-agentscope) andloongsuite-instrument. (#159)
Added
- Add ReAct step span instrumentation for ReAct agents (#140)
- Each ReAct iteration is wrapped in a
react stepspan withgen_ai.react.roundandgen_ai.react.finish_reasonattributes - Uses AgentScope's instance-level hook system for robust, non-invasive instrumentation
- Each ReAct iteration is wrapped in a
loongsuite-instrumentation-agno
Changed
- Update README integration flow to align with the root recommended LoongSuite pattern using Option A (
loongsuite-bootstrap -a install --latest) for this package not yet on PyPI. (#159)
loongsuite-instrumentation-claude-agent-sdk
Changed
- Adapt imports to
opentelemetry-util-genaimodule layout change (#158)
loongsuite-instrumentation-crewai
Changed
- Adapt imports to
opentelemetry-util-genaimodule layout change (#158) - Update README integration flow to align with the root recommended LoongSuite pattern using Option C (
pip install loongsuite-instrumentation-crewai) andloongsuite-instrument. (#159)
Added
- Initialize the instrumentation for CrewAI (#87)
loongsuite-instrumentation-dashscope
Changed
- Adapt imports to
opentelemetry-util-genaimodule layout change (#158)
loongsuite-instrumentation-dify
Changed
- Update README integration flow to align with the root recommended LoongSuite pattern using Option A (
loongsuite-bootstrap -a install --latest) for this package not yet on PyPI. (#159)
loongsuite-instrumentation-google-adk
Changed
- Update README integration flow to align with the root recommended LoongSuite pattern using Option C (
pip install loongsuite-instrumentation-google-adk) andloongsuite-instrument. (#159)
loongsuite-instrumentation-langchain
Added
- Rerank / document-compressor span support (#149)
Changed
- Adapt imports to
opentelemetry-util-genaimodule layout change (#158) - Set
run_inline = Trueon the tracer so LangChain callbacks run inline for correct OpenTelemetry context propagation (#148) - Improved token usage extraction to support multiple LangChain/LLM provider formats (#148)
- Update README integration flow to align with the root recommended LoongSuite pattern using Option C (
pip install loongsuite-instrumentation-langchain) andloongsuite-instrument. (#159)
loongsuite-instrumentation-langgraph
Changed
- Update README integration flow to align with the root recommended LoongSuite pattern using Option C (
pip install loongsuite-instrumentation-langgraph) andloongsuite-instrument. (#159)
loongsuite-instrumentation-mcp
Changed
- Update README integration flow to align with the root recommended LoongSuite pattern using Option A (
loongsuite-bootstrap -a install --latest) for this package not yet on PyPI. (#159)