agentscope-runtime 1.0.4__tar.gz → 1.0.5__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 (312) hide show
  1. {agentscope_runtime-1.0.4/src/agentscope_runtime.egg-info → agentscope_runtime-1.0.5}/PKG-INFO +101 -62
  2. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/README.md +95 -60
  3. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/pyproject.toml +6 -2
  4. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/agentscope/stream.py +1 -1
  5. agentscope_runtime-1.0.5/src/agentscope_runtime/adapters/langgraph/stream.py +255 -0
  6. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/commands/deploy.py +465 -1
  7. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/commands/stop.py +16 -0
  8. agentscope_runtime-1.0.5/src/agentscope_runtime/common/container_clients/__init__.py +52 -0
  9. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/container_clients/agentrun_client.py +6 -4
  10. agentscope_runtime-1.0.5/src/agentscope_runtime/common/container_clients/boxlite_client.py +442 -0
  11. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/container_clients/docker_client.py +0 -20
  12. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/container_clients/fc_client.py +6 -4
  13. agentscope_runtime-1.0.5/src/agentscope_runtime/common/container_clients/gvisor_client.py +38 -0
  14. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/container_clients/knative_client.py +1 -0
  15. agentscope_runtime-1.0.5/src/agentscope_runtime/common/utils/deprecation.py +164 -0
  16. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/app/agent_app.py +16 -4
  17. agentscope_runtime-1.0.5/src/agentscope_runtime/engine/deployers/__init__.py +48 -0
  18. agentscope_runtime-1.0.5/src/agentscope_runtime/engine/deployers/adapter/__init__.py +10 -0
  19. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_protocol_adapter.py +9 -8
  20. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/adapter/a2a/nacos_a2a_registry.py +19 -1
  21. agentscope_runtime-1.0.5/src/agentscope_runtime/engine/deployers/adapter/agui/__init__.py +8 -0
  22. agentscope_runtime-1.0.5/src/agentscope_runtime/engine/deployers/adapter/agui/agui_adapter_utils.py +652 -0
  23. agentscope_runtime-1.0.5/src/agentscope_runtime/engine/deployers/adapter/agui/agui_protocol_adapter.py +225 -0
  24. agentscope_runtime-1.0.5/src/agentscope_runtime/engine/deployers/pai_deployer.py +2335 -0
  25. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/net_utils.py +37 -0
  26. agentscope_runtime-1.0.5/src/agentscope_runtime/engine/deployers/utils/oss_utils.py +38 -0
  27. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/package.py +46 -42
  28. agentscope_runtime-1.0.5/src/agentscope_runtime/engine/helpers/agent_api_client.py +372 -0
  29. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/runner.py +1 -0
  30. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/schemas/agent_schemas.py +9 -3
  31. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/agent_state/__init__.py +7 -0
  32. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/memory/__init__.py +7 -0
  33. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/memory/redis_memory_service.py +15 -16
  34. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/session_history/__init__.py +7 -0
  35. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/tracing/local_logging_handler.py +2 -3
  36. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/sandbox.py +4 -0
  37. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/manager/sandbox_manager.py +11 -25
  38. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/manager/server/config.py +3 -1
  39. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/model/manager_config.py +11 -9
  40. agentscope_runtime-1.0.5/src/agentscope_runtime/tools/modelstudio_memory/__init__.py +106 -0
  41. agentscope_runtime-1.0.5/src/agentscope_runtime/tools/modelstudio_memory/base.py +220 -0
  42. agentscope_runtime-1.0.5/src/agentscope_runtime/tools/modelstudio_memory/config.py +86 -0
  43. agentscope_runtime-1.0.5/src/agentscope_runtime/tools/modelstudio_memory/core.py +594 -0
  44. agentscope_runtime-1.0.5/src/agentscope_runtime/tools/modelstudio_memory/exceptions.py +60 -0
  45. agentscope_runtime-1.0.5/src/agentscope_runtime/tools/modelstudio_memory/schemas.py +253 -0
  46. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/version.py +1 -1
  47. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5/src/agentscope_runtime.egg-info}/PKG-INFO +101 -62
  48. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime.egg-info/SOURCES.txt +15 -0
  49. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime.egg-info/requires.txt +5 -1
  50. agentscope_runtime-1.0.4/src/agentscope_runtime/adapters/langgraph/stream.py +0 -205
  51. agentscope_runtime-1.0.4/src/agentscope_runtime/engine/deployers/__init__.py +0 -37
  52. agentscope_runtime-1.0.4/src/agentscope_runtime/engine/deployers/adapter/__init__.py +0 -2
  53. agentscope_runtime-1.0.4/src/agentscope_runtime/tools/utils/__init__.py +0 -0
  54. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/LICENSE +0 -0
  55. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/setup.cfg +0 -0
  56. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/setup.py +0 -0
  57. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/__init__.py +0 -0
  58. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/__init__.py +0 -0
  59. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/agentscope/__init__.py +0 -0
  60. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/agentscope/long_term_memory/__init__.py +0 -0
  61. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/agentscope/long_term_memory/_long_term_memory_adapter.py +0 -0
  62. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/agentscope/memory/__init__.py +0 -0
  63. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/agentscope/memory/_memory_adapter.py +0 -0
  64. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/agentscope/message.py +0 -0
  65. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/agentscope/tool/__init__.py +0 -0
  66. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/agentscope/tool/sandbox_tool.py +0 -0
  67. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/agentscope/tool/tool.py +0 -0
  68. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/agno/__init__.py +0 -0
  69. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/agno/message.py +0 -0
  70. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/agno/stream.py +0 -0
  71. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/autogen/__init__.py +0 -0
  72. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/autogen/tool/__init__.py +0 -0
  73. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/autogen/tool/tool.py +0 -0
  74. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/langgraph/__init__.py +0 -0
  75. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/langgraph/message.py +0 -0
  76. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/ms_agent_framework/__init__.py +0 -0
  77. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/ms_agent_framework/message.py +0 -0
  78. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/ms_agent_framework/stream.py +0 -0
  79. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/text/__init__.py +0 -0
  80. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/text/stream.py +0 -0
  81. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/adapters/utils.py +0 -0
  82. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/__init__.py +0 -0
  83. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/cli.py +0 -0
  84. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/commands/__init__.py +0 -0
  85. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/commands/chat.py +0 -0
  86. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/commands/invoke.py +0 -0
  87. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/commands/list_cmd.py +0 -0
  88. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/commands/run.py +0 -0
  89. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/commands/sandbox.py +0 -0
  90. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/commands/status.py +0 -0
  91. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/commands/web.py +0 -0
  92. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/loaders/__init__.py +0 -0
  93. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/loaders/agent_loader.py +0 -0
  94. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/state/__init__.py +0 -0
  95. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/utils/__init__.py +0 -0
  96. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/utils/console.py +0 -0
  97. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/cli/utils/validators.py +0 -0
  98. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/__init__.py +0 -0
  99. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/collections/__init__.py +0 -0
  100. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/collections/base_mapping.py +0 -0
  101. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/collections/base_queue.py +0 -0
  102. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/collections/base_set.py +0 -0
  103. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/collections/in_memory_mapping.py +0 -0
  104. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/collections/in_memory_queue.py +0 -0
  105. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/collections/in_memory_set.py +0 -0
  106. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/collections/redis_mapping.py +0 -0
  107. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/collections/redis_queue.py +0 -0
  108. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/collections/redis_set.py +0 -0
  109. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/container_clients/base_client.py +0 -0
  110. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/container_clients/kubernetes_client.py +0 -0
  111. {agentscope_runtime-1.0.4/src/agentscope_runtime/common/container_clients → agentscope_runtime-1.0.5/src/agentscope_runtime/common/utils}/__init__.py +0 -0
  112. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/common/utils/lazy_loader.py +0 -0
  113. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/__init__.py +0 -0
  114. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/app/__init__.py +0 -0
  115. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/app/base_app.py +0 -0
  116. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/app/celery_mixin.py +0 -0
  117. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/constant.py +0 -0
  118. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/adapter/a2a/__init__.py +0 -0
  119. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_adapter_utils.py +0 -0
  120. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_agent_adapter.py +0 -0
  121. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_registry.py +0 -0
  122. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/adapter/protocol_adapter.py +0 -0
  123. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/adapter/responses/__init__.py +0 -0
  124. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_adapter_utils.py +0 -0
  125. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_agent_adapter.py +0 -0
  126. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_protocol_adapter.py +0 -0
  127. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/agentrun_deployer.py +0 -0
  128. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/base.py +0 -0
  129. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/cli_fc_deploy.py +0 -0
  130. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/fc_deployer.py +0 -0
  131. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/knative_deployer.py +0 -0
  132. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/kubernetes_deployer.py +0 -0
  133. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/local_deployer.py +0 -0
  134. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/modelstudio_deployer.py +0 -0
  135. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/state/__init__.py +0 -0
  136. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/state/manager.py +0 -0
  137. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/state/schema.py +0 -0
  138. {agentscope_runtime-1.0.4/src/agentscope_runtime/common → agentscope_runtime-1.0.5/src/agentscope_runtime/engine/deployers}/utils/__init__.py +0 -0
  139. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/app_runner_utils.py +0 -0
  140. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/build_cache.py +0 -0
  141. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/deployment_modes.py +0 -0
  142. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/detached_app.py +0 -0
  143. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/__init__.py +0 -0
  144. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/docker_image_builder.py +0 -0
  145. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/dockerfile_generator.py +0 -0
  146. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/image_factory.py +0 -0
  147. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/k8s_utils.py +0 -0
  148. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/service_utils/__init__.py +0 -0
  149. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/service_utils/fastapi_factory.py +0 -0
  150. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/service_utils/fastapi_templates.py +0 -0
  151. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/service_utils/process_manager.py +0 -0
  152. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/templates/app_main.py.j2 +0 -0
  153. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/templates/runner_main.py.j2 +0 -0
  154. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/templates/standalone_main.py.j2 +0 -0
  155. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/deployers/utils/wheel_packager.py +0 -0
  156. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/helpers/agent_api_builder.py +0 -0
  157. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/helpers/runner.py +0 -0
  158. {agentscope_runtime-1.0.4/src/agentscope_runtime/engine/deployers/utils → agentscope_runtime-1.0.5/src/agentscope_runtime/engine/misc}/__init__.py +0 -0
  159. {agentscope_runtime-1.0.4/src/agentscope_runtime/engine/misc → agentscope_runtime-1.0.5/src/agentscope_runtime/engine/schemas}/__init__.py +0 -0
  160. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/schemas/embedding.py +0 -0
  161. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/schemas/exception.py +0 -0
  162. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/schemas/modelstudio_llm.py +0 -0
  163. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/schemas/oai_llm.py +0 -0
  164. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/schemas/realtime.py +0 -0
  165. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/schemas/response_api.py +0 -0
  166. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/schemas/session.py +0 -0
  167. {agentscope_runtime-1.0.4/src/agentscope_runtime/engine/schemas → agentscope_runtime-1.0.5/src/agentscope_runtime/engine/services}/__init__.py +0 -0
  168. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/agent_state/redis_state_service.py +0 -0
  169. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/agent_state/state_service.py +0 -0
  170. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/agent_state/state_service_factory.py +0 -0
  171. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/base.py +0 -0
  172. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/memory/mem0_memory_service.py +0 -0
  173. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/memory/memory_service.py +0 -0
  174. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/memory/memory_service_factory.py +0 -0
  175. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/memory/reme_personal_memory_service.py +0 -0
  176. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/memory/reme_task_memory_service.py +0 -0
  177. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/memory/tablestore_memory_service.py +0 -0
  178. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/sandbox/__init__.py +0 -0
  179. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/sandbox/sandbox_service.py +0 -0
  180. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/sandbox/sandbox_service_factory.py +0 -0
  181. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/service_factory.py +0 -0
  182. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/session_history/redis_session_history_service.py +0 -0
  183. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/session_history/session_history_service.py +0 -0
  184. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/session_history/session_history_service_factory.py +0 -0
  185. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/session_history/tablestore_session_history_service.py +0 -0
  186. {agentscope_runtime-1.0.4/src/agentscope_runtime/engine/services → agentscope_runtime-1.0.5/src/agentscope_runtime/engine/services/utils}/__init__.py +0 -0
  187. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/services/utils/tablestore_service_utils.py +0 -0
  188. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/tracing/__init__.py +0 -0
  189. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/tracing/asyncio_util.py +0 -0
  190. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/tracing/base.py +0 -0
  191. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/tracing/message_util.py +0 -0
  192. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/tracing/tracing_metric.py +0 -0
  193. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/tracing/tracing_util.py +0 -0
  194. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/engine/tracing/wrapper.py +0 -0
  195. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/__init__.py +0 -0
  196. {agentscope_runtime-1.0.4/src/agentscope_runtime/engine/services/utils → agentscope_runtime-1.0.5/src/agentscope_runtime/sandbox/box}/__init__.py +0 -0
  197. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/agentbay/__init__.py +0 -0
  198. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/agentbay/agentbay_sandbox.py +0 -0
  199. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/base/__init__.py +0 -0
  200. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/base/base_sandbox.py +0 -0
  201. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox → agentscope_runtime-1.0.5/src/agentscope_runtime/sandbox/box/base}/box/__init__.py +0 -0
  202. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/browser/__init__.py +0 -0
  203. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/base → agentscope_runtime-1.0.5/src/agentscope_runtime/sandbox/box/browser}/box/__init__.py +0 -0
  204. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/browser/browser_sandbox.py +0 -0
  205. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/cloud/__init__.py +0 -0
  206. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/cloud/cloud_sandbox.py +0 -0
  207. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/dummy/__init__.py +0 -0
  208. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/dummy/dummy_sandbox.py +0 -0
  209. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/filesystem/__init__.py +0 -0
  210. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/browser → agentscope_runtime-1.0.5/src/agentscope_runtime/sandbox/box/filesystem}/box/__init__.py +0 -0
  211. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/filesystem/filesystem_sandbox.py +0 -0
  212. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/gui/__init__.py +0 -0
  213. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/filesystem → agentscope_runtime-1.0.5/src/agentscope_runtime/sandbox/box/gui}/box/__init__.py +0 -0
  214. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/gui/gui_sandbox.py +0 -0
  215. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/mobile/__init__.py +0 -0
  216. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/gui → agentscope_runtime-1.0.5/src/agentscope_runtime/sandbox/box/mobile}/box/__init__.py +0 -0
  217. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/mobile/mobile_sandbox.py +0 -0
  218. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/mobile/box → agentscope_runtime-1.0.5/src/agentscope_runtime/sandbox/box/shared}/__init__.py +0 -0
  219. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/shared/app.py +0 -0
  220. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/shared/dependencies/__init__.py +0 -0
  221. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/shared/dependencies/deps.py +0 -0
  222. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/shared/routers/__init__.py +0 -0
  223. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/shared/routers/generic.py +0 -0
  224. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/shared/routers/mcp.py +0 -0
  225. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/shared/routers/mcp_utils.py +0 -0
  226. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/shared/routers/runtime_watcher.py +0 -0
  227. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/shared/routers/workspace.py +0 -0
  228. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/training_box/__init__.py +0 -0
  229. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/training_box/base.py +0 -0
  230. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/training_box/env_service.py +0 -0
  231. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/shared → agentscope_runtime-1.0.5/src/agentscope_runtime/sandbox/box/training_box/environments}/__init__.py +0 -0
  232. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/training_box/environments/appworld/appworld_env.py +0 -0
  233. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_dataprocess.py +0 -0
  234. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_env.py +0 -0
  235. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/env_handler.py +0 -0
  236. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/training_box/registry.py +0 -0
  237. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/training_box/src/trajectory.py +0 -0
  238. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/box/training_box/training_box.py +0 -0
  239. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/build.py +0 -0
  240. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/client/__init__.py +0 -0
  241. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/client/async_http_client.py +0 -0
  242. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/client/base.py +0 -0
  243. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/client/http_client.py +0 -0
  244. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/client/training_client.py +0 -0
  245. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/constant.py +0 -0
  246. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/custom/__init__.py +0 -0
  247. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/custom/custom_sandbox.py +0 -0
  248. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/custom/example.py +0 -0
  249. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/enums.py +0 -0
  250. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/manager/__init__.py +0 -0
  251. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/box/training_box/environments → agentscope_runtime-1.0.5/src/agentscope_runtime/sandbox/manager/server}/__init__.py +0 -0
  252. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/manager/server/app.py +0 -0
  253. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/manager/server/models.py +0 -0
  254. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/manager/storage/__init__.py +0 -0
  255. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/manager/storage/data_storage.py +0 -0
  256. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/manager/storage/local_storage.py +0 -0
  257. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/manager/storage/oss_storage.py +0 -0
  258. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/mcp_server.py +0 -0
  259. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/model/__init__.py +0 -0
  260. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/model/api.py +0 -0
  261. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/model/container.py +0 -0
  262. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/registry.py +0 -0
  263. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/sandbox/utils.py +0 -0
  264. {agentscope_runtime-1.0.4/src/agentscope_runtime/sandbox/manager/server → agentscope_runtime-1.0.5/src/agentscope_runtime/tools/RAGs}/__init__.py +0 -0
  265. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/RAGs/modelstudio_rag.py +0 -0
  266. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/RAGs/modelstudio_rag_lite.py +0 -0
  267. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/__init__.py +0 -0
  268. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/_constants.py +0 -0
  269. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/alipay/__init__.py +0 -0
  270. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/alipay/base.py +0 -0
  271. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/alipay/payment.py +0 -0
  272. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/alipay/subscribe.py +0 -0
  273. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/base.py +0 -0
  274. {agentscope_runtime-1.0.4/src/agentscope_runtime/tools/RAGs → agentscope_runtime-1.0.5/src/agentscope_runtime/tools/cli}/__init__.py +0 -0
  275. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/cli/modelstudio_mcp_server.py +0 -0
  276. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/__init__.py +0 -0
  277. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/async_image_to_video.py +0 -0
  278. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/async_image_to_video_wan25.py +0 -0
  279. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/async_speech_to_video.py +0 -0
  280. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/async_text_to_video.py +0 -0
  281. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/async_text_to_video_wan25.py +0 -0
  282. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/image_edit.py +0 -0
  283. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/image_edit_wan25.py +0 -0
  284. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/image_generation.py +0 -0
  285. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/image_generation_wan25.py +0 -0
  286. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/image_style_repaint.py +0 -0
  287. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/image_to_video.py +0 -0
  288. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/qwen_image_edit.py +0 -0
  289. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/qwen_image_generation.py +0 -0
  290. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/qwen_text_to_speech.py +0 -0
  291. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/speech_to_text.py +0 -0
  292. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/speech_to_video.py +0 -0
  293. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/generations/text_to_video.py +0 -0
  294. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/mcp_wrapper.py +0 -0
  295. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/realtime_clients/__init__.py +0 -0
  296. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/realtime_clients/asr_client.py +0 -0
  297. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/realtime_clients/azure_asr_client.py +0 -0
  298. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/realtime_clients/azure_tts_client.py +0 -0
  299. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/realtime_clients/modelstudio_asr_client.py +0 -0
  300. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/realtime_clients/modelstudio_tts_client.py +0 -0
  301. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/realtime_clients/realtime_tool.py +0 -0
  302. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/realtime_clients/tts_client.py +0 -0
  303. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/searches/__init__.py +0 -0
  304. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/searches/modelstudio_search.py +0 -0
  305. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/searches/modelstudio_search_lite.py +0 -0
  306. {agentscope_runtime-1.0.4/src/agentscope_runtime/tools/cli → agentscope_runtime-1.0.5/src/agentscope_runtime/tools/utils}/__init__.py +0 -0
  307. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/utils/api_key_util.py +0 -0
  308. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/utils/crypto_utils.py +0 -0
  309. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime/tools/utils/mcp_util.py +0 -0
  310. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime.egg-info/dependency_links.txt +0 -0
  311. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/src/agentscope_runtime.egg-info/entry_points.txt +0 -0
  312. {agentscope_runtime-1.0.4 → agentscope_runtime-1.0.5}/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.5
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
@@ -28,6 +28,7 @@ Requires-Dist: jsonref
28
28
  Requires-Dist: asgiref
29
29
  Requires-Dist: click>=8.0.0
30
30
  Requires-Dist: rich>=13.0.0
31
+ Requires-Dist: ag-ui-protocol>=0.1.10
31
32
  Provides-Extra: dev
32
33
  Requires-Dist: pytest>=8.3.5; extra == "dev"
33
34
  Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
@@ -67,12 +68,15 @@ Requires-Dist: alibabacloud-credentials; extra == "ext"
67
68
  Requires-Dist: PyYAML; extra == "ext"
68
69
  Requires-Dist: agno>=2.3.8; extra == "ext"
69
70
  Requires-Dist: nacos-sdk-python>=3.0.0; extra == "ext"
70
- Requires-Dist: agent-framework>=1.0.0b251120; extra == "ext"
71
+ Requires-Dist: agent-framework<1.0.0b260114,>=1.0.0b251120; extra == "ext"
72
+ Requires-Dist: boxlite>=0.5.2; extra == "ext"
73
+ Requires-Dist: alibabacloud-eas20210701<8.0.0,>=7.0.0; extra == "ext"
74
+ Requires-Dist: alibabacloud-aiworkspace20210204<8.0.0,>=7.0.0; extra == "ext"
71
75
  Dynamic: license-file
72
76
 
73
77
  <div align="center">
