loongsuite-python-agent 0.6.0
Installation
pip install loongsuite-distro==0.6.0
loongsuite-bootstrap -a install --version 0.6.0Package Versions
- loongsuite-* packages: 0.6.0
- opentelemetry-* packages: 0.60b1
PyPI packages
The following distributions are built and uploaded to PyPI for this release:
loongsuite-otel-util-genailoongsuite-distroloongsuite-site-bootstraploongsuite-instrumentation-agentscopeloongsuite-instrumentation-algotuneloongsuite-instrumentation-bfclv4loongsuite-instrumentation-claude-agent-sdkloongsuite-instrumentation-claw-evalloongsuite-instrumentation-crewailoongsuite-instrumentation-dashscopeloongsuite-instrumentation-google-adkloongsuite-instrumentation-hermes-agentloongsuite-instrumentation-langchainloongsuite-instrumentation-langgraphloongsuite-instrumentation-litellmloongsuite-instrumentation-mem0loongsuite-instrumentation-minisweagentloongsuite-instrumentation-openhandsloongsuite-instrumentation-qwen-agentloongsuite-instrumentation-qwenpawloongsuite-instrumentation-slop-codeloongsuite-instrumentation-terminus2loongsuite-instrumentation-vitaloongsuite-instrumentation-webarenaloongsuite-instrumentation-widesearchloongsuite-instrumentation-wildtool
loongsuite
Changed
- Publish LoongSuite GenAI utilities as
loongsuite-otel-util-genaifor new
releases. New LoongSuite distro and instrumentation packages depend on
loongsuite-otel-util-genai; the previousloongsuite-util-genai
distribution remains available for existing installations but is no longer
the package receiving new LoongSuite GenAI utility updates. The Python import
namespace remainsopentelemetry.util.genai.
loongsuite-instrumentation-agno
Removed
- Drop Agno 1.x support and require Agno 2.x public
Agent.run/Agent.arun
APIs. Users that still depend on Agno 1.x should pin
loongsuite-instrumentation-agno < 0.6.
Changed
- Align message content capture with
opentelemetry-util-genaicontrols such as
OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=SPAN_ONLY. - Migrate Agno instrumentation to Agno 2.x public
Agent.run/Agent.arun
APIs andopentelemetry-util-genaiExtendedTelemetryHandler. - Emit standardized AGENT, LLM, and TOOL GenAI spans for agent runs, model
calls, streaming calls, async streaming calls, and function executions.
Added
- Add a DashScope smoke example that exercises non-streaming, streaming, and
concurrent Agno calls. - Add local test requirements for the Agno LoongSuite tox environment.
loongsuite-instrumentation-bfclv4
Added
- Initial release of
loongsuite-instrumentation-bfclv4. - ENTRY span around
bfcl_eval._llm_response_generation.generate_results. - AGENT span around
bfcl_eval.model_handler.base_handler.BaseHandler.inference
with cross-thread OTel context propagation via a narrow patch of
bfcl_eval._llm_response_generation.ThreadPoolExecutor. - STEP spans created by reflectively wrapping each handler's
_query_FC/_query_prompting(discovered via
bfcl_eval.constants.model_config.MODEL_CONFIG_MAPPING). - Per-call TOOL spans emitted by wrapping
bfcl_eval.eval_checker.multi_turn_eval.multi_turn_utils.execute_multi_turn_func_call. - Provider override mapping for OSS handlers (vLLM / SGLang).
- Multi-turn
bfcl.turn_idxand ReActgen_ai.react.roundtracking via
contextvars.
loongsuite-instrumentation-crewai
Breaking
- Align CrewAI GenAI span names with
opentelemetry-util-genai
extended semantic conventions.gen_ai.operation.namenow reports
enter,invoke_agent, orexecute_tool; the CrewAI framework operation
is reported ingen_ai.crewai.operationinstead. - Replace the legacy
gen_ai.system=crewaiattribute with
gen_ai.provider.name=crewai. - Use the current content-capture environment values:
OTEL_SEMCONV_STABILITY_OPT_IN=gen_ai_latest_experimentaland
OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=SPAN_ONLY.
Changed
- Migrate CrewAI entry, task, agent, and tool spans to
opentelemetry-util-genaiExtendedTelemetryHandler. - Keep instrumentation post-processing failures from changing successful
CrewAI calls into user-visible errors, avoid duplicate nested agent spans,
and gate content-like CrewAI task and agent attributes behind util-genai
content capture controls.
Added
- Add a real CrewAI smoke example covering sync, streaming, and concurrent
calls for local otel-gui and Robin/ARMS verification.
loongsuite-instrumentation-dashscope
Fixed
- Fix extraction of
gen_ai.output.messagesfor message-format text responses
that omit optionaltool_calls.
loongsuite-instrumentation-google-adk
Changed
- Route Google ADK
AGENT,LLM, andTOOLspans through
opentelemetry-util-genai, emitting current GenAI attributes such as
gen_ai.input.messages,gen_ai.output.messages,
gen_ai.tool.call.arguments,gen_ai.tool.call.result,
gen_ai.span.kind, andgen_ai.provider.name=google_adk. (#199)
Fixed
- Keep Google ADK streaming model spans open until the final response and
protect same-session concurrent invocations from cross-finishing spans. - Ensure Google ADK spans include LoongSuite
gen_ai.span.kindvalues such as
AGENT.
loongsuite-instrumentation-litellm
Changed
- Improved LiteLLM GenAI util invocation mapping for positional arguments,
streaming time-to-first-token, multi-choice outputs, tool-call deltas, and
a real smoke example (#191).