agentscope-runtime 1.0.1__tar.gz → 1.0.3__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.
Files changed (289) hide show
  1. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/PKG-INFO +31 -8
  2. agentscope_runtime-1.0.1/src/agentscope_runtime.egg-info/PKG-INFO → agentscope_runtime-1.0.3/README.md +22 -70
  3. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/pyproject.toml +15 -4
  4. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/message.py +32 -7
  5. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/stream.py +121 -91
  6. agentscope_runtime-1.0.3/src/agentscope_runtime/adapters/agno/message.py +30 -0
  7. agentscope_runtime-1.0.3/src/agentscope_runtime/adapters/agno/stream.py +122 -0
  8. agentscope_runtime-1.0.3/src/agentscope_runtime/adapters/langgraph/__init__.py +12 -0
  9. agentscope_runtime-1.0.3/src/agentscope_runtime/adapters/langgraph/message.py +257 -0
  10. agentscope_runtime-1.0.3/src/agentscope_runtime/adapters/langgraph/stream.py +205 -0
  11. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/__init__.py +7 -0
  12. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/cli.py +63 -0
  13. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/commands/__init__.py +2 -0
  14. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/commands/chat.py +815 -0
  15. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/commands/deploy.py +1074 -0
  16. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/commands/invoke.py +58 -0
  17. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/commands/list_cmd.py +103 -0
  18. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/commands/run.py +176 -0
  19. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/commands/sandbox.py +128 -0
  20. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/commands/status.py +60 -0
  21. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/commands/stop.py +185 -0
  22. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/commands/web.py +166 -0
  23. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/loaders/__init__.py +6 -0
  24. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/loaders/agent_loader.py +295 -0
  25. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/state/__init__.py +10 -0
  26. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/utils/__init__.py +18 -0
  27. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/utils/console.py +378 -0
  28. agentscope_runtime-1.0.3/src/agentscope_runtime/cli/utils/validators.py +118 -0
  29. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/redis_mapping.py +4 -1
  30. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/app/agent_app.py +55 -9
  31. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/__init__.py +1 -0
  32. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/deployers/adapter/a2a/__init__.py +57 -0
  33. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_protocol_adapter.py +487 -0
  34. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_registry.py +273 -0
  35. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/deployers/adapter/a2a/nacos_a2a_registry.py +640 -0
  36. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/agentrun_deployer.py +152 -22
  37. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/deployers/base.py +43 -0
  38. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/kubernetes_deployer.py +161 -31
  39. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/local_deployer.py +188 -25
  40. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/modelstudio_deployer.py +109 -18
  41. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/deployers/state/__init__.py +9 -0
  42. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/deployers/state/manager.py +388 -0
  43. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/deployers/state/schema.py +96 -0
  44. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/deployers/utils/build_cache.py +736 -0
  45. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/detached_app.py +105 -30
  46. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/docker_image_builder.py +31 -10
  47. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/dockerfile_generator.py +23 -10
  48. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/image_factory.py +35 -2
  49. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/deployers/utils/k8s_utils.py +241 -0
  50. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/deployers/utils/net_utils.py +65 -0
  51. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/package.py +56 -6
  52. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/service_utils/fastapi_factory.py +16 -2
  53. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/service_utils/process_manager.py +155 -5
  54. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/wheel_packager.py +107 -123
  55. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/runner.py +30 -9
  56. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/schemas/exception.py +604 -0
  57. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/agent_state/redis_state_service.py +61 -8
  58. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/agent_state/state_service_factory.py +2 -5
  59. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/services/memory/redis_memory_service.py +291 -0
  60. agentscope_runtime-1.0.3/src/agentscope_runtime/engine/services/session_history/redis_session_history_service.py +283 -0
  61. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/mobile/mobile_sandbox.py +113 -39
  62. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/routers/mcp_utils.py +20 -4
  63. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/build.py +50 -57
  64. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/utils.py +2 -0
  65. agentscope_runtime-1.0.3/src/agentscope_runtime/tools/utils/__init__.py +0 -0
  66. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/version.py +1 -1
  67. agentscope_runtime-1.0.1/README.md → agentscope_runtime-1.0.3/src/agentscope_runtime.egg-info/PKG-INFO +93 -5
  68. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime.egg-info/SOURCES.txt +33 -0
  69. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime.egg-info/entry_points.txt +1 -0
  70. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime.egg-info/requires.txt +9 -3
  71. agentscope_runtime-1.0.1/src/agentscope_runtime/engine/deployers/adapter/a2a/__init__.py +0 -2
  72. agentscope_runtime-1.0.1/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_protocol_adapter.py +0 -79
  73. agentscope_runtime-1.0.1/src/agentscope_runtime/engine/deployers/base.py +0 -18
  74. agentscope_runtime-1.0.1/src/agentscope_runtime/engine/services/memory/redis_memory_service.py +0 -187
  75. agentscope_runtime-1.0.1/src/agentscope_runtime/engine/services/session_history/redis_session_history_service.py +0 -157
  76. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/LICENSE +0 -0
  77. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/setup.cfg +0 -0
  78. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/setup.py +0 -0
  79. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/__init__.py +0 -0
  80. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/__init__.py +0 -0
  81. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/__init__.py +0 -0
  82. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/long_term_memory/__init__.py +0 -0
  83. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/long_term_memory/_long_term_memory_adapter.py +0 -0
  84. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/memory/__init__.py +0 -0
  85. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/memory/_memory_adapter.py +0 -0
  86. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/tool/__init__.py +0 -0
  87. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/tool/sandbox_tool.py +0 -0
  88. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/agentscope/tool/tool.py +0 -0
  89. {agentscope_runtime-1.0.1/src/agentscope_runtime/adapters/autogen → agentscope_runtime-1.0.3/src/agentscope_runtime/adapters/agno}/__init__.py +0 -0
  90. {agentscope_runtime-1.0.1/src/agentscope_runtime/adapters/text → agentscope_runtime-1.0.3/src/agentscope_runtime/adapters/autogen}/__init__.py +0 -0
  91. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/autogen/tool/__init__.py +0 -0
  92. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/autogen/tool/tool.py +0 -0
  93. {agentscope_runtime-1.0.1/src/agentscope_runtime/common → agentscope_runtime-1.0.3/src/agentscope_runtime/adapters/text}/__init__.py +0 -0
  94. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/adapters/text/stream.py +0 -0
  95. {agentscope_runtime-1.0.1/src/agentscope_runtime/common/container_clients → agentscope_runtime-1.0.3/src/agentscope_runtime/common}/__init__.py +0 -0
  96. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/__init__.py +0 -0
  97. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/base_mapping.py +0 -0
  98. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/base_queue.py +0 -0
  99. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/base_set.py +0 -0
  100. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/in_memory_mapping.py +0 -0
  101. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/in_memory_queue.py +0 -0
  102. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/in_memory_set.py +0 -0
  103. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/redis_queue.py +0 -0
  104. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/collections/redis_set.py +0 -0
  105. {agentscope_runtime-1.0.1/src/agentscope_runtime/common/utils → agentscope_runtime-1.0.3/src/agentscope_runtime/common/container_clients}/__init__.py +0 -0
  106. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/container_clients/agentrun_client.py +0 -0
  107. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/container_clients/base_client.py +0 -0
  108. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/container_clients/docker_client.py +0 -0
  109. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/container_clients/fc_client.py +0 -0
  110. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/container_clients/kubernetes_client.py +0 -0
  111. {agentscope_runtime-1.0.1/src/agentscope_runtime/engine/deployers → agentscope_runtime-1.0.3/src/agentscope_runtime/common}/utils/__init__.py +0 -0
  112. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/common/utils/lazy_loader.py +0 -0
  113. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/__init__.py +0 -0
  114. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/app/__init__.py +0 -0
  115. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/app/base_app.py +0 -0
  116. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/app/celery_mixin.py +0 -0
  117. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/constant.py +0 -0
  118. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/adapter/__init__.py +0 -0
  119. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_adapter_utils.py +0 -0
  120. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_agent_adapter.py +0 -0
  121. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/adapter/protocol_adapter.py +0 -0
  122. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/adapter/responses/__init__.py +0 -0
  123. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_adapter_utils.py +0 -0
  124. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_agent_adapter.py +0 -0
  125. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_protocol_adapter.py +0 -0
  126. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/cli_fc_deploy.py +0 -0
  127. {agentscope_runtime-1.0.1/src/agentscope_runtime/engine/misc → agentscope_runtime-1.0.3/src/agentscope_runtime/engine/deployers/utils}/__init__.py +0 -0
  128. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/app_runner_utils.py +0 -0
  129. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/deployment_modes.py +0 -0
  130. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/__init__.py +0 -0
  131. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/service_utils/__init__.py +0 -0
  132. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/service_utils/fastapi_templates.py +0 -0
  133. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/templates/app_main.py.j2 +0 -0
  134. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/templates/runner_main.py.j2 +0 -0
  135. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/deployers/utils/templates/standalone_main.py.j2 +0 -0
  136. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/helpers/agent_api_builder.py +0 -0
  137. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/helpers/runner.py +0 -0
  138. {agentscope_runtime-1.0.1/src/agentscope_runtime/engine/schemas → agentscope_runtime-1.0.3/src/agentscope_runtime/engine/misc}/__init__.py +0 -0
  139. {agentscope_runtime-1.0.1/src/agentscope_runtime/engine/services → agentscope_runtime-1.0.3/src/agentscope_runtime/engine/schemas}/__init__.py +0 -0
  140. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/schemas/agent_schemas.py +0 -0
  141. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/schemas/embedding.py +0 -0
  142. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/schemas/modelstudio_llm.py +0 -0
  143. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/schemas/oai_llm.py +0 -0
  144. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/schemas/realtime.py +0 -0
  145. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/schemas/response_api.py +0 -0
  146. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/schemas/session.py +0 -0
  147. {agentscope_runtime-1.0.1/src/agentscope_runtime/engine/services/utils → agentscope_runtime-1.0.3/src/agentscope_runtime/engine/services}/__init__.py +0 -0
  148. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/agent_state/__init__.py +0 -0
  149. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/agent_state/state_service.py +0 -0
  150. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/base.py +0 -0
  151. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/memory/__init__.py +0 -0
  152. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/memory/mem0_memory_service.py +0 -0
  153. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/memory/memory_service.py +0 -0
  154. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/memory/memory_service_factory.py +0 -0
  155. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/memory/reme_personal_memory_service.py +0 -0
  156. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/memory/reme_task_memory_service.py +0 -0
  157. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/memory/tablestore_memory_service.py +0 -0
  158. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/sandbox/__init__.py +0 -0
  159. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/sandbox/sandbox_service.py +0 -0
  160. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/sandbox/sandbox_service_factory.py +0 -0
  161. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/service_factory.py +0 -0
  162. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/session_history/__init__.py +0 -0
  163. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/session_history/session_history_service.py +0 -0
  164. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/session_history/session_history_service_factory.py +0 -0
  165. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/session_history/tablestore_session_history_service.py +0 -0
  166. {agentscope_runtime-1.0.1/src/agentscope_runtime/sandbox/box → agentscope_runtime-1.0.3/src/agentscope_runtime/engine/services/utils}/__init__.py +0 -0
  167. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/services/utils/tablestore_service_utils.py +0 -0
  168. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/tracing/__init__.py +0 -0
  169. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/tracing/asyncio_util.py +0 -0
  170. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/tracing/base.py +0 -0
  171. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/tracing/local_logging_handler.py +0 -0
  172. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/tracing/message_util.py +0 -0
  173. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/tracing/tracing_metric.py +0 -0
  174. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/tracing/tracing_util.py +0 -0
  175. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/engine/tracing/wrapper.py +0 -0
  176. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/__init__.py +0 -0
  177. {agentscope_runtime-1.0.1/src/agentscope_runtime/sandbox/box/base → agentscope_runtime-1.0.3/src/agentscope_runtime/sandbox}/box/__init__.py +0 -0
  178. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/agentbay/__init__.py +0 -0
  179. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/agentbay/agentbay_sandbox.py +0 -0
  180. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/base/__init__.py +0 -0
  181. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/base/base_sandbox.py +0 -0
  182. {agentscope_runtime-1.0.1/src/agentscope_runtime/sandbox/box/browser → agentscope_runtime-1.0.3/src/agentscope_runtime/sandbox/box/base}/box/__init__.py +0 -0
  183. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/browser/__init__.py +0 -0
  184. {agentscope_runtime-1.0.1/src/agentscope_runtime/sandbox/box/filesystem → agentscope_runtime-1.0.3/src/agentscope_runtime/sandbox/box/browser}/box/__init__.py +0 -0
  185. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/browser/browser_sandbox.py +0 -0
  186. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/cloud/__init__.py +0 -0
  187. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/cloud/cloud_sandbox.py +0 -0
  188. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/dummy/__init__.py +0 -0
  189. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/dummy/dummy_sandbox.py +0 -0
  190. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/filesystem/__init__.py +0 -0
  191. {agentscope_runtime-1.0.1/src/agentscope_runtime/sandbox/box/gui → agentscope_runtime-1.0.3/src/agentscope_runtime/sandbox/box/filesystem}/box/__init__.py +0 -0
  192. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/filesystem/filesystem_sandbox.py +0 -0
  193. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/gui/__init__.py +0 -0
  194. {agentscope_runtime-1.0.1/src/agentscope_runtime/sandbox/box/mobile → agentscope_runtime-1.0.3/src/agentscope_runtime/sandbox/box/gui}/box/__init__.py +0 -0
  195. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/gui/gui_sandbox.py +0 -0
  196. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/mobile/__init__.py +0 -0
  197. {agentscope_runtime-1.0.1/src/agentscope_runtime/sandbox/box/shared → agentscope_runtime-1.0.3/src/agentscope_runtime/sandbox/box/mobile/box}/__init__.py +0 -0
  198. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/sandbox.py +0 -0
  199. {agentscope_runtime-1.0.1/src/agentscope_runtime/sandbox/box/training_box/environments → agentscope_runtime-1.0.3/src/agentscope_runtime/sandbox/box/shared}/__init__.py +0 -0
  200. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/app.py +0 -0
  201. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/dependencies/__init__.py +0 -0
  202. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/dependencies/deps.py +0 -0
  203. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/routers/__init__.py +0 -0
  204. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/routers/generic.py +0 -0
  205. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/routers/mcp.py +0 -0
  206. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/routers/runtime_watcher.py +0 -0
  207. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/shared/routers/workspace.py +0 -0
  208. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/__init__.py +0 -0
  209. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/base.py +0 -0
  210. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/env_service.py +0 -0
  211. {agentscope_runtime-1.0.1/src/agentscope_runtime/sandbox/manager/server → agentscope_runtime-1.0.3/src/agentscope_runtime/sandbox/box/training_box/environments}/__init__.py +0 -0
  212. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/environments/appworld/appworld_env.py +0 -0
  213. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_dataprocess.py +0 -0
  214. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_env.py +0 -0
  215. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/env_handler.py +0 -0
  216. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/registry.py +0 -0
  217. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/src/trajectory.py +0 -0
  218. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/box/training_box/training_box.py +0 -0
  219. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/client/__init__.py +0 -0
  220. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/client/http_client.py +0 -0
  221. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/client/training_client.py +0 -0
  222. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/constant.py +0 -0
  223. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/custom/__init__.py +0 -0
  224. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/custom/custom_sandbox.py +0 -0
  225. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/custom/example.py +0 -0
  226. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/enums.py +0 -0
  227. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/__init__.py +0 -0
  228. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/sandbox_manager.py +0 -0
  229. {agentscope_runtime-1.0.1/src/agentscope_runtime/tools/RAGs → agentscope_runtime-1.0.3/src/agentscope_runtime/sandbox/manager/server}/__init__.py +0 -0
  230. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/server/app.py +0 -0
  231. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/server/config.py +0 -0
  232. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/server/models.py +0 -0
  233. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/storage/__init__.py +0 -0
  234. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/storage/data_storage.py +0 -0
  235. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/storage/local_storage.py +0 -0
  236. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/manager/storage/oss_storage.py +0 -0
  237. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/mcp_server.py +0 -0
  238. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/model/__init__.py +0 -0
  239. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/model/api.py +0 -0
  240. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/model/container.py +0 -0
  241. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/model/manager_config.py +0 -0
  242. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/sandbox/registry.py +0 -0
  243. {agentscope_runtime-1.0.1/src/agentscope_runtime/tools/cli → agentscope_runtime-1.0.3/src/agentscope_runtime/tools/RAGs}/__init__.py +0 -0
  244. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/RAGs/modelstudio_rag.py +0 -0
  245. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/RAGs/modelstudio_rag_lite.py +0 -0
  246. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/__init__.py +0 -0
  247. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/_constants.py +0 -0
  248. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/alipay/__init__.py +0 -0
  249. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/alipay/base.py +0 -0
  250. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/alipay/payment.py +0 -0
  251. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/alipay/subscribe.py +0 -0
  252. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/base.py +0 -0
  253. {agentscope_runtime-1.0.1/src/agentscope_runtime/tools/utils → agentscope_runtime-1.0.3/src/agentscope_runtime/tools/cli}/__init__.py +0 -0
  254. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/cli/modelstudio_mcp_server.py +0 -0
  255. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/__init__.py +0 -0
  256. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/async_image_to_video.py +0 -0
  257. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/async_image_to_video_wan25.py +0 -0
  258. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/async_speech_to_video.py +0 -0
  259. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/async_text_to_video.py +0 -0
  260. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/async_text_to_video_wan25.py +0 -0
  261. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/image_edit.py +0 -0
  262. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/image_edit_wan25.py +0 -0
  263. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/image_generation.py +0 -0
  264. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/image_generation_wan25.py +0 -0
  265. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/image_style_repaint.py +0 -0
  266. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/image_to_video.py +0 -0
  267. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/qwen_image_edit.py +0 -0
  268. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/qwen_image_generation.py +0 -0
  269. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/qwen_text_to_speech.py +0 -0
  270. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/speech_to_text.py +0 -0
  271. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/speech_to_video.py +0 -0
  272. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/generations/text_to_video.py +0 -0
  273. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/mcp_wrapper.py +0 -0
  274. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/realtime_clients/__init__.py +0 -0
  275. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/realtime_clients/asr_client.py +0 -0
  276. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/realtime_clients/azure_asr_client.py +0 -0
  277. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/realtime_clients/azure_tts_client.py +0 -0
  278. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/realtime_clients/modelstudio_asr_client.py +0 -0
  279. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/realtime_clients/modelstudio_tts_client.py +0 -0
  280. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/realtime_clients/realtime_tool.py +0 -0
  281. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/realtime_clients/tts_client.py +0 -0
  282. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/searches/__init__.py +0 -0
  283. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/searches/modelstudio_search.py +0 -0
  284. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/searches/modelstudio_search_lite.py +0 -0
  285. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/utils/api_key_util.py +0 -0
  286. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/utils/crypto_utils.py +0 -0
  287. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime/tools/utils/mcp_util.py +0 -0
  288. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime.egg-info/dependency_links.txt +0 -0
  289. {agentscope_runtime-1.0.1 → agentscope_runtime-1.0.3}/src/agentscope_runtime.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentscope-runtime
3
- Version: 1.0.1
3
+ Version: 1.0.3
4
4
  Summary: A production-ready runtime framework for agent applications, providing secure sandboxed execution environments and scalable deployment solutions with multi-framework support.
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
@@ -26,6 +26,8 @@ Requires-Dist: psutil
26
26
  Requires-Dist: dashscope>=1.25.0
27
27
  Requires-Dist: jsonref
28
28
  Requires-Dist: asgiref
29
+ Requires-Dist: click>=8.0.0
30
+ Requires-Dist: rich>=13.0.0
29
31
  Provides-Extra: dev
30
32
  Requires-Dist: pytest>=8.3.5; extra == "dev"
31
33
  Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
@@ -37,9 +39,11 @@ Requires-Dist: fakeredis>=2.31.0; extra == "dev"
37
39
  Requires-Dist: sphinx-autoapi>=3.6.0; extra == "dev"
38
40
  Requires-Dist: pytest-mock>=3.15.1; extra == "dev"
39
41
  Requires-Dist: sphinxcontrib-mermaid>=1.2.3; extra == "dev"
40
- Requires-Dist: langgraph>=0.4.0; extra == "dev"
41
- Requires-Dist: autogen-agentchat>=0.7.0; extra == "dev"
42
42
  Provides-Extra: ext
43
+ Requires-Dist: langchain>=1.1.3; extra == "ext"
44
+ Requires-Dist: langchain_openai>=1.0.1; extra == "ext"
45
+ Requires-Dist: langgraph>=1.0.4; extra == "ext"
46
+ Requires-Dist: autogen-agentchat>=0.7.0; extra == "ext"
43
47
  Requires-Dist: reme-ai>=0.2.0.2; extra == "ext"
44
48
  Requires-Dist: mem0ai>=0.1.117; extra == "ext"
45
49
  Requires-Dist: alibabacloud-agentrun20250910>=2.0.1; extra == "ext"
@@ -47,7 +51,7 @@ Requires-Dist: alibabacloud_tea_openapi>=0.4.0; extra == "ext"
47
51
  Requires-Dist: alibabacloud-fc20230330>=4.4.0; extra == "ext"
48
52
  Requires-Dist: tablestore-for-agent-memory>=1.1.0; extra == "ext"
49
53
  Requires-Dist: langchain-community>=0.3.27; extra == "ext"
50
- Requires-Dist: wuying-agentbay-sdk>=0.5.0; extra == "ext"
54
+ Requires-Dist: wuying-agentbay-sdk<0.13.0,>=0.5.0; extra == "ext"
51
55
  Requires-Dist: alipay-sdk-python; extra == "ext"
52
56
  Requires-Dist: cryptography; extra == "ext"
53
57
  Requires-Dist: gunicorn>=20.0.0; extra == "ext"
@@ -61,6 +65,8 @@ Requires-Dist: setuptools>=40.8.0; extra == "ext"
61
65
  Requires-Dist: wheel; extra == "ext"
62
66
  Requires-Dist: alibabacloud-credentials; extra == "ext"
63
67
  Requires-Dist: PyYAML; extra == "ext"
68
+ Requires-Dist: agno>=2.3.8; extra == "ext"
69
+ Requires-Dist: nacos-sdk-python>=3.0.0; extra == "ext"
64
70
  Dynamic: license-file
65
71
 
66
72
  <div align="center">
@@ -71,6 +77,7 @@ Dynamic: license-file
71
77
  [![PyPI](https://img.shields.io/pypi/v/agentscope-runtime?label=PyPI&color=brightgreen&logo=python)](https://pypi.org/project/agentscope-runtime/)
72
78
  [![Downloads](https://static.pepy.tech/badge/agentscope-runtime)](https://pepy.tech/project/agentscope-runtime)
73
79
  [![Python Version](https://img.shields.io/badge/python-3.10%2B-blue.svg?logo=python&label=Python)](https://python.org)
80
+ [![Last Commit](https://img.shields.io/github/last-commit/agentscope-ai/agentscope-runtime)](https://github.com/agentscope-ai/agentscope-runtime)
74
81
  [![License](https://img.shields.io/badge/license-Apache%202.0-red.svg?logo=apache&label=License)](LICENSE)
75
82
  [![Code Style](https://img.shields.io/badge/code%20style-black-black.svg?logo=python&label=CodeStyle)](https://github.com/psf/black)
76
83
  [![GitHub Stars](https://img.shields.io/github/stars/agentscope-ai/agentscope-runtime?style=flat&logo=github&color=yellow&label=Stars)](https://github.com/agentscope-ai/agentscope-runtime/stargazers)
@@ -114,7 +121,15 @@ Dynamic: license-file
114
121
 
115
122
  > [!NOTE]
116
123
  >
117
- > **About Framework-Agnostic**: Currently, AgentScope Runtime supports the **AgentScope** framework. We plan to extend compatibility to more agent development frameworks in the future.
124
+ > **About Framework-Agnostic**: Currently, AgentScope Runtime supports the **AgentScope** framework. We plan to extend compatibility to more agent development frameworks in the future. This table shows the current version’s adapter support for different frameworks. The level of support for each functionality varies across frameworks:
125
+ >
126
+ > | Framework/Feature | Message/Event | Tool | Service |
127
+ > | ------------------------------------------------------------ | ------------- | ---- | ------- |
128
+ > | AgentScope | ✅ | ✅ | ✅ |
129
+ > | [LangGraph](https://runtime.agentscope.io/en/langgraph_guidelines.html) | ✅ | 🚧 | 🚧 |
130
+ > | AutoGen | 🚧 | ✅ | 🚧 |
131
+ > | Microsoft Agent Framework | 🚧 | 🚧 | 🚧 |
132
+ > | [Agno](https://runtime.agentscope.io/en/agno_guidelines.html) | ✅ | ✅ | 🚧 |
118
133
 
119
134
  ---
120
135
 
@@ -124,7 +139,7 @@ Welcome to join our community on
124
139
 
125
140
  | [Discord](https://discord.gg/eYMpfnkG8h) | DingTalk |
126
141
  | ------------------------------------------------------------ | ------------------------------------------------------------ |
127
- | <img src="https://gw.alicdn.com/imgextra/i1/O1CN01hhD1mu1Dd3BWVUvxN_!!6000000000238-2-tps-400-400.png" width="100" height="100"> | <img src="https://img.alicdn.com/imgextra/i1/O1CN01LxzZha1thpIN2cc2E_!!6000000005934-2-tps-497-477.png" width="100" height="100"> |
142
+ | <img src="https://gw.alicdn.com/imgextra/i1/O1CN01hhD1mu1Dd3BWVUvxN_!!6000000000238-2-tps-400-400.png" width="100" height="100"> | <img src="https://img.alicdn.com/imgextra/i4/O1CN014mhqFq1ZlgNuYjxrz_!!6000000003235-2-tps-400-400.png" width="100" height="100"> |
128
143
 
129
144
  ---
130
145
 
@@ -389,6 +404,8 @@ with FilesystemSandbox() as box:
389
404
 
390
405
  Provides a **sandboxed Android emulator environment** that allows executing various mobile operations, such as tapping, swiping, inputting text, and taking screenshots.
391
406
 
407
+ <img src="https://img.alicdn.com/imgextra/i4/O1CN01yPnBC21vOi45fLy7V_!!6000000006163-2-tps-544-865.png" alt="Mobile Sandbox" height="500">
408
+
392
409
  ##### Prerequisites
393
410
 
394
411
  - **Linux Host**:
@@ -410,7 +427,7 @@ with MobileSandbox() as box:
410
427
  # By default, pulls 'agentscope/runtime-sandbox-mobile:latest' from DockerHub
411
428
  print(box.list_tools()) # List all available tools
412
429
  print(box.mobile_get_screen_resolution()) # Get the screen resolution
413
- print(box.mobile_tap(x=500, y=1000)) # Tap at coordinate (500, 1000)
430
+ print(box.mobile_tap([500, 1000])) # Tap at coordinate (500, 1000)
414
431
  print(box.mobile_input_text("Hello from AgentScope!")) # Input text
415
432
  print(box.mobile_key_event(3)) # Sends a HOME key event (KeyCode: 3)
416
433
  screenshot_result = box.mobile_get_screenshot() # Get the current screenshot
@@ -636,7 +653,7 @@ limitations under the License.
636
653
 
637
654
  ## Contributors ✨
638
655
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
639
- [![All Contributors](https://img.shields.io/badge/all_contributors-25-orange.svg?style=flat-square)](#contributors-)
656
+ [![All Contributors](https://img.shields.io/badge/all_contributors-29-orange.svg?style=flat-square)](#contributors-)
640
657
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
641
658
 
642
659
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/emoji-key/)):
@@ -678,6 +695,12 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/e
678
695
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/XiuShenAl"><img src="https://avatars.githubusercontent.com/u/242360128?v=4?s=100" width="100px;" alt="XiuShenAl"/><br /><sub><b>XiuShenAl</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=XiuShenAl" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=XiuShenAl" title="Documentation">📖</a></td>
679
696
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/k-farruh"><img src="https://avatars.githubusercontent.com/u/33511681?v=4?s=100" width="100px;" alt="Farruh Kushnazarov"/><br /><sub><b>Farruh Kushnazarov</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=k-farruh" title="Documentation">📖</a></td>
680
697
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/fengxsong"><img src="https://avatars.githubusercontent.com/u/7008971?v=4?s=100" width="100px;" alt="fengxsong"/><br /><sub><b>fengxsong</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3Afengxsong" title="Bug reports">🐛</a></td>
698
+ <td align="center" valign="top" width="14.28%"><a href="https://m4n5ter.github.io"><img src="https://avatars.githubusercontent.com/u/68144809?v=4?s=100" width="100px;" alt="Wang"/><br /><sub><b>Wang</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=M4n5ter" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3AM4n5ter" title="Bug reports">🐛</a></td>
699
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/qiacheng7"><img src="https://avatars.githubusercontent.com/u/223075252?v=4?s=100" width="100px;" alt="qiacheng7"/><br /><sub><b>qiacheng7</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=qiacheng7" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=qiacheng7" title="Documentation">📖</a></td>
700
+ <td align="center" valign="top" width="14.28%"><a href="https://xieyxclack.github.io/"><img src="https://avatars.githubusercontent.com/u/31954383?v=4?s=100" width="100px;" alt="Yuexiang XIE"/><br /><sub><b>Yuexiang XIE</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/pulls?q=is%3Apr+reviewed-by%3Axieyxclack" title="Reviewed Pull Requests">👀</a></td>
701
+ </tr>
702
+ <tr>
703
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/RTsama"><img src="https://avatars.githubusercontent.com/u/100779257?v=4?s=100" width="100px;" alt="RTsama"/><br /><sub><b>RTsama</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3ARTsama" title="Bug reports">🐛</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=RTsama" title="Code">💻</a></td>
681
704
  </tr>
682
705
  </tbody>
683
706
  <tfoot>
@@ -1,68 +1,3 @@
1
- Metadata-Version: 2.4
2
- Name: agentscope-runtime
3
- Version: 1.0.1
4
- Summary: A production-ready runtime framework for agent applications, providing secure sandboxed execution environments and scalable deployment solutions with multi-framework support.
5
- Requires-Python: >=3.10
6
- Description-Content-Type: text/markdown
7
- License-File: LICENSE
8
- Requires-Dist: mcp>=1.13
9
- Requires-Dist: fastapi>=0.104.0
10
- Requires-Dist: uvicorn[standard]>=0.24.0
11
- Requires-Dist: openai
12
- Requires-Dist: pydantic>=2.11.7
13
- Requires-Dist: requests>=2.32.4
14
- Requires-Dist: agentscope>=1.0.9
15
- Requires-Dist: docker>=7.1.0
16
- Requires-Dist: redis>=6.0.0
17
- Requires-Dist: oss2>=2.19.1
18
- Requires-Dist: pydantic-settings>=2.9.1
19
- Requires-Dist: python-dotenv>=1.0.1
20
- Requires-Dist: kubernetes>=33.1.0
21
- Requires-Dist: shortuuid>=1.0.13
22
- Requires-Dist: celery[redis]>=5.3.1
23
- Requires-Dist: a2a-sdk>=0.3.0
24
- Requires-Dist: jinja2
25
- Requires-Dist: psutil
26
- Requires-Dist: dashscope>=1.25.0
27
- Requires-Dist: jsonref
28
- Requires-Dist: asgiref
29
- Provides-Extra: dev
30
- Requires-Dist: pytest>=8.3.5; extra == "dev"
31
- Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
32
- Requires-Dist: pre-commit>=4.2.0; extra == "dev"
33
- Requires-Dist: jupyter-book<2.0.0,>=1.0.4.post1; extra == "dev"
34
- Requires-Dist: furo>=2025.7.19; extra == "dev"
35
- Requires-Dist: pytest-cov>=6.2.1; extra == "dev"
36
- Requires-Dist: fakeredis>=2.31.0; extra == "dev"
37
- Requires-Dist: sphinx-autoapi>=3.6.0; extra == "dev"
38
- Requires-Dist: pytest-mock>=3.15.1; extra == "dev"
39
- Requires-Dist: sphinxcontrib-mermaid>=1.2.3; extra == "dev"
40
- Requires-Dist: langgraph>=0.4.0; extra == "dev"
41
- Requires-Dist: autogen-agentchat>=0.7.0; extra == "dev"
42
- Provides-Extra: ext
43
- Requires-Dist: reme-ai>=0.2.0.2; extra == "ext"
44
- Requires-Dist: mem0ai>=0.1.117; extra == "ext"
45
- Requires-Dist: alibabacloud-agentrun20250910>=2.0.1; extra == "ext"
46
- Requires-Dist: alibabacloud_tea_openapi>=0.4.0; extra == "ext"
47
- Requires-Dist: alibabacloud-fc20230330>=4.4.0; extra == "ext"
48
- Requires-Dist: tablestore-for-agent-memory>=1.1.0; extra == "ext"
49
- Requires-Dist: langchain-community>=0.3.27; extra == "ext"
50
- Requires-Dist: wuying-agentbay-sdk>=0.5.0; extra == "ext"
51
- Requires-Dist: alipay-sdk-python; extra == "ext"
52
- Requires-Dist: cryptography; extra == "ext"
53
- Requires-Dist: gunicorn>=20.0.0; extra == "ext"
54
- Requires-Dist: starlette>=0.37.0; extra == "ext"
55
- Requires-Dist: asgiref>=3.11.0; extra == "ext"
56
- Requires-Dist: azure-cognitiveservices-speech>=1.47.0; extra == "ext"
57
- Requires-Dist: alibabacloud-oss-v2; extra == "ext"
58
- Requires-Dist: alibabacloud-bailian20231229>=2.6.0; extra == "ext"
59
- Requires-Dist: build; extra == "ext"
60
- Requires-Dist: setuptools>=40.8.0; extra == "ext"
61
- Requires-Dist: wheel; extra == "ext"
62
- Requires-Dist: alibabacloud-credentials; extra == "ext"
63
- Requires-Dist: PyYAML; extra == "ext"
64
- Dynamic: license-file
65
-
66
1
  <div align="center">
67
2
 
68
3
  # AgentScope Runtime v1.0
@@ -71,6 +6,7 @@ Dynamic: license-file
71
6
  [![PyPI](https://img.shields.io/pypi/v/agentscope-runtime?label=PyPI&color=brightgreen&logo=python)](https://pypi.org/project/agentscope-runtime/)
72
7
  [![Downloads](https://static.pepy.tech/badge/agentscope-runtime)](https://pepy.tech/project/agentscope-runtime)
73
8
  [![Python Version](https://img.shields.io/badge/python-3.10%2B-blue.svg?logo=python&label=Python)](https://python.org)
9
+ [![Last Commit](https://img.shields.io/github/last-commit/agentscope-ai/agentscope-runtime)](https://github.com/agentscope-ai/agentscope-runtime)
74
10
  [![License](https://img.shields.io/badge/license-Apache%202.0-red.svg?logo=apache&label=License)](LICENSE)
75
11
  [![Code Style](https://img.shields.io/badge/code%20style-black-black.svg?logo=python&label=CodeStyle)](https://github.com/psf/black)
76
12
  [![GitHub Stars](https://img.shields.io/github/stars/agentscope-ai/agentscope-runtime?style=flat&logo=github&color=yellow&label=Stars)](https://github.com/agentscope-ai/agentscope-runtime/stargazers)
@@ -114,7 +50,15 @@ Dynamic: license-file
114
50
 
115
51
  > [!NOTE]
116
52
  >
117
- > **About Framework-Agnostic**: Currently, AgentScope Runtime supports the **AgentScope** framework. We plan to extend compatibility to more agent development frameworks in the future.
53
+ > **About Framework-Agnostic**: Currently, AgentScope Runtime supports the **AgentScope** framework. We plan to extend compatibility to more agent development frameworks in the future. This table shows the current version’s adapter support for different frameworks. The level of support for each functionality varies across frameworks:
54
+ >
55
+ > | Framework/Feature | Message/Event | Tool | Service |
56
+ > | ------------------------------------------------------------ | ------------- | ---- | ------- |
57
+ > | AgentScope | ✅ | ✅ | ✅ |
58
+ > | [LangGraph](https://runtime.agentscope.io/en/langgraph_guidelines.html) | ✅ | 🚧 | 🚧 |
59
+ > | AutoGen | 🚧 | ✅ | 🚧 |
60
+ > | Microsoft Agent Framework | 🚧 | 🚧 | 🚧 |
61
+ > | [Agno](https://runtime.agentscope.io/en/agno_guidelines.html) | ✅ | ✅ | 🚧 |
118
62
 
119
63
  ---
120
64
 
@@ -124,7 +68,7 @@ Welcome to join our community on
124
68
 
125
69
  | [Discord](https://discord.gg/eYMpfnkG8h) | DingTalk |
126
70
  | ------------------------------------------------------------ | ------------------------------------------------------------ |
127
- | <img src="https://gw.alicdn.com/imgextra/i1/O1CN01hhD1mu1Dd3BWVUvxN_!!6000000000238-2-tps-400-400.png" width="100" height="100"> | <img src="https://img.alicdn.com/imgextra/i1/O1CN01LxzZha1thpIN2cc2E_!!6000000005934-2-tps-497-477.png" width="100" height="100"> |
71
+ | <img src="https://gw.alicdn.com/imgextra/i1/O1CN01hhD1mu1Dd3BWVUvxN_!!6000000000238-2-tps-400-400.png" width="100" height="100"> | <img src="https://img.alicdn.com/imgextra/i4/O1CN014mhqFq1ZlgNuYjxrz_!!6000000003235-2-tps-400-400.png" width="100" height="100"> |
128
72
 
129
73
  ---
130
74
 
@@ -389,6 +333,8 @@ with FilesystemSandbox() as box:
389
333
 
390
334
  Provides a **sandboxed Android emulator environment** that allows executing various mobile operations, such as tapping, swiping, inputting text, and taking screenshots.
391
335
 
336
+ <img src="https://img.alicdn.com/imgextra/i4/O1CN01yPnBC21vOi45fLy7V_!!6000000006163-2-tps-544-865.png" alt="Mobile Sandbox" height="500">
337
+
392
338
  ##### Prerequisites
393
339
 
394
340
  - **Linux Host**:
@@ -410,7 +356,7 @@ with MobileSandbox() as box:
410
356
  # By default, pulls 'agentscope/runtime-sandbox-mobile:latest' from DockerHub
411
357
  print(box.list_tools()) # List all available tools
412
358
  print(box.mobile_get_screen_resolution()) # Get the screen resolution
413
- print(box.mobile_tap(x=500, y=1000)) # Tap at coordinate (500, 1000)
359
+ print(box.mobile_tap([500, 1000])) # Tap at coordinate (500, 1000)
414
360
  print(box.mobile_input_text("Hello from AgentScope!")) # Input text
415
361
  print(box.mobile_key_event(3)) # Sends a HOME key event (KeyCode: 3)
416
362
  screenshot_result = box.mobile_get_screenshot() # Get the current screenshot
@@ -636,7 +582,7 @@ limitations under the License.
636
582
 
637
583
  ## Contributors ✨
638
584
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
639
- [![All Contributors](https://img.shields.io/badge/all_contributors-25-orange.svg?style=flat-square)](#contributors-)
585
+ [![All Contributors](https://img.shields.io/badge/all_contributors-29-orange.svg?style=flat-square)](#contributors-)
640
586
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
641
587
 
642
588
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/emoji-key/)):
@@ -678,6 +624,12 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/e
678
624
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/XiuShenAl"><img src="https://avatars.githubusercontent.com/u/242360128?v=4?s=100" width="100px;" alt="XiuShenAl"/><br /><sub><b>XiuShenAl</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=XiuShenAl" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=XiuShenAl" title="Documentation">📖</a></td>
679
625
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/k-farruh"><img src="https://avatars.githubusercontent.com/u/33511681?v=4?s=100" width="100px;" alt="Farruh Kushnazarov"/><br /><sub><b>Farruh Kushnazarov</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=k-farruh" title="Documentation">📖</a></td>
680
626
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/fengxsong"><img src="https://avatars.githubusercontent.com/u/7008971?v=4?s=100" width="100px;" alt="fengxsong"/><br /><sub><b>fengxsong</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3Afengxsong" title="Bug reports">🐛</a></td>
627
+ <td align="center" valign="top" width="14.28%"><a href="https://m4n5ter.github.io"><img src="https://avatars.githubusercontent.com/u/68144809?v=4?s=100" width="100px;" alt="Wang"/><br /><sub><b>Wang</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=M4n5ter" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3AM4n5ter" title="Bug reports">🐛</a></td>
628
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/qiacheng7"><img src="https://avatars.githubusercontent.com/u/223075252?v=4?s=100" width="100px;" alt="qiacheng7"/><br /><sub><b>qiacheng7</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=qiacheng7" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=qiacheng7" title="Documentation">📖</a></td>
629
+ <td align="center" valign="top" width="14.28%"><a href="https://xieyxclack.github.io/"><img src="https://avatars.githubusercontent.com/u/31954383?v=4?s=100" width="100px;" alt="Yuexiang XIE"/><br /><sub><b>Yuexiang XIE</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/pulls?q=is%3Apr+reviewed-by%3Axieyxclack" title="Reviewed Pull Requests">👀</a></td>
630
+ </tr>
631
+ <tr>
632
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/RTsama"><img src="https://avatars.githubusercontent.com/u/100779257?v=4?s=100" width="100px;" alt="RTsama"/><br /><sub><b>RTsama</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3ARTsama" title="Bug reports">🐛</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=RTsama" title="Code">💻</a></td>
681
633
  </tr>
682
634
  </tbody>
683
635
  <tfoot>
@@ -696,4 +648,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/e
696
648
 
697
649
  <!-- ALL-CONTRIBUTORS-LIST:END -->
698
650
 
699
- This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
651
+ This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "agentscope-runtime"
3
- version = "1.0.1"
3
+ version = "1.0.3"
4
4
  description = "A production-ready runtime framework for agent applications, providing secure sandboxed execution environments and scalable deployment solutions with multi-framework support."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -26,6 +26,8 @@ dependencies = [
26
26
  "dashscope>=1.25.0",
27
27
  "jsonref",
28
28
  "asgiref",
29
+ "click>=8.0.0",
30
+ "rich>=13.0.0",
29
31
  ]
30
32
 
31
33
  [tool.setuptools]
@@ -40,6 +42,7 @@ requires = ["setuptools>=42", "wheel"]
40
42
  build-backend = "setuptools.build_meta"
41
43
 
42
44
  [project.scripts]
45
+ agentscope = "agentscope_runtime.cli.cli:main"
43
46
  runtime-sandbox-mcp = "agentscope_runtime.sandbox.mcp_server:main"
44
47
  runtime-sandbox-server = "agentscope_runtime.sandbox.manager.server.app:main"
45
48
  runtime-sandbox-builder = "agentscope_runtime.sandbox.build:main"
@@ -58,11 +61,13 @@ dev = [
58
61
  "sphinx-autoapi>=3.6.0",
59
62
  "pytest-mock>=3.15.1",
60
63
  "sphinxcontrib-mermaid>=1.2.3",
61
- "langgraph>=0.4.0",
62
- "autogen-agentchat>=0.7.0",
63
64
  ]
64
65
 
65
66
  ext = [
67
+ "langchain>=1.1.3",
68
+ "langchain_openai>=1.0.1",
69
+ "langgraph>=1.0.4",
70
+ "autogen-agentchat>=0.7.0",
66
71
  "reme-ai>=0.2.0.2",
67
72
  "mem0ai>=0.1.117",
68
73
  "alibabacloud-agentrun20250910>=2.0.1",
@@ -70,7 +75,7 @@ ext = [
70
75
  "alibabacloud-fc20230330>=4.4.0",
71
76
  "tablestore-for-agent-memory>=1.1.0",
72
77
  "langchain-community>=0.3.27",
73
- "wuying-agentbay-sdk>=0.5.0",
78
+ "wuying-agentbay-sdk>=0.5.0,<0.13.0",
74
79
  "alipay-sdk-python",
75
80
  "cryptography",
76
81
  "gunicorn>=20.0.0",
@@ -84,4 +89,10 @@ ext = [
84
89
  "wheel",
85
90
  "alibabacloud-credentials",
86
91
  "PyYAML",
92
+ "agno>=2.3.8",
93
+ "nacos-sdk-python>=3.0.0",
87
94
  ]
95
+
96
+ [tool.pytest.ini_options]
97
+ asyncio_mode = "auto"
98
+ asyncio_default_fixture_loop_scope = "function"
@@ -374,9 +374,10 @@ def message_to_agentscope_msg(
374
374
 
375
375
  if message.type in (
376
376
  MessageType.PLUGIN_CALL,
377
+ MessageType.MCP_TOOL_CALL,
377
378
  MessageType.FUNCTION_CALL,
378
379
  ):
379
- # convert PLUGIN_CALL, FUNCTION_CALL to ToolUseBlock
380
+ # convert CALL to ToolUseBlock
380
381
  tool_args = None
381
382
  for cnt in reversed(message.content):
382
383
  if hasattr(cnt, "data"):
@@ -398,10 +399,10 @@ def message_to_agentscope_msg(
398
399
  ]
399
400
  elif message.type in (
400
401
  MessageType.PLUGIN_CALL_OUTPUT,
402
+ MessageType.MCP_TOOL_CALL_OUTPUT,
401
403
  MessageType.FUNCTION_CALL_OUTPUT,
402
404
  ):
403
- # convert PLUGIN_CALL_OUTPUT, FUNCTION_CALL_OUTPUT to
404
- # ToolResultBlock
405
+ # convert CALL_OUTPUT to ToolResultBlock
405
406
  out = None
406
407
  raw_output = ""
407
408
  for cnt in reversed(message.content):
@@ -425,6 +426,22 @@ def message_to_agentscope_msg(
425
426
 
426
427
  if isinstance(blk, list):
427
428
  if not all(is_valid_block(item) for item in blk):
429
+ try:
430
+ # Try to convert MCP content list to blocks
431
+ call_tool_result = {
432
+ "content": blk,
433
+ "structuredContent": None,
434
+ "isError": False,
435
+ }
436
+ blk = MCPClientBase._convert_mcp_content_to_as_blocks(
437
+ CallToolResult.model_validate(
438
+ call_tool_result,
439
+ ).content,
440
+ )
441
+ except Exception:
442
+ blk = raw_output
443
+ elif isinstance(blk, dict):
444
+ if not is_valid_block(blk):
428
445
  try:
429
446
  # Try to convert to MCP CallToolResult then to blocks
430
447
  blk = CallToolResult.model_validate(blk)
@@ -433,9 +450,6 @@ def message_to_agentscope_msg(
433
450
  )
434
451
  except Exception:
435
452
  blk = raw_output
436
- elif isinstance(blk, dict):
437
- if not is_valid_block(blk):
438
- blk = raw_output
439
453
  else:
440
454
  blk = raw_output
441
455
 
@@ -459,6 +473,7 @@ def message_to_agentscope_msg(
459
473
  "text": (TextBlock, "text"),
460
474
  "image": (ImageBlock, "image_url"),
461
475
  "audio": (AudioBlock, "data"),
476
+ "data": (TextBlock, "data"),
462
477
  # "video": (VideoBlock, "video_url", True),
463
478
  # TODO: support video
464
479
  }
@@ -533,7 +548,17 @@ def message_to_agentscope_msg(
533
548
  block_cls(type=cnt_type, source=base64_source),
534
549
  )
535
550
  else:
536
- msg_content.append(block_cls(type=cnt_type, text=value))
551
+ # text & data
552
+ if isinstance(value, str):
553
+ msg_content.append(
554
+ TextBlock(type="text", text=value),
555
+ )
556
+ else:
557
+ try:
558
+ json_str = json.dumps(value, ensure_ascii=False)
559
+ except Exception:
560
+ json_str = str(value)
561
+ msg_content.append(TextBlock(text=json_str))
537
562
 
538
563
  result["content"] = msg_content
539
564
  _msg = Msg(**result)