74
78
 
75
- # AgentScope Runtime v1.0
79
+ # AgentScope Runtime: A Production-grade Runtime for Agent Applications
76
80
 
77
81
  [![GitHub Repo](https://img.shields.io/badge/GitHub-Repo-black.svg?logo=github)](https://github.com/agentscope-ai/agentscope-runtime)
78
82
  [![WebUI](https://img.shields.io/badge/Try_WebUI-Online-green.svg?logo=googlechrome)](http://webui.runtime.agentscope.io/)
@@ -97,13 +101,53 @@ Dynamic: license-file
97
101
  [[中文README]](README_zh.md)
98
102
  [[Samples]](https://github.com/agentscope-ai/agentscope-samples)
99
103
 
100
- **A Production-Ready Runtime Framework for Intelligent Agent Applications**
104
+ > **Core capabilities:**
105
+ >
106
+ > **Tool Sandboxing** — tool call runs inside a **hardened sandbox**
107
+ >
108
+ > **Agent-as-a-Service (AaaS) APIs** — expose agents as **streaming, production-ready APIs**
109
+ >
110
+ > **Scalable Deployment** — deploy locally, on Kubernetes, or serverless for **elastic scale**
111
+ >
112
+ > <details>
113
+ > <summary><b>Plus</b></summary>
114
+ >
115
+ > <br>
116
+ >
117
+ > **Full-stack observability** (logs / traces)
118
+ >
119
+ > **Framework compatibility** with mainstream agent frameworks
120
+ >
121
+ > </details>
101
122
 
102
- ***AgentScope Runtime** is a full-stack agent runtime that tackles two core challenges: **efficient agent deployment** and **secure sandbox execution**. It ships with foundational services such as short- and long-term memory plus agent state persistence, along with hardened sandbox infrastructure. Whether you need to orchestrate production-grade agents or guarantee safe tool interactions, AgentScope Runtime provides developer-friendly workflows with complete observability.*
123
+ </div>
124
+
125
+ ---
103
126
 
104
- *In V1.0, these services are exposed via an **adapter pattern**, enabling seamless integration with the native modules of different agent frameworks while preserving their native interfaces and behaviors, ensuring both compatibility and flexibility.*
127
+ ## Table of Contents
105
128
 
106
- </div>
129
+ > [!NOTE]
130
+ >
131
+ > **Recommended reading order:**
132
+ >
133
+ > - **I want to run an agent app in 5 minutes**: Quick Start (Agent App example) → verify with curl (SSE streaming)
134
+ > - **I care about secure tool execution / automation**: Quick Start (Sandbox examples) → sandbox image registry/namespace/tag configuration → (optional) production-grade serverless sandbox deployment
135
+ > - **I want production deployment / expose APIs**: Quick Start (Agent App example) → Quick Start (Deployment example) → Guides
136
+ > - **I want to contribute**: Contributing → Contact
137
+
138
+ - [News](#-news)
139
+ - [Key Features](#-key-features)
140
+ - [Quick Start](#-quick-start): From installation to running a minimal Agent API service. Learn the three-stage `AgentApp` development pattern: `init` / `query` / `shutdown`.
141
+ - [Prerequisites](#prerequisites): Required runtime environment and dependencies
142
+ - [Installation](#installation): Install from PyPI or from source
143
+ - [Agent App Example](#agent-app-example): How to build a streaming (SSE) Agent-as-a-Service API
144
+ - [Sandbox Example](#sandbox-example): How to safely execute Python/Shell/GUI/Browser/Filesystem/Mobile tools in an isolated sandbox
145
+ - [Deployment Example](#deployment-example): Learn to deploy with `DeployManager` locally or in a serverless environment, and access the service via A2A, Response API, or the OpenAI SDK in compatible mode
146
+ - [Guides](#-guides): A tutorial site covering AgentScope Runtime concepts, architecture, APIs, and sample projects—helping you move from “it runs” to “scalable and maintainable”.
147
+ - [Contact](#-contact)
148
+ - [Contributing](#-contributing)
149
+ - [License](#-license)
150
+ - [Contributors](#-contributors)
107
151
 
108
152
  ---
109
153
 
@@ -116,12 +160,12 @@ Dynamic: license-file
116
160
 
117
161
  ## ✨ Key Features
118
162
 
119
- - **🏗️ Deployment Infrastructure**: Built-in services for agent state management, conversation history, long-term memory, and sandbox lifecycle control
120
- - **🔧 Framework-Agnostic**: Not tied to any specific agent framework; seamlessly integrates with popular open-source and custom implementations
121
- - **Developer-Friendly**: Offers `AgentApp` for easy deployment with powerful customization options
122
- - **📊 Observability**: Comprehensive tracking and monitoring of runtime operations
123
- - **🔒 Sandboxed Tool Execution**: Isolated sandbox ensures safe tool execution without affecting the system
124
- - **🛠️ Out-of-the-Box Tools & One-Click Adaptation**: Rich set of ready-to-use tools, with adapters enabling quick integration into different frameworks
163
+ - **Deployment Infrastructure**: Built-in services for agent state management, conversation history, long-term memory, and sandbox lifecycle control
164
+ - **Framework-Agnostic**: Not tied to any specific agent framework; seamlessly integrates with popular open-source and custom implementations
165
+ - **Developer-Friendly**: Offers `AgentApp` for easy deployment with powerful customization options
166
+ - **Observability**: Comprehensive tracking and monitoring of runtime operations
167
+ - **Sandboxed Tool Execution**: Isolated sandbox ensures safe tool execution without affecting the system
168
+ - **Out-of-the-Box Tools & One-Click Adaptation**: Rich set of ready-to-use tools, with adapters enabling quick integration into different frameworks
125
169
 
126
170
  > [!NOTE]
127
171
  >
@@ -137,26 +181,6 @@ Dynamic: license-file
137
181
 
138
182
  ---
139
183
 
140
- ## 💬 Contact
141
-
142
- Welcome to join our community on
143
-
144
- | [Discord](https://discord.gg/eYMpfnkG8h) | DingTalk |
145
- | ------------------------------------------------------------ | ------------------------------------------------------------ |
146
- | <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"> |
147
-
148
- ---
149
-
150
- ## 📋 Table of Contents
151
-
152
- - [🚀 Quick Start](#-quick-start)
153
- - [📚 Cookbook](#-cookbook)
154
- - [🏗️ Deployment](#️-deployment)
155
- - [🤝 Contributing](#-contributing)
156
- - [📄 License](#-license)
157
-
158
- ---
159
-
160
184
  ## 🚀 Quick Start
161
185
 
162
186
  ### Prerequisites
@@ -333,9 +357,9 @@ These examples demonstrate how to create sandboxed environments and execute tool
333
357
 
334
358
  > [!NOTE]
335
359
  >
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.
360
+ > If you want to run the sandbox locally, the current version supports **Docker (optionally with gVisor)** or **[BoxLite](https://github.com/boxlite-ai/boxlite)** as the backend, and you can switch the backend by setting the environment variable `CONTAINER_DEPLOYMENT` (supported values include `docker` / `gvisor` / `boxlite` etc.; default: `docker`).
337
361
  >
338
- > 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)
362
+ > For large-scale remote/production deployments, we recommend using **Kubernetes (K8s)**, **Function Compute (FC)**, or [**Alibaba Cloud Container Service for Kubernetes (ACK)**](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) as the backend. Please refer to [this tutorial](https://runtime.agentscope.io/en/sandbox/advanced.html) for more details.
339
363
 
340
364
  > [!TIP]
341
365
  > AgentScope Runtime provides **both synchronous** and **asynchronous** versions for each sandbox type
@@ -373,6 +397,7 @@ async with BaseSandboxAsync() as box:
373
397
  print(await box.list_tools()) # List all available tools
374
398
  print(await box.run_ipython_cell(code="print('hi')")) # Run Python code
375
399
  print(await box.run_shell_command(command="echo hello")) # Run shell command
400
+ input("Press Enter to continue...")
376
401
  ```
377
402
 
378
403
  #### GUI Sandbox
@@ -441,23 +466,23 @@ A GUI-based sandbox with **file system operations** such as creating, reading, a
441
466
 
442
467
  ```python
443
468
  # --- Synchronous version ---
444
- from agentscope_runtime.sandbox import BrowserSandbox
469
+ from agentscope_runtime.sandbox import FilesystemSandbox
445
470
 
446
- with BrowserSandbox() as box:
447
- # By default, pulls `agentscope/runtime-sandbox-browser:latest` from DockerHub
471
+ with FilesystemSandbox() as box:
472
+ # By default, pulls `agentscope/runtime-sandbox-filesystem:latest` from DockerHub
448
473
  print(box.list_tools()) # List all available tools
449
474
  print(box.desktop_url) # Web desktop access URL
450
- box.browser_navigate("https://www.google.com/") # Open a webpage
475
+ box.create_directory("test") # Create a directory
451
476
  input("Press Enter to continue...")
452
477
 
453
478
  # --- Asynchronous version ---
454
- from agentscope_runtime.sandbox import BrowserSandboxAsync
479
+ from agentscope_runtime.sandbox import FilesystemSandboxAsync
455
480
 
456
- async with BrowserSandboxAsync() as box:
457
- # Default image is `agentscope/runtime-sandbox-browser:latest`
481
+ async with FilesystemSandboxAsync() as box:
482
+ # Default image is `agentscope/runtime-sandbox-filesystem:latest`
458
483
  print(await box.list_tools()) # List all available tools
459
484
  print(box.desktop_url) # Web desktop access URL
460
- await box.browser_navigate("https://www.google.com/") # Open a webpage
485
+ await box.create_directory("test") # Create a directory
461
486
  input("Press Enter to continue...")
462
487
  ```
463
488
 
@@ -592,17 +617,7 @@ runtime-sandbox-server --config fc.env
592
617
  ```
593
618
  After the server starts, you can access the sandbox server at baseurl `http://localhost:8000` and invoke sandbox tools described above.
594
619
 
595
- ## 📚 Cookbook
596
-
597
- - **[📖 Cookbook](https://runtime.agentscope.io/en/intro.html)**: Comprehensive tutorials
598
- - **[💡 Concept](https://runtime.agentscope.io/en/concept.html)**: Core concepts and architecture overview
599
- - **[🚀 Quick Start](https://runtime.agentscope.io/en/quickstart.html)**: Quick start tutorial
600
- - **[🏠 Demo House](https://runtime.agentscope.io/en/demohouse.html)**: Rich example projects
601
- - **[📋 API Reference](https://runtime.agentscope.io/en/api/index.html)**: Complete API documentation
602
-
603
- ---
604
-
605
- ## 🏗️ Deployment
620
+ ### Deployment Example
606
621
 
607
622
  The `AgentApp` exposes a `deploy` method that takes a `DeployManager` instance and deploys the agent.
608
623
 
@@ -611,7 +626,7 @@ The `AgentApp` exposes a `deploy` method that takes a `DeployManager` instance a
611
626
 
612
627
  * The deployer will automatically add common agent protocols, such as **A2A**, **Response API**.
613
628
 
614
- After deployment, users can access the service at `http://localhost:8090/process:
629
+ After deployment, users can access the service at http://localhost:8090/process:
615
630
 
616
631
  ```python
617
632
  from agentscope_runtime.engine.deployers import LocalDeployManager
@@ -623,8 +638,10 @@ deployer = LocalDeployManager(
623
638
  )
624
639
 
625
640
  # Deploy the app as a streaming service
626
- deploy_result = await app.deploy(deployer=deployer)
627
-
641
+ deploy_result = await app.deploy(
642
+ deployer=deployer,
643
+ endpoint_path="/process"
644
+ )
628
645
  ```
629
646
 
630
647
  After deployment, users can also access this service using the Response API of the OpenAI SDK:
@@ -642,11 +659,16 @@ response = client.responses.create(
642
659
  print(response)
643
660
  ```
644
661
 
645
- 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).
662
+ Besides, `DeployManager` also supports serverless deployments, such as deploying your agent app to [ModelStudio](https://bailian.console.aliyun.com/?admin=1&tab=doc#/doc/?type=app&url=2983030).
647
663
 
648
664
  ```python
649
- from agentscope_runtime.engine.deployers import ModelStudioDeployManager
665
+ import os
666
+ from agentscope_runtime.engine.deployers.modelstudio_deployer import (
667
+ ModelstudioDeployManager,
668
+ OSSConfig,
669
+ ModelstudioConfig,
670
+ )
671
+
650
672
  # Create deployment manager
651
673
  deployer = ModelstudioDeployManager(
652
674
  oss_config=OSSConfig(
@@ -678,6 +700,22 @@ For more advanced serverless deployment guides, please refer to the [documentati
678
700
 
679
701
  ---
680
702
 
703
+ ## 📚 Guides
704
+
705
+ For a more detailed tutorial, please refer to: [![Cookbook](https://img.shields.io/badge/📚_Cookbook-English|中文-teal.svg)](https://runtime.agentscope.io)
706
+
707
+ ---
708
+
709
+ ## 💬 Contact
710
+
711
+ Welcome to join our community on
712
+
713
+ | [Discord](https://discord.gg/eYMpfnkG8h) | DingTalk |
714
+ | ------------------------------------------------------------ | ------------------------------------------------------------ |
715
+ | <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"> |
716
+
717
+ ---
718
+
681
719
  ## 🤝 Contributing
682
720
 
683
721
  We welcome contributions from the community! Here's how you can help:
@@ -723,9 +761,9 @@ See the License for the specific language governing permissions and
723
761
  limitations under the License.
724
762
  ```
725
763
 
726
- ## Contributors
764
+ ## Contributors
727
765
  <!-- 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-)
766
+ [![All Contributors](https://img.shields.io/badge/all_contributors-32-orange.svg?style=flat-square)](#contributors-)
729
767
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
730
768
 
731
769
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/emoji-key/)):
@@ -775,6 +813,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/e
775
813
  <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
814
  <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
815
  <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>
816
+ <td align="center" valign="top" width="14.28%"><a href="http://dorianzheng.github.io"><img src="https://avatars.githubusercontent.com/u/8065637?v=4?s=100" width="100px;" alt="dorianzheng"/><br /><sub><b>dorianzheng</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/pulls?q=is%3Apr+reviewed-by%3ADorianZheng" title="Reviewed Pull Requests">👀</a> <a href="#platform-DorianZheng" title="Packaging/porting to new platform">📦</a></td>
778
817
  </tr>
779
818
  </tbody>
780
819
  <tfoot>
@@ -1,6 +1,6 @@
1
1
  <div align="center">
2
2
 
3
- # AgentScope Runtime v1.0
3
+ # AgentScope Runtime: A Production-grade Runtime for Agent Applications
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
6
  [![WebUI](https://img.shields.io/badge/Try_WebUI-Online-green.svg?logo=googlechrome)](http://webui.runtime.agentscope.io/)
@@ -25,13 +25,53 @@
25
25
  [[中文README]](README_zh.md)
26
26
  [[Samples]](https://github.com/agentscope-ai/agentscope-samples)
27
27
 
28
- **A Production-Ready Runtime Framework for Intelligent Agent Applications**
28
+ > **Core capabilities:**
29
+ >
30
+ > **Tool Sandboxing** — tool call runs inside a **hardened sandbox**
31
+ >
32
+ > **Agent-as-a-Service (AaaS) APIs** — expose agents as **streaming, production-ready APIs**
33
+ >
34
+ > **Scalable Deployment** — deploy locally, on Kubernetes, or serverless for **elastic scale**
35
+ >
36
+ > <details>
37
+ > <summary><b>Plus</b></summary>
38
+ >
39
+ > <br>
40
+ >
41
+ > **Full-stack observability** (logs / traces)
42
+ >
43
+ > **Framework compatibility** with mainstream agent frameworks
44
+ >
45
+ > </details>
29
46
 
30
- ***AgentScope Runtime** is a full-stack agent runtime that tackles two core challenges: **efficient agent deployment** and **secure sandbox execution**. It ships with foundational services such as short- and long-term memory plus agent state persistence, along with hardened sandbox infrastructure. Whether you need to orchestrate production-grade agents or guarantee safe tool interactions, AgentScope Runtime provides developer-friendly workflows with complete observability.*
47
+ </div>
48
+
49
+ ---
31
50
 
32
- *In V1.0, these services are exposed via an **adapter pattern**, enabling seamless integration with the native modules of different agent frameworks while preserving their native interfaces and behaviors, ensuring both compatibility and flexibility.*
51
+ ## Table of Contents
33
52
 
34
- </div>
53
+ > [!NOTE]
54
+ >
55
+ > **Recommended reading order:**
56
+ >
57
+ > - **I want to run an agent app in 5 minutes**: Quick Start (Agent App example) → verify with curl (SSE streaming)
58
+ > - **I care about secure tool execution / automation**: Quick Start (Sandbox examples) → sandbox image registry/namespace/tag configuration → (optional) production-grade serverless sandbox deployment
59
+ > - **I want production deployment / expose APIs**: Quick Start (Agent App example) → Quick Start (Deployment example) → Guides
60
+ > - **I want to contribute**: Contributing → Contact
61
+
62
+ - [News](#-news)
63
+ - [Key Features](#-key-features)
64
+ - [Quick Start](#-quick-start): From installation to running a minimal Agent API service. Learn the three-stage `AgentApp` development pattern: `init` / `query` / `shutdown`.
65
+ - [Prerequisites](#prerequisites): Required runtime environment and dependencies
66
+ - [Installation](#installation): Install from PyPI or from source
67
+ - [Agent App Example](#agent-app-example): How to build a streaming (SSE) Agent-as-a-Service API
68
+ - [Sandbox Example](#sandbox-example): How to safely execute Python/Shell/GUI/Browser/Filesystem/Mobile tools in an isolated sandbox
69
+ - [Deployment Example](#deployment-example): Learn to deploy with `DeployManager` locally or in a serverless environment, and access the service via A2A, Response API, or the OpenAI SDK in compatible mode
70
+ - [Guides](#-guides): A tutorial site covering AgentScope Runtime concepts, architecture, APIs, and sample projects—helping you move from “it runs” to “scalable and maintainable”.
71
+ - [Contact](#-contact)
72
+ - [Contributing](#-contributing)
73
+ - [License](#-license)
74
+ - [Contributors](#-contributors)
35
75
 
36
76
  ---
37
77
 
@@ -44,12 +84,12 @@
44
84
 
45
85
  ## ✨ Key Features
46
86
 
47
- - **🏗️ Deployment Infrastructure**: Built-in services for agent state management, conversation history, long-term memory, and sandbox lifecycle control
48
- - **🔧 Framework-Agnostic**: Not tied to any specific agent framework; seamlessly integrates with popular open-source and custom implementations
49
- - **Developer-Friendly**: Offers `AgentApp` for easy deployment with powerful customization options
50
- - **📊 Observability**: Comprehensive tracking and monitoring of runtime operations
51
- - **🔒 Sandboxed Tool Execution**: Isolated sandbox ensures safe tool execution without affecting the system
52
- - **🛠️ Out-of-the-Box Tools & One-Click Adaptation**: Rich set of ready-to-use tools, with adapters enabling quick integration into different frameworks
87
+ - **Deployment Infrastructure**: Built-in services for agent state management, conversation history, long-term memory, and sandbox lifecycle control
88
+ - **Framework-Agnostic**: Not tied to any specific agent framework; seamlessly integrates with popular open-source and custom implementations
89
+ - **Developer-Friendly**: Offers `AgentApp` for easy deployment with powerful customization options
90
+ - **Observability**: Comprehensive tracking and monitoring of runtime operations
91
+ - **Sandboxed Tool Execution**: Isolated sandbox ensures safe tool execution without affecting the system
92
+ - **Out-of-the-Box Tools & One-Click Adaptation**: Rich set of ready-to-use tools, with adapters enabling quick integration into different frameworks
53
93
 
54
94
  > [!NOTE]
55
95
  >
@@ -65,26 +105,6 @@
65
105
 
66
106
  ---
67
107
 
68
- ## 💬 Contact
69
-
70
- Welcome to join our community on
71
-
72
- | [Discord](https://discord.gg/eYMpfnkG8h) | DingTalk |
73
- | ------------------------------------------------------------ | ------------------------------------------------------------ |
74
- | <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"> |
75
-
76
- ---
77
-
78
- ## 📋 Table of Contents
79
-
80
- - [🚀 Quick Start](#-quick-start)
81
- - [📚 Cookbook](#-cookbook)
82
- - [🏗️ Deployment](#️-deployment)
83
- - [🤝 Contributing](#-contributing)
84
- - [📄 License](#-license)
85
-
86
- ---
87
-
88
108
  ## 🚀 Quick Start
89
109
 
90
110
  ### Prerequisites
@@ -261,9 +281,9 @@ These examples demonstrate how to create sandboxed environments and execute tool
261
281
 
262
282
  > [!NOTE]
263
283
  >
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.
284
+ > If you want to run the sandbox locally, the current version supports **Docker (optionally with gVisor)** or **[BoxLite](https://github.com/boxlite-ai/boxlite)** as the backend, and you can switch the backend by setting the environment variable `CONTAINER_DEPLOYMENT` (supported values include `docker` / `gvisor` / `boxlite` etc.; default: `docker`).
265
285
  >
266
- > 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)
286
+ > For large-scale remote/production deployments, we recommend using **Kubernetes (K8s)**, **Function Compute (FC)**, or [**Alibaba Cloud Container Service for Kubernetes (ACK)**](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) as the backend. Please refer to [this tutorial](https://runtime.agentscope.io/en/sandbox/advanced.html) for more details.
267
287
 
268
288
  > [!TIP]
269
289
  > AgentScope Runtime provides **both synchronous** and **asynchronous** versions for each sandbox type
@@ -301,6 +321,7 @@ async with BaseSandboxAsync() as box:
301
321
  print(await box.list_tools()) # List all available tools
302
322
  print(await box.run_ipython_cell(code="print('hi')")) # Run Python code
303
323
  print(await box.run_shell_command(command="echo hello")) # Run shell command
324
+ input("Press Enter to continue...")
304
325
  ```
305
326
 
306
327
  #### GUI Sandbox
@@ -369,23 +390,23 @@ A GUI-based sandbox with **file system operations** such as creating, reading, a
369
390
 
370
391
  ```python
371
392
  # --- Synchronous version ---
372
- from agentscope_runtime.sandbox import BrowserSandbox
393
+ from agentscope_runtime.sandbox import FilesystemSandbox
373
394
 
374
- with BrowserSandbox() as box:
375
- # By default, pulls `agentscope/runtime-sandbox-browser:latest` from DockerHub
395
+ with FilesystemSandbox() as box:
396
+ # By default, pulls `agentscope/runtime-sandbox-filesystem:latest` from DockerHub
376
397
  print(box.list_tools()) # List all available tools
377
398
  print(box.desktop_url) # Web desktop access URL
378
- box.browser_navigate("https://www.google.com/") # Open a webpage
399
+ box.create_directory("test") # Create a directory
379
400
  input("Press Enter to continue...")
380
401
 
381
402
  # --- Asynchronous version ---
382
- from agentscope_runtime.sandbox import BrowserSandboxAsync
403
+ from agentscope_runtime.sandbox import FilesystemSandboxAsync
383
404
 
384
- async with BrowserSandboxAsync() as box:
385
- # Default image is `agentscope/runtime-sandbox-browser:latest`
405
+ async with FilesystemSandboxAsync() as box:
406
+ # Default image is `agentscope/runtime-sandbox-filesystem:latest`
386
407
  print(await box.list_tools()) # List all available tools
387
408
  print(box.desktop_url) # Web desktop access URL
388
- await box.browser_navigate("https://www.google.com/") # Open a webpage
409
+ await box.create_directory("test") # Create a directory
389
410
  input("Press Enter to continue...")
390
411
  ```
391
412
 
@@ -520,17 +541,7 @@ runtime-sandbox-server --config fc.env
520
541
  ```
521
542
  After the server starts, you can access the sandbox server at baseurl `http://localhost:8000` and invoke sandbox tools described above.
522
543
 
523
- ## 📚 Cookbook
524
-
525
- - **[📖 Cookbook](https://runtime.agentscope.io/en/intro.html)**: Comprehensive tutorials
526
- - **[💡 Concept](https://runtime.agentscope.io/en/concept.html)**: Core concepts and architecture overview
527
- - **[🚀 Quick Start](https://runtime.agentscope.io/en/quickstart.html)**: Quick start tutorial
528
- - **[🏠 Demo House](https://runtime.agentscope.io/en/demohouse.html)**: Rich example projects
529
- - **[📋 API Reference](https://runtime.agentscope.io/en/api/index.html)**: Complete API documentation
530
-
531
- ---
532
-
533
- ## 🏗️ Deployment
544
+ ### Deployment Example
534
545
 
535
546
  The `AgentApp` exposes a `deploy` method that takes a `DeployManager` instance and deploys the agent.
536
547
 
@@ -539,7 +550,7 @@ The `AgentApp` exposes a `deploy` method that takes a `DeployManager` instance a
539
550
 
540
551
  * The deployer will automatically add common agent protocols, such as **A2A**, **Response API**.
541
552
 
542
- After deployment, users can access the service at `http://localhost:8090/process:
553
+ After deployment, users can access the service at http://localhost:8090/process:
543
554
 
544
555
  ```python
545
556
  from agentscope_runtime.engine.deployers import LocalDeployManager
@@ -551,8 +562,10 @@ deployer = LocalDeployManager(
551
562
  )
552
563
 
553
564
  # Deploy the app as a streaming service
554
- deploy_result = await app.deploy(deployer=deployer)
555
-
565
+ deploy_result = await app.deploy(
566
+ deployer=deployer,
567
+ endpoint_path="/process"
568
+ )
556
569
  ```
557
570
 
558
571
  After deployment, users can also access this service using the Response API of the OpenAI SDK:
@@ -570,11 +583,16 @@ response = client.responses.create(
570
583
  print(response)
571
584
  ```
572
585
 
573
- 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).
586
+ Besides, `DeployManager` also supports serverless deployments, such as deploying your agent app to [ModelStudio](https://bailian.console.aliyun.com/?admin=1&tab=doc#/doc/?type=app&url=2983030).
575
587
 
576
588
  ```python
577
- from agentscope_runtime.engine.deployers import ModelStudioDeployManager
589
+ import os
590
+ from agentscope_runtime.engine.deployers.modelstudio_deployer import (
591
+ ModelstudioDeployManager,
592
+ OSSConfig,
593
+ ModelstudioConfig,
594
+ )
595
+
578
596
  # Create deployment manager
579
597
  deployer = ModelstudioDeployManager(
580
598
  oss_config=OSSConfig(
@@ -606,6 +624,22 @@ For more advanced serverless deployment guides, please refer to the [documentati
606
624
 
607
625
  ---
608
626
 
627
+ ## 📚 Guides
628
+
629
+ For a more detailed tutorial, please refer to: [![Cookbook](https://img.shields.io/badge/📚_Cookbook-English|中文-teal.svg)](https://runtime.agentscope.io)
630
+
631
+ ---
632
+
633
+ ## 💬 Contact
634
+
635
+ Welcome to join our community on
636
+
637
+ | [Discord](https://discord.gg/eYMpfnkG8h) | DingTalk |
638
+ | ------------------------------------------------------------ | ------------------------------------------------------------ |
639
+ | <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"> |
640
+
641
+ ---
642
+
609
643
  ## 🤝 Contributing
610
644
 
611
645
  We welcome contributions from the community! Here's how you can help:
@@ -651,9 +685,9 @@ See the License for the specific language governing permissions and
651
685
  limitations under the License.
652
686
  ```
653
687
 
654
- ## Contributors
688
+ ## Contributors
655
689
  <!-- 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-)
690
+ [![All Contributors](https://img.shields.io/badge/all_contributors-32-orange.svg?style=flat-square)](#contributors-)
657
691
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
658
692
 
659
693
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/emoji-key/)):
@@ -703,6 +737,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/e
703
737
  <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
738
  <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
739
  <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>
740
+ <td align="center" valign="top" width="14.28%"><a href="http://dorianzheng.github.io"><img src="https://avatars.githubusercontent.com/u/8065637?v=4?s=100" width="100px;" alt="dorianzheng"/><br /><sub><b>dorianzheng</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/pulls?q=is%3Apr+reviewed-by%3ADorianZheng" title="Reviewed Pull Requests">👀</a> <a href="#platform-DorianZheng" title="Packaging/porting to new platform">📦</a></td>
706
741
  </tr>
707
742
  </tbody>
708
743
  <tfoot>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "agentscope-runtime"
3
- version = "1.0.4"
3
+ version = "1.0.5"
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"
@@ -28,6 +28,7 @@ dependencies = [
28
28
  "asgiref",
29
29
  "click>=8.0.0",
30
30
  "rich>=13.0.0",
31
+ "ag-ui-protocol>=0.1.10"
31
32
  ]
32
33
 
33
34
  [tool.setuptools]
@@ -91,7 +92,10 @@ ext = [
91
92
  "PyYAML",
92
93
  "agno>=2.3.8",
93
94
  "nacos-sdk-python>=3.0.0",
94
- "agent-framework>=1.0.0b251120",
95
+ "agent-framework>=1.0.0b251120,<1.0.0b260114",
96
+ "boxlite>=0.5.2",
97
+ "alibabacloud-eas20210701>=7.0.0,<8.0.0",
98
+ "alibabacloud-aiworkspace20210204>=7.0.0,<8.0.0",
95
99
  ]
96
100
 
97
101
  [tool.pytest.ini_options]
@@ -271,7 +271,7 @@ async def adapt_agentscope_message_stream(
271
271
  role="assistant",
272
272
  )
273
273
  data_delta_content = DataContent(
274
- index=0,
274
+ index=None if last else 0,
275
275
  data=fc_cls(
276
276
  call_id=element["id"],
277
277
  name=element.get("name"),