agentscope-runtime 1.0.4__tar.gz → 1.0.4a1__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 (305) hide show
  1. {agentscope_runtime-1.0.4/src/agentscope_runtime.egg-info → agentscope_runtime-1.0.4a1}/PKG-INFO +28 -102
  2. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/README.md +27 -100
  3. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/pyproject.toml +1 -2
  4. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/agentscope/stream.py +7 -1
  5. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/commands/deploy.py +0 -371
  6. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/__init__.py +0 -4
  7. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/constant.py +0 -1
  8. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/__init__.py +0 -12
  9. agentscope_runtime-1.0.4a1/src/agentscope_runtime/engine/deployers/adapter/a2a/__init__.py +57 -0
  10. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_protocol_adapter.py +10 -19
  11. agentscope_runtime-1.0.4a1/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_registry.py +273 -0
  12. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/adapter/a2a/nacos_a2a_registry.py +25 -134
  13. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/agentrun_deployer.py +2 -2
  14. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/runner.py +0 -12
  15. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/tracing/wrapper.py +4 -18
  16. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/__init__.py +6 -14
  17. agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/box/base/__init__.py +4 -0
  18. agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/box/base/base_sandbox.py +51 -0
  19. agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/box/browser/__init__.py +4 -0
  20. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/browser/browser_sandbox.py +2 -198
  21. agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/box/filesystem/__init__.py +4 -0
  22. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/filesystem/filesystem_sandbox.py +2 -99
  23. agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/box/gui/__init__.py +4 -0
  24. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/gui/gui_sandbox.py +1 -117
  25. agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/box/mobile/__init__.py +4 -0
  26. agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/box/mobile/mobile_sandbox.py +290 -0
  27. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/sandbox.py +65 -98
  28. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/shared/routers/generic.py +29 -36
  29. agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/client/__init__.py +5 -0
  30. agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/client/http_client.py +556 -0
  31. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/enums.py +0 -7
  32. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/manager/sandbox_manager.py +4 -264
  33. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/manager/server/app.py +1 -7
  34. agentscope_runtime-1.0.4a1/src/agentscope_runtime/version.py +2 -0
  35. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1/src/agentscope_runtime.egg-info}/PKG-INFO +28 -102
  36. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime.egg-info/SOURCES.txt +0 -9
  37. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime.egg-info/requires.txt +0 -1
  38. agentscope_runtime-1.0.4/src/agentscope_runtime/adapters/ms_agent_framework/message.py +0 -205
  39. agentscope_runtime-1.0.4/src/agentscope_runtime/adapters/ms_agent_framework/stream.py +0 -418
  40. agentscope_runtime-1.0.4/src/agentscope_runtime/adapters/utils.py +0 -6
  41. agentscope_runtime-1.0.4/src/agentscope_runtime/common/container_clients/knative_client.py +0 -466
  42. agentscope_runtime-1.0.4/src/agentscope_runtime/engine/deployers/adapter/a2a/__init__.py +0 -32
  43. agentscope_runtime-1.0.4/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_registry.py +0 -76
  44. agentscope_runtime-1.0.4/src/agentscope_runtime/engine/deployers/fc_deployer.py +0 -1506
  45. agentscope_runtime-1.0.4/src/agentscope_runtime/engine/deployers/knative_deployer.py +0 -290
  46. agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/base/__init__.py +0 -4
  47. agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/base/base_sandbox.py +0 -101
  48. agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/browser/__init__.py +0 -4
  49. agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/filesystem/__init__.py +0 -4
  50. agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/gui/__init__.py +0 -4
  51. agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/mobile/__init__.py +0 -4
  52. agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/mobile/mobile_sandbox.py +0 -437
  53. agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/client/__init__.py +0 -10
  54. agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/client/async_http_client.py +0 -339
  55. agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/client/base.py +0 -74
  56. agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/client/http_client.py +0 -335
  57. agentscope_runtime-1.0.4/src/agentscope_runtime/tools/utils/__init__.py +0 -0
  58. agentscope_runtime-1.0.4/src/agentscope_runtime/version.py +0 -2
  59. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/LICENSE +0 -0
  60. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/setup.cfg +0 -0
  61. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/setup.py +0 -0
  62. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/__init__.py +0 -0
  63. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/__init__.py +0 -0
  64. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/agentscope/__init__.py +0 -0
  65. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/agentscope/long_term_memory/__init__.py +0 -0
  66. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/agentscope/long_term_memory/_long_term_memory_adapter.py +0 -0
  67. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/agentscope/memory/__init__.py +0 -0
  68. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/agentscope/memory/_memory_adapter.py +0 -0
  69. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/agentscope/message.py +0 -0
  70. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/agentscope/tool/__init__.py +0 -0
  71. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/agentscope/tool/sandbox_tool.py +0 -0
  72. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/agentscope/tool/tool.py +0 -0
  73. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/agno/__init__.py +0 -0
  74. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/agno/message.py +0 -0
  75. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/agno/stream.py +0 -0
  76. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/autogen/__init__.py +0 -0
  77. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/autogen/tool/__init__.py +0 -0
  78. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/autogen/tool/tool.py +0 -0
  79. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/langgraph/__init__.py +0 -0
  80. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/langgraph/message.py +0 -0
  81. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/langgraph/stream.py +0 -0
  82. {agentscope_runtime-1.0.4/src/agentscope_runtime/adapters/ms_agent_framework → agentscope_runtime-1.0.4a1/src/agentscope_runtime/adapters/text}/__init__.py +0 -0
  83. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/adapters/text/stream.py +0 -0
  84. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/__init__.py +0 -0
  85. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/cli.py +0 -0
  86. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/commands/__init__.py +0 -0
  87. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/commands/chat.py +0 -0
  88. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/commands/invoke.py +0 -0
  89. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/commands/list_cmd.py +0 -0
  90. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/commands/run.py +0 -0
  91. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/commands/sandbox.py +0 -0
  92. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/commands/status.py +0 -0
  93. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/commands/stop.py +0 -0
  94. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/commands/web.py +0 -0
  95. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/loaders/__init__.py +0 -0
  96. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/loaders/agent_loader.py +0 -0
  97. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/state/__init__.py +0 -0
  98. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/utils/__init__.py +0 -0
  99. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/utils/console.py +0 -0
  100. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/cli/utils/validators.py +0 -0
  101. {agentscope_runtime-1.0.4/src/agentscope_runtime/adapters/text → agentscope_runtime-1.0.4a1/src/agentscope_runtime/common}/__init__.py +0 -0
  102. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/common/collections/__init__.py +0 -0
  103. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/common/collections/base_mapping.py +0 -0
  104. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/common/collections/base_queue.py +0 -0
  105. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/common/collections/base_set.py +0 -0
  106. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/common/collections/in_memory_mapping.py +0 -0
  107. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/common/collections/in_memory_queue.py +0 -0
  108. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/common/collections/in_memory_set.py +0 -0
  109. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/common/collections/redis_mapping.py +0 -0
  110. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/common/collections/redis_queue.py +0 -0
  111. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/common/collections/redis_set.py +0 -0
  112. {agentscope_runtime-1.0.4/src/agentscope_runtime/common → agentscope_runtime-1.0.4a1/src/agentscope_runtime/common/container_clients}/__init__.py +0 -0
  113. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/common/container_clients/agentrun_client.py +0 -0
  114. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/common/container_clients/base_client.py +0 -0
  115. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/common/container_clients/docker_client.py +0 -0
  116. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/common/container_clients/fc_client.py +0 -0
  117. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/common/container_clients/kubernetes_client.py +0 -0
  118. {agentscope_runtime-1.0.4/src/agentscope_runtime/common/container_clients → agentscope_runtime-1.0.4a1/src/agentscope_runtime/common/utils}/__init__.py +0 -0
  119. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/common/utils/lazy_loader.py +0 -0
  120. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/app/__init__.py +0 -0
  121. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/app/agent_app.py +0 -0
  122. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/app/base_app.py +0 -0
  123. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/app/celery_mixin.py +0 -0
  124. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/adapter/__init__.py +0 -0
  125. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_adapter_utils.py +0 -0
  126. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_agent_adapter.py +0 -0
  127. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/adapter/protocol_adapter.py +0 -0
  128. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/adapter/responses/__init__.py +0 -0
  129. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_adapter_utils.py +0 -0
  130. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_agent_adapter.py +0 -0
  131. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_protocol_adapter.py +0 -0
  132. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/base.py +0 -0
  133. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/cli_fc_deploy.py +0 -0
  134. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/kubernetes_deployer.py +0 -0
  135. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/local_deployer.py +0 -0
  136. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/modelstudio_deployer.py +0 -0
  137. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/state/__init__.py +0 -0
  138. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/state/manager.py +0 -0
  139. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/state/schema.py +0 -0
  140. {agentscope_runtime-1.0.4/src/agentscope_runtime/common → agentscope_runtime-1.0.4a1/src/agentscope_runtime/engine/deployers}/utils/__init__.py +0 -0
  141. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/app_runner_utils.py +0 -0
  142. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/build_cache.py +0 -0
  143. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/deployment_modes.py +0 -0
  144. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/detached_app.py +0 -0
  145. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/__init__.py +0 -0
  146. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/docker_image_builder.py +0 -0
  147. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/dockerfile_generator.py +0 -0
  148. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/image_factory.py +0 -0
  149. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/k8s_utils.py +0 -0
  150. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/net_utils.py +0 -0
  151. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/package.py +0 -0
  152. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/service_utils/__init__.py +0 -0
  153. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/service_utils/fastapi_factory.py +0 -0
  154. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/service_utils/fastapi_templates.py +0 -0
  155. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/service_utils/process_manager.py +0 -0
  156. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/templates/app_main.py.j2 +0 -0
  157. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/templates/runner_main.py.j2 +0 -0
  158. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/templates/standalone_main.py.j2 +0 -0
  159. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/deployers/utils/wheel_packager.py +0 -0
  160. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/helpers/agent_api_builder.py +0 -0
  161. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/helpers/runner.py +0 -0
  162. {agentscope_runtime-1.0.4/src/agentscope_runtime/engine/deployers/utils → agentscope_runtime-1.0.4a1/src/agentscope_runtime/engine/misc}/__init__.py +0 -0
  163. {agentscope_runtime-1.0.4/src/agentscope_runtime/engine/misc → agentscope_runtime-1.0.4a1/src/agentscope_runtime/engine/schemas}/__init__.py +0 -0
  164. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/schemas/agent_schemas.py +0 -0
  165. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/schemas/embedding.py +0 -0
  166. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/schemas/exception.py +0 -0
  167. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/schemas/modelstudio_llm.py +0 -0
  168. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/schemas/oai_llm.py +0 -0
  169. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/schemas/realtime.py +0 -0
  170. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/schemas/response_api.py +0 -0
  171. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/schemas/session.py +0 -0
  172. {agentscope_runtime-1.0.4/src/agentscope_runtime/engine/schemas → agentscope_runtime-1.0.4a1/src/agentscope_runtime/engine/services}/__init__.py +0 -0
  173. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/agent_state/__init__.py +0 -0
  174. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/agent_state/redis_state_service.py +0 -0
  175. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/agent_state/state_service.py +0 -0
  176. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/agent_state/state_service_factory.py +0 -0
  177. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/base.py +0 -0
  178. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/memory/__init__.py +0 -0
  179. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/memory/mem0_memory_service.py +0 -0
  180. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/memory/memory_service.py +0 -0
  181. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/memory/memory_service_factory.py +0 -0
  182. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/memory/redis_memory_service.py +0 -0
  183. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/memory/reme_personal_memory_service.py +0 -0
  184. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/memory/reme_task_memory_service.py +0 -0
  185. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/memory/tablestore_memory_service.py +0 -0
  186. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/sandbox/__init__.py +0 -0
  187. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/sandbox/sandbox_service.py +0 -0
  188. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/sandbox/sandbox_service_factory.py +0 -0
  189. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/service_factory.py +0 -0
  190. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/session_history/__init__.py +0 -0
  191. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/session_history/redis_session_history_service.py +0 -0
  192. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/session_history/session_history_service.py +0 -0
  193. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/session_history/session_history_service_factory.py +0 -0
  194. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/session_history/tablestore_session_history_service.py +0 -0
  195. {agentscope_runtime-1.0.4/src/agentscope_runtime/engine/services → agentscope_runtime-1.0.4a1/src/agentscope_runtime/engine/services/utils}/__init__.py +0 -0
  196. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/services/utils/tablestore_service_utils.py +0 -0
  197. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/tracing/__init__.py +0 -0
  198. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/tracing/asyncio_util.py +0 -0
  199. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/tracing/base.py +0 -0
  200. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/tracing/local_logging_handler.py +0 -0
  201. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/tracing/message_util.py +0 -0
  202. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/tracing/tracing_metric.py +0 -0
  203. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/engine/tracing/tracing_util.py +0 -0
  204. {agentscope_runtime-1.0.4/src/agentscope_runtime/engine/services/utils → agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/box}/__init__.py +0 -0
  205. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/agentbay/__init__.py +0 -0
  206. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/agentbay/agentbay_sandbox.py +0 -0
  207. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox → agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/box/base}/box/__init__.py +0 -0
  208. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/base → agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/box/browser}/box/__init__.py +0 -0
  209. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/cloud/__init__.py +0 -0
  210. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/cloud/cloud_sandbox.py +0 -0
  211. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/dummy/__init__.py +0 -0
  212. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/dummy/dummy_sandbox.py +0 -0
  213. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/browser → agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/box/filesystem}/box/__init__.py +0 -0
  214. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/filesystem → agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/box/gui}/box/__init__.py +0 -0
  215. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/gui → agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/box/mobile}/box/__init__.py +0 -0
  216. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/mobile/box → agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/box/shared}/__init__.py +0 -0
  217. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/shared/app.py +0 -0
  218. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/shared/dependencies/__init__.py +0 -0
  219. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/shared/dependencies/deps.py +0 -0
  220. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/shared/routers/__init__.py +0 -0
  221. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/shared/routers/mcp.py +0 -0
  222. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/shared/routers/mcp_utils.py +0 -0
  223. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/shared/routers/runtime_watcher.py +0 -0
  224. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/shared/routers/workspace.py +0 -0
  225. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/training_box/__init__.py +0 -0
  226. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/training_box/base.py +0 -0
  227. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/training_box/env_service.py +0 -0
  228. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/shared → agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/box/training_box/environments}/__init__.py +0 -0
  229. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/training_box/environments/appworld/appworld_env.py +0 -0
  230. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_dataprocess.py +0 -0
  231. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_env.py +0 -0
  232. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/env_handler.py +0 -0
  233. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/training_box/registry.py +0 -0
  234. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/training_box/src/trajectory.py +0 -0
  235. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/box/training_box/training_box.py +0 -0
  236. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/build.py +0 -0
  237. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/client/training_client.py +0 -0
  238. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/constant.py +0 -0
  239. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/custom/__init__.py +0 -0
  240. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/custom/custom_sandbox.py +0 -0
  241. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/custom/example.py +0 -0
  242. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/manager/__init__.py +0 -0
  243. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/training_box/environments → agentscope_runtime-1.0.4a1/src/agentscope_runtime/sandbox/manager/server}/__init__.py +0 -0
  244. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/manager/server/config.py +0 -0
  245. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/manager/server/models.py +0 -0
  246. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/manager/storage/__init__.py +0 -0
  247. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/manager/storage/data_storage.py +0 -0
  248. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/manager/storage/local_storage.py +0 -0
  249. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/manager/storage/oss_storage.py +0 -0
  250. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/mcp_server.py +0 -0
  251. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/model/__init__.py +0 -0
  252. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/model/api.py +0 -0
  253. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/model/container.py +0 -0
  254. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/model/manager_config.py +0 -0
  255. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/registry.py +0 -0
  256. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/sandbox/utils.py +0 -0
  257. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/manager/server → agentscope_runtime-1.0.4a1/src/agentscope_runtime/tools/RAGs}/__init__.py +0 -0
  258. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/RAGs/modelstudio_rag.py +0 -0
  259. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/RAGs/modelstudio_rag_lite.py +0 -0
  260. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/__init__.py +0 -0
  261. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/_constants.py +0 -0
  262. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/alipay/__init__.py +0 -0
  263. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/alipay/base.py +0 -0
  264. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/alipay/payment.py +0 -0
  265. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/alipay/subscribe.py +0 -0
  266. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/base.py +0 -0
  267. {agentscope_runtime-1.0.4/src/agentscope_runtime/tools/RAGs → agentscope_runtime-1.0.4a1/src/agentscope_runtime/tools/cli}/__init__.py +0 -0
  268. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/cli/modelstudio_mcp_server.py +0 -0
  269. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/__init__.py +0 -0
  270. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/async_image_to_video.py +0 -0
  271. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/async_image_to_video_wan25.py +0 -0
  272. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/async_speech_to_video.py +0 -0
  273. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/async_text_to_video.py +0 -0
  274. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/async_text_to_video_wan25.py +0 -0
  275. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/image_edit.py +0 -0
  276. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/image_edit_wan25.py +0 -0
  277. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/image_generation.py +0 -0
  278. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/image_generation_wan25.py +0 -0
  279. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/image_style_repaint.py +0 -0
  280. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/image_to_video.py +0 -0
  281. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/qwen_image_edit.py +0 -0
  282. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/qwen_image_generation.py +0 -0
  283. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/qwen_text_to_speech.py +0 -0
  284. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/speech_to_text.py +0 -0
  285. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/speech_to_video.py +0 -0
  286. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/generations/text_to_video.py +0 -0
  287. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/mcp_wrapper.py +0 -0
  288. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/realtime_clients/__init__.py +0 -0
  289. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/realtime_clients/asr_client.py +0 -0
  290. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/realtime_clients/azure_asr_client.py +0 -0
  291. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/realtime_clients/azure_tts_client.py +0 -0
  292. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/realtime_clients/modelstudio_asr_client.py +0 -0
  293. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/realtime_clients/modelstudio_tts_client.py +0 -0
  294. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/realtime_clients/realtime_tool.py +0 -0
  295. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/realtime_clients/tts_client.py +0 -0
  296. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/searches/__init__.py +0 -0
  297. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/searches/modelstudio_search.py +0 -0
  298. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/searches/modelstudio_search_lite.py +0 -0
  299. {agentscope_runtime-1.0.4/src/agentscope_runtime/tools/cli → agentscope_runtime-1.0.4a1/src/agentscope_runtime/tools/utils}/__init__.py +0 -0
  300. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/utils/api_key_util.py +0 -0
  301. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/utils/crypto_utils.py +0 -0
  302. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime/tools/utils/mcp_util.py +0 -0
  303. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime.egg-info/dependency_links.txt +0 -0
  304. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/src/agentscope_runtime.egg-info/entry_points.txt +0 -0
  305. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.4a1}/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.4
3
+ Version: 1.0.4a1
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
@@ -67,7 +67,6 @@ Requires-Dist: alibabacloud-credentials; extra == "ext"
67
67
  Requires-Dist: PyYAML; extra == "ext"
68
68
  Requires-Dist: agno>=2.3.8; extra == "ext"
69
69
  Requires-Dist: nacos-sdk-python>=3.0.0; extra == "ext"
70
- Requires-Dist: agent-framework>=1.0.0b251120; extra == "ext"
71
70
  Dynamic: license-file
72
71
 
73
72
  <div align="center">
@@ -75,7 +74,6 @@ Dynamic: license-file
75
74
  # AgentScope Runtime v1.0
76
75
 
77
76
  [![GitHub Repo](https://img.shields.io/badge/GitHub-Repo-black.svg?logo=github)](https://github.com/agentscope-ai/agentscope-runtime)
78
- [![WebUI](https://img.shields.io/badge/Try_WebUI-Online-green.svg?logo=googlechrome)](http://webui.runtime.agentscope.io/)
79
77
  [![PyPI](https://img.shields.io/pypi/v/agentscope-runtime?label=PyPI&color=brightgreen&logo=python)](https://pypi.org/project/agentscope-runtime/)
80
78
  [![Downloads](https://static.pepy.tech/badge/agentscope-runtime)](https://pepy.tech/project/agentscope-runtime)
81
79
  [![Python Version](https://img.shields.io/badge/python-3.10%2B-blue.svg?logo=python&label=Python)](https://python.org)
@@ -93,7 +91,6 @@ Dynamic: license-file
93
91
  [![DingTalk](https://img.shields.io/badge/DingTalk-Join_Us-orange.svg)](https://qr.dingtalk.com/action/joingroup?code=v1,k1,OmDlBXpjW+I2vWjKDsjvI9dhcXjGZi3bQiojOq3dlDw=&_dt_no_comment=1&origin=11)
94
92
 
95
93
  [[Cookbook]](https://runtime.agentscope.io/)
96
- [[Try WebUI]](http://webui.runtime.agentscope.io/)
97
94
  [[中文README]](README_zh.md)
98
95
  [[Samples]](https://github.com/agentscope-ai/agentscope-samples)
99
96
 
@@ -109,7 +106,6 @@ Dynamic: license-file
109
106
 
110
107
  ## 🆕 NEWS
111
108
 
112
- * **[2026-01]** Added **asynchronous sandbox** implementations (`BaseSandboxAsync`, `GuiSandboxAsync`, `BrowserSandboxAsync`, `FilesystemSandboxAsync`, `MobileSandboxAsync`) enabling non-blocking, concurrent tool execution in async program. Improved `run_ipython_cell` and `run_shell_command` methods with enhanced **concurrency and parallel execution** capabilities for more efficient sandbox operations.
113
109
  * **[2025-12]** We have released **AgentScope Runtime v1.0**, introducing a unified “Agent as API” white-box development experience, with enhanced multi-agent collaboration, state persistence, and cross-framework integration. This release also streamlines abstractions and modules to ensure consistency between development and production environments. Please refer to the **[CHANGELOG](https://runtime.agentscope.io/en/CHANGELOG.html)** for full update details and migration guide.
114
110
 
115
111
  ---
@@ -129,11 +125,11 @@ Dynamic: license-file
129
125
  >
130
126
  > | Framework/Feature | Message/Event | Tool | Service |
131
127
  > | ------------------------------------------------------------ | ------------- | ---- | ------- |
132
- > | [AgentScope](https://runtime.agentscope.io/en/quickstart.html) | ✅ | ✅ | ✅ |
128
+ > | AgentScope | ✅ | ✅ | ✅ |
133
129
  > | [LangGraph](https://runtime.agentscope.io/en/langgraph_guidelines.html) | ✅ | 🚧 | 🚧 |
134
- > | [Microsoft Agent Framework](https://runtime.agentscope.io/en/ms_agent_framework_guidelines.html) | ✅ | ✅ | 🚧 |
135
- > | [Agno](https://runtime.agentscope.io/en/agno_guidelines.html) | ✅ | ✅ | 🚧 |
136
130
  > | AutoGen | 🚧 | ✅ | 🚧 |
131
+ > | Microsoft Agent Framework | 🚧 | 🚧 | 🚧 |
132
+ > | [Agno](https://runtime.agentscope.io/en/agno_guidelines.html) | ✅ | ✅ | 🚧 |
137
133
 
138
134
  ---
139
135
 
@@ -333,29 +329,15 @@ These examples demonstrate how to create sandboxed environments and execute tool
333
329
 
334
330
  > [!NOTE]
335
331
  >
336
- > If you want to run the sandbox locally, the current version requires Docker or Kubernetes to be installed and running. In the future, we will offer more public cloud deployment options, as well as other virtualization technologies. Please refer to [this tutorial](https://runtime.agentscope.io/en/sandbox.html) for more details.
332
+ > Current version requires Docker or Kubernetes to be installed and running on your system. Please refer to [this tutorial](https://runtime.agentscope.io/en/sandbox.html) for more details.
337
333
  >
338
334
  > If you plan to use the sandbox on a large scale in production, we recommend deploying it directly in Alibaba Cloud for managed hosting: [One-click deploy sandbox on Alibaba Cloud](https://computenest.console.aliyun.com/service/instance/create/default?ServiceName=AgentScope%20Runtime%20%E6%B2%99%E7%AE%B1%E7%8E%AF%E5%A2%83)
339
335
 
340
- > [!TIP]
341
- > AgentScope Runtime provides **both synchronous** and **asynchronous** versions for each sandbox type
342
-
343
- | Synchronous Class | Asynchronous Class |
344
- | ------------------- | ------------------------ |
345
- | `BaseSandbox` | `BaseSandboxAsync` |
346
- | `GuiSandbox` | `GuiSandboxAsync` |
347
- | `FilesystemSandbox` | `FilesystemSandboxAsync` |
348
- | `BrowserSandbox` | `BrowserSandboxAsync` |
349
- | `MobileSandbox` | `MobileSandboxAsync` |
350
- | `TrainingSandbox` | - |
351
- | `AgentbaySandbox` | - |
352
-
353
336
  #### Base Sandbox
354
337
 
355
338
  Use for running **Python code** or **shell commands** in an isolated environment.
356
339
 
357
340
  ```python
358
- # --- Synchronous version ---
359
341
  from agentscope_runtime.sandbox import BaseSandbox
360
342
 
361
343
  with BaseSandbox() as box:
@@ -364,15 +346,6 @@ with BaseSandbox() as box:
364
346
  print(box.run_ipython_cell(code="print('hi')")) # Run Python code
365
347
  print(box.run_shell_command(command="echo hello")) # Run shell command
366
348
  input("Press Enter to continue...")
367
-
368
- # --- Asynchronous version ---
369
- from agentscope_runtime.sandbox import BaseSandboxAsync
370
-
371
- async with BaseSandboxAsync() as box:
372
- # Default image is `agentscope/runtime-sandbox-base:latest`
373
- print(await box.list_tools()) # List all available tools
374
- print(await box.run_ipython_cell(code="print('hi')")) # Run Python code
375
- print(await box.run_shell_command(command="echo hello")) # Run shell command
376
349
  ```
377
350
 
378
351
  #### GUI Sandbox
@@ -382,26 +355,14 @@ Provides a **virtual desktop** environment for mouse, keyboard, and screen opera
382
355
  <img src="https://img.alicdn.com/imgextra/i2/O1CN01df5SaM1xKFQP4KGBW_!!6000000006424-2-tps-2958-1802.png" alt="GUI Sandbox" width="800" height="500">
383
356
 
384
357
  ```python
385
- # --- Synchronous version ---
386
358
  from agentscope_runtime.sandbox import GuiSandbox
387
359
 
388
360
  with GuiSandbox() as box:
389
361
  # By default, pulls `agentscope/runtime-sandbox-gui:latest` from DockerHub
390
- print(box.list_tools()) # List all available tools
362
+ print(box.list_tools()) # List all available tools
391
363
  print(box.desktop_url) # Web desktop access URL
392
364
  print(box.computer_use(action="get_cursor_position")) # Get mouse cursor position
393
- print(box.computer_use(action="get_screenshot")) # Capture screenshot
394
- input("Press Enter to continue...")
395
-
396
- # --- Asynchronous version ---
397
- from agentscope_runtime.sandbox import GuiSandboxAsync
398
-
399
- async with GuiSandboxAsync() as box:
400
- # Default image is `agentscope/runtime-sandbox-gui:latest`
401
- print(await box.list_tools()) # List all available tools
402
- print(box.desktop_url) # Web desktop access URL
403
- print(await box.computer_use(action="get_cursor_position")) # Get mouse cursor position
404
- print(await box.computer_use(action="get_screenshot")) # Capture screenshot
365
+ print(box.computer_use(action="get_screenshot")) # Capture screenshot
405
366
  input("Press Enter to continue...")
406
367
  ```
407
368
 
@@ -412,25 +373,14 @@ A GUI-based sandbox with **browser operations** inside an isolated sandbox.
412
373
  <img src="https://img.alicdn.com/imgextra/i4/O1CN01OIq1dD1gAJMcm0RFR_!!6000000004101-2-tps-2734-1684.png" alt="GUI Sandbox" width="800" height="500">
413
374
 
414
375
  ```python
415
- # --- Synchronous version ---
416
376
  from agentscope_runtime.sandbox import BrowserSandbox
417
377
 
418
378
  with BrowserSandbox() as box:
419
379
  # By default, pulls `agentscope/runtime-sandbox-browser:latest` from DockerHub
420
- print(box.list_tools()) # List all available tools
380
+ print(box.list_tools()) # List all available tools
421
381
  print(box.desktop_url) # Web desktop access URL
422
382
  box.browser_navigate("https://www.google.com/") # Open a webpage
423
383
  input("Press Enter to continue...")
424
-
425
- # --- Asynchronous version ---
426
- from agentscope_runtime.sandbox import BrowserSandboxAsync
427
-
428
- async with BrowserSandboxAsync() as box:
429
- # Default image is `agentscope/runtime-sandbox-browser:latest`
430
- print(await box.list_tools()) # List all available tools
431
- print(box.desktop_url) # Web desktop access URL
432
- await box.browser_navigate("https://www.google.com/") # Open a webpage
433
- input("Press Enter to continue...")
434
384
  ```
435
385
 
436
386
  #### Filesystem Sandbox
@@ -440,24 +390,13 @@ A GUI-based sandbox with **file system operations** such as creating, reading, a
440
390
  <img src="https://img.alicdn.com/imgextra/i3/O1CN01VocM961vK85gWbJIy_!!6000000006153-2-tps-2730-1686.png" alt="GUI Sandbox" width="800" height="500">
441
391
 
442
392
  ```python
443
- # --- Synchronous version ---
444
- from agentscope_runtime.sandbox import BrowserSandbox
445
-
446
- with BrowserSandbox() as box:
447
- # By default, pulls `agentscope/runtime-sandbox-browser:latest` from DockerHub
448
- print(box.list_tools()) # List all available tools
449
- print(box.desktop_url) # Web desktop access URL
450
- box.browser_navigate("https://www.google.com/") # Open a webpage
451
- input("Press Enter to continue...")
393
+ from agentscope_runtime.sandbox import FilesystemSandbox
452
394
 
453
- # --- Asynchronous version ---
454
- from agentscope_runtime.sandbox import BrowserSandboxAsync
455
-
456
- async with BrowserSandboxAsync() as box:
457
- # Default image is `agentscope/runtime-sandbox-browser:latest`
458
- print(await box.list_tools()) # List all available tools
395
+ with FilesystemSandbox() as box:
396
+ # By default, pulls `agentscope/runtime-sandbox-filesystem:latest` from DockerHub
397
+ print(box.list_tools()) # List all available tools
459
398
  print(box.desktop_url) # Web desktop access URL
460
- await box.browser_navigate("https://www.google.com/") # Open a webpage
399
+ box.create_directory("test") # Create a directory
461
400
  input("Press Enter to continue...")
462
401
  ```
463
402
 
@@ -482,32 +421,16 @@ Provides a **sandboxed Android emulator environment** that allows executing vari
482
421
  - **Architecture Compatibility**:
483
422
  When running on an ARM64/aarch64 architecture (e.g., Apple M-series chips), you may encounter compatibility or performance issues. It is recommended to run on an x86_64 host.
484
423
  ```python
485
- # --- Synchronous version ---
486
424
  from agentscope_runtime.sandbox import MobileSandbox
487
425
 
488
426
  with MobileSandbox() as box:
489
427
  # By default, pulls 'agentscope/runtime-sandbox-mobile:latest' from DockerHub
490
- print(box.list_tools()) # List all available tools
491
- print(box.mobile_get_screen_resolution()) # Get the screen resolution
492
- print(box.mobile_tap([500, 1000])) # Tap at coordinate (500, 1000)
493
- print(box.mobile_input_text("Hello from AgentScope!")) # Input text
494
- print(box.mobile_key_event(3)) # HOME key event
495
- screenshot_result = box.mobile_get_screenshot() # Get screenshot
496
- print(screenshot_result)
497
- input("Press Enter to continue...")
498
-
499
- # --- Asynchronous version ---
500
- from agentscope_runtime.sandbox import MobileSandboxAsync
501
-
502
- async with MobileSandboxAsync() as box:
503
- # Default image is 'agentscope/runtime-sandbox-mobile:latest'
504
- print(await box.list_tools()) # List all available tools
505
- print(await box.mobile_get_screen_resolution()) # Get the screen resolution
506
- print(await box.mobile_tap([500, 1000])) # Tap at coordinate (500, 1000)
507
- print(await box.mobile_input_text("Hello from AgentScope!")) # Input text
508
- print(await box.mobile_key_event(3)) # HOME key event
509
- screenshot_result = await box.mobile_get_screenshot() # Get screenshot
510
- print(screenshot_result)
428
+ print(box.list_tools()) # List all available tools
429
+ print(box.mobile_get_screen_resolution()) # Get the screen resolution
430
+ print(box.mobile_tap([500, 1000])) # Tap at coordinate (500, 1000)
431
+ print(box.mobile_input_text("Hello from AgentScope!")) # Input text
432
+ print(box.mobile_key_event(3)) # Sends a HOME key event (KeyCode: 3)
433
+ screenshot_result = box.mobile_get_screenshot() # Get the current screenshot
511
434
  input("Press Enter to continue...")
512
435
  ```
513
436
 
@@ -578,11 +501,15 @@ Example:
578
501
  agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-base:preview
579
502
  ```
580
503
 
504
+ ---
505
+
581
506
  #### Serverless Sandbox Deployment
582
507
 
583
- AgentScope Runtime also supports serverless deployment, which is suitable for running sandboxes in a serverless environment, e.g. [Alibaba Cloud Function Compute (FC)](https://help.aliyun.com/zh/functioncompute/fc/).
508
+ AgentScope Runtime also supports serverless deployment, which is suitable for running sandboxes in a serverless environment,
509
+ [Alibaba Cloud Function Compute (FC)](https://help.aliyun.com/zh/functioncompute/fc/) or [Alibaba Cloud AgentRun](https://docs.agent.run/).
584
510
 
585
- First, please refer to the [documentation](https://runtime.agentscope.io/en/sandbox/advanced.html#optional-function-compute-fc-settings) to configure the serverless environment variables. Make `CONTAINER_DEPLOYMENT` to `fc` to enable serverless deployment.
511
+ First, please refer to the [documentation](https://runtime.agentscope.io/en/sandbox/advanced.html#optional-function-compute-fc-settings) to configure the serverless environment variables.
512
+ Make `CONTAINER_DEPLOYMENT` to `fc` or `agentrun` to enable serverless deployment.
586
513
 
587
514
  Then, start a sandbox server, use the `--config` option to specify a serverless environment setup:
588
515
 
@@ -643,7 +570,8 @@ print(response)
643
570
  ```
644
571
 
645
572
  Besides, `DeployManager` also supports serverless deployments, such as deploying your agent app
646
- to [ModelStudio](https://bailian.console.aliyun.com/?admin=1&tab=doc#/doc/?type=app&url=2983030).
573
+ to [ModelStudio](https://bailian.console.aliyun.com/?admin=1&tab=doc#/doc/?type=app&url=2983030)
574
+ or [AgentRun](https://docs.agent.run/).
647
575
 
648
576
  ```python
649
577
  from agentscope_runtime.engine.deployers import ModelStudioDeployManager
@@ -725,7 +653,7 @@ limitations under the License.
725
653
 
726
654
  ## Contributors ✨
727
655
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
728
- [![All Contributors](https://img.shields.io/badge/all_contributors-31-orange.svg?style=flat-square)](#contributors-)
656
+ [![All Contributors](https://img.shields.io/badge/all_contributors-29-orange.svg?style=flat-square)](#contributors-)
729
657
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
730
658
 
731
659
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/emoji-key/)):
@@ -773,8 +701,6 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/e
773
701
  </tr>
774
702
  <tr>
775
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>
776
- <td align="center" valign="top" width="14.28%"><a href="https://allenli178.top"><img src="https://avatars.githubusercontent.com/u/53218750?v=4?s=100" width="100px;" alt="YuYan"/><br /><sub><b>YuYan</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=allenli178" title="Documentation">📖</a></td>
777
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/rlp2006"><img src="https://avatars.githubusercontent.com/u/212365247?v=4?s=100" width="100px;" alt="Li Peng (Yuan Yi)"/><br /><sub><b>Li Peng (Yuan Yi)</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=rlp2006" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=rlp2006" title="Documentation">📖</a> <a href="#example-rlp2006" title="Examples">💡</a></td>
778
704
  </tr>
779
705
  </tbody>
780
706
  <tfoot>
@@ -3,7 +3,6 @@
3
3
  # AgentScope Runtime v1.0
4
4
 
5
5
  [![GitHub Repo](https://img.shields.io/badge/GitHub-Repo-black.svg?logo=github)](https://github.com/agentscope-ai/agentscope-runtime)
6
- [![WebUI](https://img.shields.io/badge/Try_WebUI-Online-green.svg?logo=googlechrome)](http://webui.runtime.agentscope.io/)
7
6
  [![PyPI](https://img.shields.io/pypi/v/agentscope-runtime?label=PyPI&color=brightgreen&logo=python)](https://pypi.org/project/agentscope-runtime/)
8
7
  [![Downloads](https://static.pepy.tech/badge/agentscope-runtime)](https://pepy.tech/project/agentscope-runtime)
9
8
  [![Python Version](https://img.shields.io/badge/python-3.10%2B-blue.svg?logo=python&label=Python)](https://python.org)
@@ -21,7 +20,6 @@
21
20
  [![DingTalk](https://img.shields.io/badge/DingTalk-Join_Us-orange.svg)](https://qr.dingtalk.com/action/joingroup?code=v1,k1,OmDlBXpjW+I2vWjKDsjvI9dhcXjGZi3bQiojOq3dlDw=&_dt_no_comment=1&origin=11)
22
21
 
23
22
  [[Cookbook]](https://runtime.agentscope.io/)
24
- [[Try WebUI]](http://webui.runtime.agentscope.io/)
25
23
  [[中文README]](README_zh.md)
26
24
  [[Samples]](https://github.com/agentscope-ai/agentscope-samples)
27
25
 
@@ -37,7 +35,6 @@
37
35
 
38
36
  ## 🆕 NEWS
39
37
 
40
- * **[2026-01]** Added **asynchronous sandbox** implementations (`BaseSandboxAsync`, `GuiSandboxAsync`, `BrowserSandboxAsync`, `FilesystemSandboxAsync`, `MobileSandboxAsync`) enabling non-blocking, concurrent tool execution in async program. Improved `run_ipython_cell` and `run_shell_command` methods with enhanced **concurrency and parallel execution** capabilities for more efficient sandbox operations.
41
38
  * **[2025-12]** We have released **AgentScope Runtime v1.0**, introducing a unified “Agent as API” white-box development experience, with enhanced multi-agent collaboration, state persistence, and cross-framework integration. This release also streamlines abstractions and modules to ensure consistency between development and production environments. Please refer to the **[CHANGELOG](https://runtime.agentscope.io/en/CHANGELOG.html)** for full update details and migration guide.
42
39
 
43
40
  ---
@@ -57,11 +54,11 @@
57
54
  >
58
55
  > | Framework/Feature | Message/Event | Tool | Service |
59
56
  > | ------------------------------------------------------------ | ------------- | ---- | ------- |
60
- > | [AgentScope](https://runtime.agentscope.io/en/quickstart.html) | ✅ | ✅ | ✅ |
57
+ > | AgentScope | ✅ | ✅ | ✅ |
61
58
  > | [LangGraph](https://runtime.agentscope.io/en/langgraph_guidelines.html) | ✅ | 🚧 | 🚧 |
62
- > | [Microsoft Agent Framework](https://runtime.agentscope.io/en/ms_agent_framework_guidelines.html) | ✅ | ✅ | 🚧 |
63
- > | [Agno](https://runtime.agentscope.io/en/agno_guidelines.html) | ✅ | ✅ | 🚧 |
64
59
  > | AutoGen | 🚧 | ✅ | 🚧 |
60
+ > | Microsoft Agent Framework | 🚧 | 🚧 | 🚧 |
61
+ > | [Agno](https://runtime.agentscope.io/en/agno_guidelines.html) | ✅ | ✅ | 🚧 |
65
62
 
66
63
  ---
67
64
 
@@ -261,29 +258,15 @@ These examples demonstrate how to create sandboxed environments and execute tool
261
258
 
262
259
  > [!NOTE]
263
260
  >
264
- > If you want to run the sandbox locally, the current version requires Docker or Kubernetes to be installed and running. In the future, we will offer more public cloud deployment options, as well as other virtualization technologies. Please refer to [this tutorial](https://runtime.agentscope.io/en/sandbox.html) for more details.
261
+ > Current version requires Docker or Kubernetes to be installed and running on your system. Please refer to [this tutorial](https://runtime.agentscope.io/en/sandbox.html) for more details.
265
262
  >
266
263
  > If you plan to use the sandbox on a large scale in production, we recommend deploying it directly in Alibaba Cloud for managed hosting: [One-click deploy sandbox on Alibaba Cloud](https://computenest.console.aliyun.com/service/instance/create/default?ServiceName=AgentScope%20Runtime%20%E6%B2%99%E7%AE%B1%E7%8E%AF%E5%A2%83)
267
264
 
268
- > [!TIP]
269
- > AgentScope Runtime provides **both synchronous** and **asynchronous** versions for each sandbox type
270
-
271
- | Synchronous Class | Asynchronous Class |
272
- | ------------------- | ------------------------ |
273
- | `BaseSandbox` | `BaseSandboxAsync` |
274
- | `GuiSandbox` | `GuiSandboxAsync` |
275
- | `FilesystemSandbox` | `FilesystemSandboxAsync` |
276
- | `BrowserSandbox` | `BrowserSandboxAsync` |
277
- | `MobileSandbox` | `MobileSandboxAsync` |
278
- | `TrainingSandbox` | - |
279
- | `AgentbaySandbox` | - |
280
-
281
265
  #### Base Sandbox
282
266
 
283
267
  Use for running **Python code** or **shell commands** in an isolated environment.
284
268
 
285
269
  ```python
286
- # --- Synchronous version ---
287
270
  from agentscope_runtime.sandbox import BaseSandbox
288
271
 
289
272
  with BaseSandbox() as box:
@@ -292,15 +275,6 @@ with BaseSandbox() as box:
292
275
  print(box.run_ipython_cell(code="print('hi')")) # Run Python code
293
276
  print(box.run_shell_command(command="echo hello")) # Run shell command
294
277
  input("Press Enter to continue...")
295
-
296
- # --- Asynchronous version ---
297
- from agentscope_runtime.sandbox import BaseSandboxAsync
298
-
299
- async with BaseSandboxAsync() as box:
300
- # Default image is `agentscope/runtime-sandbox-base:latest`
301
- print(await box.list_tools()) # List all available tools
302
- print(await box.run_ipython_cell(code="print('hi')")) # Run Python code
303
- print(await box.run_shell_command(command="echo hello")) # Run shell command
304
278
  ```
305
279
 
306
280
  #### GUI Sandbox
@@ -310,26 +284,14 @@ Provides a **virtual desktop** environment for mouse, keyboard, and screen opera
310
284
  <img src="https://img.alicdn.com/imgextra/i2/O1CN01df5SaM1xKFQP4KGBW_!!6000000006424-2-tps-2958-1802.png" alt="GUI Sandbox" width="800" height="500">
311
285
 
312
286
  ```python
313
- # --- Synchronous version ---
314
287
  from agentscope_runtime.sandbox import GuiSandbox
315
288
 
316
289
  with GuiSandbox() as box:
317
290
  # By default, pulls `agentscope/runtime-sandbox-gui:latest` from DockerHub
318
- print(box.list_tools()) # List all available tools
291
+ print(box.list_tools()) # List all available tools
319
292
  print(box.desktop_url) # Web desktop access URL
320
293
  print(box.computer_use(action="get_cursor_position")) # Get mouse cursor position
321
- print(box.computer_use(action="get_screenshot")) # Capture screenshot
322
- input("Press Enter to continue...")
323
-
324
- # --- Asynchronous version ---
325
- from agentscope_runtime.sandbox import GuiSandboxAsync
326
-
327
- async with GuiSandboxAsync() as box:
328
- # Default image is `agentscope/runtime-sandbox-gui:latest`
329
- print(await box.list_tools()) # List all available tools
330
- print(box.desktop_url) # Web desktop access URL
331
- print(await box.computer_use(action="get_cursor_position")) # Get mouse cursor position
332
- print(await box.computer_use(action="get_screenshot")) # Capture screenshot
294
+ print(box.computer_use(action="get_screenshot")) # Capture screenshot
333
295
  input("Press Enter to continue...")
334
296
  ```
335
297
 
@@ -340,25 +302,14 @@ A GUI-based sandbox with **browser operations** inside an isolated sandbox.
340
302
  <img src="https://img.alicdn.com/imgextra/i4/O1CN01OIq1dD1gAJMcm0RFR_!!6000000004101-2-tps-2734-1684.png" alt="GUI Sandbox" width="800" height="500">
341
303
 
342
304
  ```python
343
- # --- Synchronous version ---
344
305
  from agentscope_runtime.sandbox import BrowserSandbox
345
306
 
346
307
  with BrowserSandbox() as box:
347
308
  # By default, pulls `agentscope/runtime-sandbox-browser:latest` from DockerHub
348
- print(box.list_tools()) # List all available tools
309
+ print(box.list_tools()) # List all available tools
349
310
  print(box.desktop_url) # Web desktop access URL
350
311
  box.browser_navigate("https://www.google.com/") # Open a webpage
351
312
  input("Press Enter to continue...")
352
-
353
- # --- Asynchronous version ---
354
- from agentscope_runtime.sandbox import BrowserSandboxAsync
355
-
356
- async with BrowserSandboxAsync() as box:
357
- # Default image is `agentscope/runtime-sandbox-browser:latest`
358
- print(await box.list_tools()) # List all available tools
359
- print(box.desktop_url) # Web desktop access URL
360
- await box.browser_navigate("https://www.google.com/") # Open a webpage
361
- input("Press Enter to continue...")
362
313
  ```
363
314
 
364
315
  #### Filesystem Sandbox
@@ -368,24 +319,13 @@ A GUI-based sandbox with **file system operations** such as creating, reading, a
368
319
  <img src="https://img.alicdn.com/imgextra/i3/O1CN01VocM961vK85gWbJIy_!!6000000006153-2-tps-2730-1686.png" alt="GUI Sandbox" width="800" height="500">
369
320
 
370
321
  ```python
371
- # --- Synchronous version ---
372
- from agentscope_runtime.sandbox import BrowserSandbox
373
-
374
- with BrowserSandbox() as box:
375
- # By default, pulls `agentscope/runtime-sandbox-browser:latest` from DockerHub
376
- print(box.list_tools()) # List all available tools
377
- print(box.desktop_url) # Web desktop access URL
378
- box.browser_navigate("https://www.google.com/") # Open a webpage
379
- input("Press Enter to continue...")
322
+ from agentscope_runtime.sandbox import FilesystemSandbox
380
323
 
381
- # --- Asynchronous version ---
382
- from agentscope_runtime.sandbox import BrowserSandboxAsync
383
-
384
- async with BrowserSandboxAsync() as box:
385
- # Default image is `agentscope/runtime-sandbox-browser:latest`
386
- print(await box.list_tools()) # List all available tools
324
+ with FilesystemSandbox() as box:
325
+ # By default, pulls `agentscope/runtime-sandbox-filesystem:latest` from DockerHub
326
+ print(box.list_tools()) # List all available tools
387
327
  print(box.desktop_url) # Web desktop access URL
388
- await box.browser_navigate("https://www.google.com/") # Open a webpage
328
+ box.create_directory("test") # Create a directory
389
329
  input("Press Enter to continue...")
390
330
  ```
391
331
 
@@ -410,32 +350,16 @@ Provides a **sandboxed Android emulator environment** that allows executing vari
410
350
  - **Architecture Compatibility**:
411
351
  When running on an ARM64/aarch64 architecture (e.g., Apple M-series chips), you may encounter compatibility or performance issues. It is recommended to run on an x86_64 host.
412
352
  ```python
413
- # --- Synchronous version ---
414
353
  from agentscope_runtime.sandbox import MobileSandbox
415
354
 
416
355
  with MobileSandbox() as box:
417
356
  # By default, pulls 'agentscope/runtime-sandbox-mobile:latest' from DockerHub
418
- print(box.list_tools()) # List all available tools
419
- print(box.mobile_get_screen_resolution()) # Get the screen resolution
420
- print(box.mobile_tap([500, 1000])) # Tap at coordinate (500, 1000)
421
- print(box.mobile_input_text("Hello from AgentScope!")) # Input text
422
- print(box.mobile_key_event(3)) # HOME key event
423
- screenshot_result = box.mobile_get_screenshot() # Get screenshot
424
- print(screenshot_result)
425
- input("Press Enter to continue...")
426
-
427
- # --- Asynchronous version ---
428
- from agentscope_runtime.sandbox import MobileSandboxAsync
429
-
430
- async with MobileSandboxAsync() as box:
431
- # Default image is 'agentscope/runtime-sandbox-mobile:latest'
432
- print(await box.list_tools()) # List all available tools
433
- print(await box.mobile_get_screen_resolution()) # Get the screen resolution
434
- print(await box.mobile_tap([500, 1000])) # Tap at coordinate (500, 1000)
435
- print(await box.mobile_input_text("Hello from AgentScope!")) # Input text
436
- print(await box.mobile_key_event(3)) # HOME key event
437
- screenshot_result = await box.mobile_get_screenshot() # Get screenshot
438
- print(screenshot_result)
357
+ print(box.list_tools()) # List all available tools
358
+ print(box.mobile_get_screen_resolution()) # Get the screen resolution
359
+ print(box.mobile_tap([500, 1000])) # Tap at coordinate (500, 1000)
360
+ print(box.mobile_input_text("Hello from AgentScope!")) # Input text
361
+ print(box.mobile_key_event(3)) # Sends a HOME key event (KeyCode: 3)
362
+ screenshot_result = box.mobile_get_screenshot() # Get the current screenshot
439
363
  input("Press Enter to continue...")
440
364
  ```
441
365
 
@@ -506,11 +430,15 @@ Example:
506
430
  agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-base:preview
507
431
  ```
508
432
 
433
+ ---
434
+
509
435
  #### Serverless Sandbox Deployment
510
436
 
511
- AgentScope Runtime also supports serverless deployment, which is suitable for running sandboxes in a serverless environment, e.g. [Alibaba Cloud Function Compute (FC)](https://help.aliyun.com/zh/functioncompute/fc/).
437
+ AgentScope Runtime also supports serverless deployment, which is suitable for running sandboxes in a serverless environment,
438
+ [Alibaba Cloud Function Compute (FC)](https://help.aliyun.com/zh/functioncompute/fc/) or [Alibaba Cloud AgentRun](https://docs.agent.run/).
512
439
 
513
- First, please refer to the [documentation](https://runtime.agentscope.io/en/sandbox/advanced.html#optional-function-compute-fc-settings) to configure the serverless environment variables. Make `CONTAINER_DEPLOYMENT` to `fc` to enable serverless deployment.
440
+ First, please refer to the [documentation](https://runtime.agentscope.io/en/sandbox/advanced.html#optional-function-compute-fc-settings) to configure the serverless environment variables.
441
+ Make `CONTAINER_DEPLOYMENT` to `fc` or `agentrun` to enable serverless deployment.
514
442
 
515
443
  Then, start a sandbox server, use the `--config` option to specify a serverless environment setup:
516
444
 
@@ -571,7 +499,8 @@ print(response)
571
499
  ```
572
500
 
573
501
  Besides, `DeployManager` also supports serverless deployments, such as deploying your agent app
574
- to [ModelStudio](https://bailian.console.aliyun.com/?admin=1&tab=doc#/doc/?type=app&url=2983030).
502
+ to [ModelStudio](https://bailian.console.aliyun.com/?admin=1&tab=doc#/doc/?type=app&url=2983030)
503
+ or [AgentRun](https://docs.agent.run/).
575
504
 
576
505
  ```python
577
506
  from agentscope_runtime.engine.deployers import ModelStudioDeployManager
@@ -653,7 +582,7 @@ limitations under the License.
653
582
 
654
583
  ## Contributors ✨
655
584
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
656
- [![All Contributors](https://img.shields.io/badge/all_contributors-31-orange.svg?style=flat-square)](#contributors-)
585
+ [![All Contributors](https://img.shields.io/badge/all_contributors-29-orange.svg?style=flat-square)](#contributors-)
657
586
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
658
587
 
659
588
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/emoji-key/)):
@@ -701,8 +630,6 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/e
701
630
  </tr>
702
631
  <tr>
703
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>
704
- <td align="center" valign="top" width="14.28%"><a href="https://allenli178.top"><img src="https://avatars.githubusercontent.com/u/53218750?v=4?s=100" width="100px;" alt="YuYan"/><br /><sub><b>YuYan</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=allenli178" title="Documentation">📖</a></td>
705
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/rlp2006"><img src="https://avatars.githubusercontent.com/u/212365247?v=4?s=100" width="100px;" alt="Li Peng (Yuan Yi)"/><br /><sub><b>Li Peng (Yuan Yi)</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=rlp2006" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=rlp2006" title="Documentation">📖</a> <a href="#example-rlp2006" title="Examples">💡</a></td>
706
633
  </tr>
707
634
  </tbody>
708
635
  <tfoot>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "agentscope-runtime"
3
- version = "1.0.4"
3
+ version = "1.0.4a1"
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"
@@ -91,7 +91,6 @@ ext = [
91
91
  "PyYAML",
92
92
  "agno>=2.3.8",
93
93
  "nacos-sdk-python>=3.0.0",
94
- "agent-framework>=1.0.0b251120",
95
94
  ]
96
95
 
97
96
  [tool.pytest.ini_options]
@@ -9,7 +9,6 @@ from urllib.parse import urlparse
9
9
  from agentscope import setup_logger
10
10
  from agentscope.message import Msg
11
11
 
12
- from ..utils import _update_obj_attrs
13
12
  from ...engine.schemas.agent_schemas import (
14
13
  Message,
15
14
  Content,
@@ -27,6 +26,13 @@ from ...engine.schemas.agent_schemas import (
27
26
  setup_logger("ERROR")
28
27
 
29
28
 
29
+ def _update_obj_attrs(obj, **attrs):
30
+ for key, value in attrs.items():
31
+ if hasattr(obj, key):
32
+ setattr(obj, key, value)
33
+ return obj
34
+
35
+
30
36
  async def adapt_agentscope_message_stream(
31
37
  source_stream: AsyncIterator[Tuple[Msg, bool]],
32
38
  ) -> AsyncIterator[Union[Message, Content]]: