agentscope-runtime 1.0.5.post1__tar.gz → 1.1.0b3__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 (314) hide show
  1. {agentscope_runtime-1.0.5.post1/src/agentscope_runtime.egg-info → agentscope_runtime-1.1.0b3}/PKG-INFO +37 -54
  2. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/README.md +35 -51
  3. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/pyproject.toml +2 -3
  4. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/__init__.py +3 -0
  5. agentscope_runtime-1.1.0b3/src/agentscope_runtime/adapters/agentscope/message.py +393 -0
  6. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/agentscope/stream.py +133 -3
  7. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/agno/message.py +11 -2
  8. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/agno/stream.py +1 -0
  9. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/langgraph/__init__.py +1 -3
  10. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/langgraph/message.py +11 -106
  11. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/langgraph/stream.py +1 -0
  12. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/ms_agent_framework/message.py +11 -1
  13. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/ms_agent_framework/stream.py +1 -0
  14. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/text/stream.py +1 -0
  15. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/container_clients/agentrun_client.py +0 -3
  16. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/container_clients/boxlite_client.py +26 -15
  17. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/container_clients/fc_client.py +0 -11
  18. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/utils/deprecation.py +14 -17
  19. agentscope_runtime-1.1.0b3/src/agentscope_runtime/common/utils/logging.py +44 -0
  20. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/app/agent_app.py +5 -5
  21. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/app/celery_mixin.py +43 -4
  22. agentscope_runtime-1.1.0b3/src/agentscope_runtime/engine/deployers/adapter/agui/__init__.py +15 -0
  23. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/adapter/agui/agui_adapter_utils.py +6 -1
  24. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/adapter/agui/agui_protocol_adapter.py +2 -2
  25. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/service_utils/fastapi_factory.py +13 -0
  26. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/runner.py +31 -6
  27. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/schemas/agent_schemas.py +28 -0
  28. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/services/sandbox/sandbox_service.py +41 -9
  29. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/base/base_sandbox.py +4 -0
  30. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/browser/browser_sandbox.py +4 -0
  31. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/dummy/dummy_sandbox.py +9 -2
  32. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/filesystem/filesystem_sandbox.py +4 -0
  33. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/gui/gui_sandbox.py +5 -1
  34. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/mobile/mobile_sandbox.py +4 -0
  35. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/sandbox.py +122 -13
  36. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/client/async_http_client.py +1 -0
  37. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/client/base.py +0 -1
  38. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/client/http_client.py +0 -2
  39. agentscope_runtime-1.1.0b3/src/agentscope_runtime/sandbox/manager/heartbeat_mixin.py +486 -0
  40. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/manager/sandbox_manager.py +740 -153
  41. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/manager/server/app.py +18 -11
  42. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/manager/server/config.py +10 -2
  43. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/mcp_server.py +0 -1
  44. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/model/__init__.py +2 -1
  45. agentscope_runtime-1.1.0b3/src/agentscope_runtime/sandbox/model/container.py +150 -0
  46. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/model/manager_config.py +45 -1
  47. agentscope_runtime-1.1.0b3/src/agentscope_runtime/version.py +2 -0
  48. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3/src/agentscope_runtime.egg-info}/PKG-INFO +37 -54
  49. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime.egg-info/SOURCES.txt +2 -21
  50. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime.egg-info/requires.txt +1 -2
  51. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/adapters/agentscope/long_term_memory/__init__.py +0 -6
  52. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/adapters/agentscope/long_term_memory/_long_term_memory_adapter.py +0 -258
  53. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/adapters/agentscope/memory/__init__.py +0 -6
  54. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/adapters/agentscope/memory/_memory_adapter.py +0 -152
  55. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/adapters/agentscope/message.py +0 -603
  56. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/deployers/adapter/agui/__init__.py +0 -8
  57. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/services/agent_state/__init__.py +0 -25
  58. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/services/agent_state/redis_state_service.py +0 -166
  59. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/services/agent_state/state_service.py +0 -179
  60. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/services/agent_state/state_service_factory.py +0 -52
  61. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/services/memory/__init__.py +0 -33
  62. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/services/memory/mem0_memory_service.py +0 -128
  63. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/services/memory/memory_service.py +0 -292
  64. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/services/memory/memory_service_factory.py +0 -126
  65. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/services/memory/redis_memory_service.py +0 -290
  66. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/services/memory/reme_personal_memory_service.py +0 -109
  67. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/services/memory/reme_task_memory_service.py +0 -11
  68. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/services/memory/tablestore_memory_service.py +0 -301
  69. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/services/session_history/__init__.py +0 -32
  70. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/services/session_history/redis_session_history_service.py +0 -283
  71. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/services/session_history/session_history_service.py +0 -267
  72. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/services/session_history/session_history_service_factory.py +0 -73
  73. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/engine/services/session_history/tablestore_session_history_service.py +0 -288
  74. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/sandbox/model/container.py +0 -63
  75. agentscope_runtime-1.0.5.post1/src/agentscope_runtime/version.py +0 -2
  76. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/LICENSE +0 -0
  77. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/setup.cfg +0 -0
  78. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/setup.py +0 -0
  79. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/__init__.py +0 -0
  80. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/agentscope/__init__.py +0 -0
  81. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/agentscope/tool/__init__.py +0 -0
  82. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/agentscope/tool/sandbox_tool.py +0 -0
  83. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/agentscope/tool/tool.py +0 -0
  84. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/agno/__init__.py +0 -0
  85. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/autogen/__init__.py +0 -0
  86. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/autogen/tool/__init__.py +0 -0
  87. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/autogen/tool/tool.py +0 -0
  88. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/ms_agent_framework/__init__.py +0 -0
  89. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/text/__init__.py +0 -0
  90. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/adapters/utils.py +0 -0
  91. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/__init__.py +0 -0
  92. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/cli.py +0 -0
  93. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/commands/__init__.py +0 -0
  94. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/commands/chat.py +0 -0
  95. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/commands/deploy.py +0 -0
  96. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/commands/invoke.py +0 -0
  97. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/commands/list_cmd.py +0 -0
  98. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/commands/run.py +0 -0
  99. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/commands/sandbox.py +0 -0
  100. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/commands/status.py +0 -0
  101. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/commands/stop.py +0 -0
  102. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/commands/web.py +0 -0
  103. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/loaders/__init__.py +0 -0
  104. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/loaders/agent_loader.py +0 -0
  105. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/state/__init__.py +0 -0
  106. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/utils/__init__.py +0 -0
  107. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/utils/console.py +0 -0
  108. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/cli/utils/validators.py +0 -0
  109. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/__init__.py +0 -0
  110. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/collections/__init__.py +0 -0
  111. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/collections/base_mapping.py +0 -0
  112. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/collections/base_queue.py +0 -0
  113. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/collections/base_set.py +0 -0
  114. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/collections/in_memory_mapping.py +0 -0
  115. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/collections/in_memory_queue.py +0 -0
  116. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/collections/in_memory_set.py +0 -0
  117. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/collections/redis_mapping.py +0 -0
  118. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/collections/redis_queue.py +0 -0
  119. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/collections/redis_set.py +0 -0
  120. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/container_clients/__init__.py +0 -0
  121. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/container_clients/base_client.py +0 -0
  122. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/container_clients/docker_client.py +0 -0
  123. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/container_clients/gvisor_client.py +0 -0
  124. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/container_clients/knative_client.py +0 -0
  125. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/container_clients/kubernetes_client.py +0 -0
  126. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/utils/__init__.py +0 -0
  127. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/common/utils/lazy_loader.py +0 -0
  128. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/__init__.py +0 -0
  129. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/app/__init__.py +0 -0
  130. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/app/base_app.py +0 -0
  131. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/constant.py +0 -0
  132. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/__init__.py +0 -0
  133. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/adapter/__init__.py +0 -0
  134. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/adapter/a2a/__init__.py +0 -0
  135. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_adapter_utils.py +0 -0
  136. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_agent_adapter.py +0 -0
  137. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_protocol_adapter.py +0 -0
  138. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_registry.py +0 -0
  139. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/adapter/a2a/nacos_a2a_registry.py +0 -0
  140. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/adapter/protocol_adapter.py +0 -0
  141. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/adapter/responses/__init__.py +0 -0
  142. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_adapter_utils.py +0 -0
  143. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_agent_adapter.py +0 -0
  144. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_protocol_adapter.py +0 -0
  145. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/agentrun_deployer.py +0 -0
  146. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/base.py +0 -0
  147. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/cli_fc_deploy.py +0 -0
  148. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/fc_deployer.py +0 -0
  149. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/knative_deployer.py +0 -0
  150. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/kubernetes_deployer.py +0 -0
  151. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/local_deployer.py +0 -0
  152. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/modelstudio_deployer.py +0 -0
  153. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/pai_deployer.py +0 -0
  154. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/state/__init__.py +0 -0
  155. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/state/manager.py +0 -0
  156. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/state/schema.py +0 -0
  157. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/__init__.py +0 -0
  158. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/app_runner_utils.py +0 -0
  159. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/build_cache.py +0 -0
  160. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/deployment_modes.py +0 -0
  161. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/detached_app.py +0 -0
  162. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/__init__.py +0 -0
  163. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/docker_image_builder.py +0 -0
  164. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/dockerfile_generator.py +0 -0
  165. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/image_factory.py +0 -0
  166. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/k8s_utils.py +0 -0
  167. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/net_utils.py +0 -0
  168. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/oss_utils.py +0 -0
  169. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/package.py +0 -0
  170. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/service_utils/__init__.py +0 -0
  171. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/service_utils/fastapi_templates.py +0 -0
  172. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/service_utils/process_manager.py +0 -0
  173. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/templates/app_main.py.j2 +0 -0
  174. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/templates/runner_main.py.j2 +0 -0
  175. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/templates/standalone_main.py.j2 +0 -0
  176. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/deployers/utils/wheel_packager.py +0 -0
  177. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/helpers/agent_api_builder.py +0 -0
  178. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/helpers/agent_api_client.py +0 -0
  179. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/helpers/runner.py +0 -0
  180. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/misc/__init__.py +0 -0
  181. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/schemas/__init__.py +0 -0
  182. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/schemas/embedding.py +0 -0
  183. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/schemas/exception.py +0 -0
  184. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/schemas/modelstudio_llm.py +0 -0
  185. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/schemas/oai_llm.py +0 -0
  186. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/schemas/realtime.py +0 -0
  187. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/schemas/response_api.py +0 -0
  188. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/schemas/session.py +0 -0
  189. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/services/__init__.py +0 -0
  190. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/services/base.py +0 -0
  191. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/services/sandbox/__init__.py +0 -0
  192. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/services/sandbox/sandbox_service_factory.py +0 -0
  193. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/services/service_factory.py +0 -0
  194. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/services/utils/__init__.py +0 -0
  195. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/services/utils/tablestore_service_utils.py +0 -0
  196. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/tracing/__init__.py +0 -0
  197. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/tracing/asyncio_util.py +0 -0
  198. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/tracing/base.py +0 -0
  199. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/tracing/local_logging_handler.py +0 -0
  200. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/tracing/message_util.py +0 -0
  201. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/tracing/tracing_metric.py +0 -0
  202. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/tracing/tracing_util.py +0 -0
  203. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/engine/tracing/wrapper.py +0 -0
  204. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/__init__.py +0 -0
  205. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/__init__.py +0 -0
  206. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/agentbay/__init__.py +0 -0
  207. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/agentbay/agentbay_sandbox.py +0 -0
  208. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/base/__init__.py +0 -0
  209. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/base/box/__init__.py +0 -0
  210. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/browser/__init__.py +0 -0
  211. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/browser/box/__init__.py +0 -0
  212. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/cloud/__init__.py +0 -0
  213. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/cloud/cloud_sandbox.py +0 -0
  214. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/dummy/__init__.py +0 -0
  215. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/filesystem/__init__.py +0 -0
  216. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/filesystem/box/__init__.py +0 -0
  217. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/gui/__init__.py +0 -0
  218. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/gui/box/__init__.py +0 -0
  219. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/mobile/__init__.py +0 -0
  220. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/mobile/box/__init__.py +0 -0
  221. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/shared/__init__.py +0 -0
  222. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/shared/app.py +0 -0
  223. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/shared/dependencies/__init__.py +0 -0
  224. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/shared/dependencies/deps.py +0 -0
  225. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/shared/routers/__init__.py +0 -0
  226. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/shared/routers/generic.py +0 -0
  227. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/shared/routers/mcp.py +0 -0
  228. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/shared/routers/mcp_utils.py +0 -0
  229. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/shared/routers/runtime_watcher.py +0 -0
  230. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/shared/routers/workspace.py +0 -0
  231. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/training_box/__init__.py +0 -0
  232. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/training_box/base.py +0 -0
  233. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/training_box/env_service.py +0 -0
  234. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/training_box/environments/__init__.py +0 -0
  235. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/training_box/environments/appworld/appworld_env.py +0 -0
  236. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_dataprocess.py +0 -0
  237. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_env.py +0 -0
  238. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/env_handler.py +0 -0
  239. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/training_box/registry.py +0 -0
  240. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/training_box/src/trajectory.py +0 -0
  241. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/box/training_box/training_box.py +0 -0
  242. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/build.py +0 -0
  243. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/client/__init__.py +0 -0
  244. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/client/training_client.py +0 -0
  245. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/constant.py +0 -0
  246. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/custom/__init__.py +0 -0
  247. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/custom/custom_sandbox.py +0 -0
  248. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/custom/example.py +0 -0
  249. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/enums.py +0 -0
  250. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/manager/__init__.py +0 -0
  251. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/manager/server/__init__.py +0 -0
  252. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/manager/server/models.py +0 -0
  253. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/manager/storage/__init__.py +0 -0
  254. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/manager/storage/data_storage.py +0 -0
  255. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/manager/storage/local_storage.py +0 -0
  256. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/manager/storage/oss_storage.py +0 -0
  257. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/model/api.py +0 -0
  258. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/registry.py +0 -0
  259. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/sandbox/utils.py +0 -0
  260. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/RAGs/__init__.py +0 -0
  261. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/RAGs/modelstudio_rag.py +0 -0
  262. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/RAGs/modelstudio_rag_lite.py +0 -0
  263. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/__init__.py +0 -0
  264. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/_constants.py +0 -0
  265. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/alipay/__init__.py +0 -0
  266. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/alipay/base.py +0 -0
  267. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/alipay/payment.py +0 -0
  268. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/alipay/subscribe.py +0 -0
  269. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/base.py +0 -0
  270. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/cli/__init__.py +0 -0
  271. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/cli/modelstudio_mcp_server.py +0 -0
  272. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/__init__.py +0 -0
  273. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/async_image_to_video.py +0 -0
  274. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/async_image_to_video_wan25.py +0 -0
  275. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/async_speech_to_video.py +0 -0
  276. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/async_text_to_video.py +0 -0
  277. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/async_text_to_video_wan25.py +0 -0
  278. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/image_edit.py +0 -0
  279. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/image_edit_wan25.py +0 -0
  280. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/image_generation.py +0 -0
  281. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/image_generation_wan25.py +0 -0
  282. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/image_style_repaint.py +0 -0
  283. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/image_to_video.py +0 -0
  284. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/qwen_image_edit.py +0 -0
  285. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/qwen_image_generation.py +0 -0
  286. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/qwen_text_to_speech.py +0 -0
  287. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/speech_to_text.py +0 -0
  288. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/speech_to_video.py +0 -0
  289. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/generations/text_to_video.py +0 -0
  290. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/mcp_wrapper.py +0 -0
  291. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/modelstudio_memory/__init__.py +0 -0
  292. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/modelstudio_memory/base.py +0 -0
  293. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/modelstudio_memory/config.py +0 -0
  294. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/modelstudio_memory/core.py +0 -0
  295. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/modelstudio_memory/exceptions.py +0 -0
  296. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/modelstudio_memory/schemas.py +0 -0
  297. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/realtime_clients/__init__.py +0 -0
  298. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/realtime_clients/asr_client.py +0 -0
  299. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/realtime_clients/azure_asr_client.py +0 -0
  300. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/realtime_clients/azure_tts_client.py +0 -0
  301. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/realtime_clients/modelstudio_asr_client.py +0 -0
  302. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/realtime_clients/modelstudio_tts_client.py +0 -0
  303. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/realtime_clients/realtime_tool.py +0 -0
  304. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/realtime_clients/tts_client.py +0 -0
  305. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/searches/__init__.py +0 -0
  306. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/searches/modelstudio_search.py +0 -0
  307. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/searches/modelstudio_search_lite.py +0 -0
  308. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/utils/__init__.py +0 -0
  309. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/utils/api_key_util.py +0 -0
  310. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/utils/crypto_utils.py +0 -0
  311. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime/tools/utils/mcp_util.py +0 -0
  312. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime.egg-info/dependency_links.txt +0 -0
  313. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/src/agentscope_runtime.egg-info/entry_points.txt +0 -0
  314. {agentscope_runtime-1.0.5.post1 → agentscope_runtime-1.1.0b3}/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.5.post1
3
+ Version: 1.1.0b3
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
@@ -11,7 +11,7 @@ Requires-Dist: uvicorn[standard]>=0.24.0
11
11
  Requires-Dist: openai
12
12
  Requires-Dist: pydantic>=2.11.7
13
13
  Requires-Dist: requests>=2.32.4
14
- Requires-Dist: agentscope<1.0.12,>=1.0.9
14
+ Requires-Dist: agentscope>=1.0.14
15
15
  Requires-Dist: docker>=7.1.0
16
16
  Requires-Dist: redis>=6.0.0
17
17
  Requires-Dist: oss2>=2.19.1
@@ -50,7 +50,6 @@ Requires-Dist: mem0ai>=0.1.117; extra == "ext"
50
50
  Requires-Dist: alibabacloud-agentrun20250910>=2.0.1; extra == "ext"
51
51
  Requires-Dist: alibabacloud_tea_openapi>=0.4.0; extra == "ext"
52
52
  Requires-Dist: alibabacloud-fc20230330>=4.4.0; extra == "ext"
53
- Requires-Dist: tablestore-for-agent-memory>=1.1.0; extra == "ext"
54
53
  Requires-Dist: langchain-community>=0.3.27; extra == "ext"
55
54
  Requires-Dist: wuying-agentbay-sdk<0.13.0,>=0.5.0; extra == "ext"
56
55
  Requires-Dist: alipay-sdk-python; extra == "ext"
@@ -90,7 +89,7 @@ Dynamic: license-file
90
89
  [![GitHub Forks](https://img.shields.io/github/forks/agentscope-ai/agentscope-runtime?style=flat&logo=github&color=purple&label=Forks)](https://github.com/agentscope-ai/agentscope-runtime/network)
91
90
  [![Build Status](https://img.shields.io/badge/build-passing-brightgreen.svg?logo=githubactions&label=Build)](https://github.com/agentscope-ai/agentscope-runtime/actions)
92
91
  [![Cookbook](https://img.shields.io/badge/📚_Cookbook-English|中文-teal.svg)](https://runtime.agentscope.io)
93
- [![DeepWiki](https://img.shields.io/badge/DeepWiki-agentscope--runtime-navy.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAyCAYAAAAnWDnqAAAAAXNSR0IArs4c6QAAA05JREFUaEPtmUtyEzEQhtWTQyQLHNak2AB7ZnyXZMEjXMGeK/AIi+QuHrMnbChYY7MIh8g01fJoopFb0uhhEqqcbWTp06/uv1saEDv4O3n3dV60RfP947Mm9/SQc0ICFQgzfc4CYZoTPAswgSJCCUJUnAAoRHOAUOcATwbmVLWdGoH//PB8mnKqScAhsD0kYP3j/Yt5LPQe2KvcXmGvRHcDnpxfL2zOYJ1mFwrryWTz0advv1Ut4CJgf5uhDuDj5eUcAUoahrdY/56ebRWeraTjMt/00Sh3UDtjgHtQNHwcRGOC98BJEAEymycmYcWwOprTgcB6VZ5JK5TAJ+fXGLBm3FDAmn6oPPjR4rKCAoJCal2eAiQp2x0vxTPB3ALO2CRkwmDy5WohzBDwSEFKRwPbknEggCPB/imwrycgxX2NzoMCHhPkDwqYMr9tRcP5qNrMZHkVnOjRMWwLCcr8ohBVb1OMjxLwGCvjTikrsBOiA6fNyCrm8V1rP93iVPpwaE+gO0SsWmPiXB+jikdf6SizrT5qKasx5j8ABbHpFTx+vFXp9EnYQmLx02h1QTTrl6eDqxLnGjporxl3NL3agEvXdT0WmEost648sQOYAeJS9Q7bfUVoMGnjo4AZdUMQku50McDcMWcBPvr0SzbTAFDfvJqwLzgxwATnCgnp4wDl6Aa+Ax283gghmj+vj7feE2KBBRMW3FzOpLOADl0Isb5587h/U4gGvkt5v60Z1VLG8BhYjbzRwyQZemwAd6cCR5/XFWLYZRIMpX39AR0tjaGGiGzLVyhse5C9RKC6ai42ppWPKiBagOvaYk8lO7DajerabOZP46Lby5wKjw1HCRx7p9sVMOWGzb/vA1hwiWc6jm3MvQDTogQkiqIhJV0nBQBTU+3okKCFDy9WwferkHjtxib7t3xIUQtHxnIwtx4mpg26/HfwVNVDb4oI9RHmx5WGelRVlrtiw43zboCLaxv46AZeB3IlTkwouebTr1y2NjSpHz68WNFjHvupy3q8TFn3Hos2IAk4Ju5dCo8B3wP7VPr/FGaKiG+T+v+TQqIrOqMTL1VdWV1DdmcbO8KXBz6esmYWYKPwDL5b5FA1a0hwapHiom0r/cKaoqr+27/XcrS5UwSMbQAAAABJRU5ErkJggg==)](https://deepwiki.com/agentscope-ai/agentscope-runtime)
92
+ [![DeepWiki](https://img.shields.io/badge/DeepWiki-Ask_Devin-navy.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAyCAYAAAAnWDnqAAAAAXNSR0IArs4c6QAAA05JREFUaEPtmUtyEzEQhtWTQyQLHNak2AB7ZnyXZMEjXMGeK/AIi+QuHrMnbChYY7MIh8g01fJoopFb0uhhEqqcbWTp06/uv1saEDv4O3n3dV60RfP947Mm9/SQc0ICFQgzfc4CYZoTPAswgSJCCUJUnAAoRHOAUOcATwbmVLWdGoH//PB8mnKqScAhsD0kYP3j/Yt5LPQe2KvcXmGvRHcDnpxfL2zOYJ1mFwrryWTz0advv1Ut4CJgf5uhDuDj5eUcAUoahrdY/56ebRWeraTjMt/00Sh3UDtjgHtQNHwcRGOC98BJEAEymycmYcWwOprTgcB6VZ5JK5TAJ+fXGLBm3FDAmn6oPPjR4rKCAoJCal2eAiQp2x0vxTPB3ALO2CRkwmDy5WohzBDwSEFKRwPbknEggCPB/imwrycgxX2NzoMCHhPkDwqYMr9tRcP5qNrMZHkVnOjRMWwLCcr8ohBVb1OMjxLwGCvjTikrsBOiA6fNyCrm8V1rP93iVPpwaE+gO0SsWmPiXB+jikdf6SizrT5qKasx5j8ABbHpFTx+vFXp9EnYQmLx02h1QTTrl6eDqxLnGjporxl3NL3agEvXdT0WmEost648sQOYAeJS9Q7bfUVoMGnjo4AZdUMQku50McDcMWcBPvr0SzbTAFDfvJqwLzgxwATnCgnp4wDl6Aa+Ax283gghmj+vj7feE2KBBRMW3FzOpLOADl0Isb5587h/U4gGvkt5v60Z1VLG8BhYjbzRwyQZemwAd6cCR5/XFWLYZRIMpX39AR0tjaGGiGzLVyhse5C9RKC6ai42ppWPKiBagOvaYk8lO7DajerabOZP46Lby5wKjw1HCRx7p9sVMOWGzb/vA1hwiWc6jm3MvQDTogQkiqIhJV0nBQBTU+3okKCFDy9WwferkHjtxib7t3xIUQtHxnIwtx4mpg26/HfwVNVDb4oI9RHmx5WGelRVlrtiw43zboCLaxv46AZeB3IlTkwouebTr1y2NjSpHz68WNFjHvupy3q8TFn3Hos2IAk4Ju5dCo8B3wP7VPr/FGaKiG+T+v+TQqIrOqMTL1VdWV1DdmcbO8KXBz6esmYWYKPwDL5b5FA1a0hwapHiom0r/cKaoqr+27/XcrS5UwSMbQAAAABJRU5ErkJggg==)](https://deepwiki.com/agentscope-ai/agentscope-runtime)
94
93
  [![A2A](https://img.shields.io/badge/A2A-Agent_to_Agent-blue.svg?label=A2A)](https://a2a-protocol.org/)
95
94
  [![MCP](https://img.shields.io/badge/MCP-Model_Context_Protocol-purple.svg?logo=plug&label=MCP)](https://modelcontextprotocol.io/)
96
95
  [![Discord](https://img.shields.io/badge/Discord-Join_Us-blueviolet.svg?logo=discord)](https://discord.gg/eYMpfnkG8h)
@@ -171,13 +170,13 @@ Dynamic: license-file
171
170
  >
172
171
  > **About Framework-Agnostic**: Currently, AgentScope Runtime supports the **AgentScope** framework. We plan to extend compatibility to more agent development frameworks in the future. This table shows the current version’s adapter support for different frameworks. The level of support for each functionality varies across frameworks:
173
172
  >
174
- > | Framework/Feature | Message/Event | Tool | Service |
175
- > | ------------------------------------------------------------ | ------------- | ---- | ------- |
176
- > | [AgentScope](https://runtime.agentscope.io/en/quickstart.html) | ✅ | ✅ | ✅ |
177
- > | [LangGraph](https://runtime.agentscope.io/en/langgraph_guidelines.html) | ✅ | 🚧 | 🚧 |
178
- > | [Microsoft Agent Framework](https://runtime.agentscope.io/en/ms_agent_framework_guidelines.html) | ✅ | ✅ | 🚧 |
179
- > | [Agno](https://runtime.agentscope.io/en/agno_guidelines.html) | ✅ | ✅ | 🚧 |
180
- > | AutoGen | 🚧 | ✅ | 🚧 |
173
+ > | Framework/Feature | Message/Event | Tool |
174
+ > | ------------------------------------------------------------ | ------------- | ---- |
175
+ > | [AgentScope](https://runtime.agentscope.io/en/quickstart.html) | ✅ | ✅ |
176
+ > | [LangGraph](https://runtime.agentscope.io/en/langgraph_guidelines.html) | ✅ | 🚧 |
177
+ > | [Microsoft Agent Framework](https://runtime.agentscope.io/en/ms_agent_framework_guidelines.html) | ✅ | ✅ |
178
+ > | [Agno](https://runtime.agentscope.io/en/agno_guidelines.html) | ✅ | ✅ |
179
+ > | AutoGen | 🚧 | ✅ |
181
180
 
182
181
  ---
183
182
 
@@ -230,18 +229,11 @@ from agentscope.model import DashScopeChatModel
230
229
  from agentscope.formatter import DashScopeChatFormatter
231
230
  from agentscope.tool import Toolkit, execute_python_code
232
231
  from agentscope.pipeline import stream_printing_messages
232
+ from agentscope.memory import InMemoryMemory
233
+ from agentscope.session import RedisSession
233
234
 
234
235
  from agentscope_runtime.engine import AgentApp
235
236
  from agentscope_runtime.engine.schemas.agent_schemas import AgentRequest
236
- from agentscope_runtime.adapters.agentscope.memory import (
237
- AgentScopeSessionHistoryMemory,
238
- )
239
- from agentscope_runtime.engine.services.agent_state import (
240
- InMemoryStateService,
241
- )
242
- from agentscope_runtime.engine.services.session_history import (
243
- InMemorySessionHistoryService,
244
- )
245
237
 
246
238
  agent_app = AgentApp(
247
239
  app_name="Friday",
@@ -251,17 +243,13 @@ agent_app = AgentApp(
251
243
 
252
244
  @agent_app.init
253
245
  async def init_func(self):
254
- self.state_service = InMemoryStateService()
255
- self.session_service = InMemorySessionHistoryService()
256
-
257
- await self.state_service.start()
258
- await self.session_service.start()
246
+ import fakeredis
259
247
 
260
-
261
- @agent_app.shutdown
262
- async def shutdown_func(self):
263
- await self.state_service.stop()
264
- await self.session_service.stop()
248
+ fake_redis = fakeredis.aioredis.FakeRedis(decode_responses=True)
249
+ # NOTE: This FakeRedis instance is for development/testing only.
250
+ # In production, replace it with your own Redis client/connection
251
+ # (e.g., aioredis.Redis)
252
+ self.session = RedisSession(connection_pool=fake_redis.connection_pool)
265
253
 
266
254
 
267
255
  @agent_app.query(framework="agentscope")
@@ -274,11 +262,6 @@ async def query_func(
274
262
  session_id = request.session_id
275
263
  user_id = request.user_id
276
264
 
277
- state = await self.state_service.export_state(
278
- session_id=session_id,
279
- user_id=user_id,
280
- )
281
-
282
265
  toolkit = Toolkit()
283
266
  toolkit.register_tool_function(execute_python_code)
284
267
 
@@ -291,17 +274,16 @@ async def query_func(
291
274
  ),
292
275
  sys_prompt="You're a helpful assistant named Friday.",
293
276
  toolkit=toolkit,
294
- memory=AgentScopeSessionHistoryMemory(
295
- service=self.session_service,
296
- session_id=session_id,
297
- user_id=user_id,
298
- ),
277
+ memory=InMemoryMemory(),
299
278
  formatter=DashScopeChatFormatter(),
300
279
  )
301
280
  agent.set_console_output_enabled(enabled=False)
302
281
 
303
- if state:
304
- agent.load_state_dict(state)
282
+ await self.session.load_session_state(
283
+ session_id=session_id,
284
+ user_id=user_id,
285
+ agent=agent,
286
+ )
305
287
 
306
288
  async for msg, last in stream_printing_messages(
307
289
  agents=[agent],
@@ -309,12 +291,10 @@ async def query_func(
309
291
  ):
310
292
  yield msg, last
311
293
 
312
- state = agent.state_dict()
313
-
314
- await self.state_service.save_state(
315
- user_id=user_id,
294
+ await self.session.save_session_state(
316
295
  session_id=session_id,
317
- state=state,
296
+ user_id=user_id,
297
+ agent=agent,
318
298
  )
319
299
 
320
300
 
@@ -394,7 +374,7 @@ from agentscope_runtime.sandbox import BaseSandboxAsync
394
374
 
395
375
  async with BaseSandboxAsync() as box:
396
376
  # Default image is `agentscope/runtime-sandbox-base:latest`
397
- print(await box.list_tools()) # List all available tools
377
+ print(await box.list_tools_async()) # List all available tools
398
378
  print(await box.run_ipython_cell(code="print('hi')")) # Run Python code
399
379
  print(await box.run_shell_command(command="echo hello")) # Run shell command
400
380
  input("Press Enter to continue...")
@@ -423,7 +403,7 @@ from agentscope_runtime.sandbox import GuiSandboxAsync
423
403
 
424
404
  async with GuiSandboxAsync() as box:
425
405
  # Default image is `agentscope/runtime-sandbox-gui:latest`
426
- print(await box.list_tools()) # List all available tools
406
+ print(await box.list_tools_async()) # List all available tools
427
407
  print(box.desktop_url) # Web desktop access URL
428
408
  print(await box.computer_use(action="get_cursor_position")) # Get mouse cursor position
429
409
  print(await box.computer_use(action="get_screenshot")) # Capture screenshot
@@ -452,7 +432,7 @@ from agentscope_runtime.sandbox import BrowserSandboxAsync
452
432
 
453
433
  async with BrowserSandboxAsync() as box:
454
434
  # Default image is `agentscope/runtime-sandbox-browser:latest`
455
- print(await box.list_tools()) # List all available tools
435
+ print(await box.list_tools_async()) # List all available tools
456
436
  print(box.desktop_url) # Web desktop access URL
457
437
  await box.browser_navigate("https://www.google.com/") # Open a webpage
458
438
  input("Press Enter to continue...")
@@ -480,7 +460,7 @@ from agentscope_runtime.sandbox import FilesystemSandboxAsync
480
460
 
481
461
  async with FilesystemSandboxAsync() as box:
482
462
  # Default image is `agentscope/runtime-sandbox-filesystem:latest`
483
- print(await box.list_tools()) # List all available tools
463
+ print(await box.list_tools_async()) # List all available tools
484
464
  print(box.desktop_url) # Web desktop access URL
485
465
  await box.create_directory("test") # Create a directory
486
466
  input("Press Enter to continue...")
@@ -526,7 +506,7 @@ from agentscope_runtime.sandbox import MobileSandboxAsync
526
506
 
527
507
  async with MobileSandboxAsync() as box:
528
508
  # Default image is 'agentscope/runtime-sandbox-mobile:latest'
529
- print(await box.list_tools()) # List all available tools
509
+ print(await box.list_tools_async()) # List all available tools
530
510
  print(await box.mobile_get_screen_resolution()) # Get the screen resolution
531
511
  print(await box.mobile_tap([500, 1000])) # Tap at coordinate (500, 1000)
532
512
  print(await box.mobile_input_text("Hello from AgentScope!")) # Input text
@@ -649,7 +629,7 @@ After deployment, users can also access this service using the Response API of t
649
629
  ```python
650
630
  from openai import OpenAI
651
631
 
652
- client = OpenAI(base_url="http://0.0.0.0:8090/compatible-mode/v1")
632
+ client = OpenAI(base_url="http://localhost:8090/compatible-mode/v1")
653
633
 
654
634
  response = client.responses.create(
655
635
  model="any_name",
@@ -763,7 +743,7 @@ limitations under the License.
763
743
 
764
744
  ## ✨ Contributors
765
745
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
766
- [![All Contributors](https://img.shields.io/badge/all_contributors-32-orange.svg?style=flat-square)](#contributors-)
746
+ [![All Contributors](https://img.shields.io/badge/all_contributors-35-orange.svg?style=flat-square)](#contributors-)
767
747
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
768
748
 
769
749
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/emoji-key/)):
@@ -814,6 +794,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/e
814
794
  <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>
815
795
  <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
796
  <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>
797
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/cainiao1992"><img src="https://avatars.githubusercontent.com/u/18435004?v=4?s=100" width="100px;" alt="Xiangfang Chen"/><br /><sub><b>Xiangfang Chen</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=cainiao1992" title="Documentation">📖</a></td>
798
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/Eggiverse"><img src="https://avatars.githubusercontent.com/u/36877740?v=4?s=100" width="100px;" alt="Zhang Shitian"/><br /><sub><b>Zhang Shitian</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3AEggiverse" title="Bug reports">🐛</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=Eggiverse" title="Code">💻</a></td>
799
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/Shun-Chu"><img src="https://avatars.githubusercontent.com/u/73324318?v=4?s=100" width="100px;" alt="Chuss"/><br /><sub><b>Chuss</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3AShun-Chu" title="Bug reports">🐛</a></td>
817
800
  </tr>
818
801
  </tbody>
819
802
  <tfoot>
@@ -14,7 +14,7 @@
14
14
  [![GitHub Forks](https://img.shields.io/github/forks/agentscope-ai/agentscope-runtime?style=flat&logo=github&color=purple&label=Forks)](https://github.com/agentscope-ai/agentscope-runtime/network)
15
15
  [![Build Status](https://img.shields.io/badge/build-passing-brightgreen.svg?logo=githubactions&label=Build)](https://github.com/agentscope-ai/agentscope-runtime/actions)
16
16
  [![Cookbook](https://img.shields.io/badge/📚_Cookbook-English|中文-teal.svg)](https://runtime.agentscope.io)
17
- [![DeepWiki](https://img.shields.io/badge/DeepWiki-agentscope--runtime-navy.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAyCAYAAAAnWDnqAAAAAXNSR0IArs4c6QAAA05JREFUaEPtmUtyEzEQhtWTQyQLHNak2AB7ZnyXZMEjXMGeK/AIi+QuHrMnbChYY7MIh8g01fJoopFb0uhhEqqcbWTp06/uv1saEDv4O3n3dV60RfP947Mm9/SQc0ICFQgzfc4CYZoTPAswgSJCCUJUnAAoRHOAUOcATwbmVLWdGoH//PB8mnKqScAhsD0kYP3j/Yt5LPQe2KvcXmGvRHcDnpxfL2zOYJ1mFwrryWTz0advv1Ut4CJgf5uhDuDj5eUcAUoahrdY/56ebRWeraTjMt/00Sh3UDtjgHtQNHwcRGOC98BJEAEymycmYcWwOprTgcB6VZ5JK5TAJ+fXGLBm3FDAmn6oPPjR4rKCAoJCal2eAiQp2x0vxTPB3ALO2CRkwmDy5WohzBDwSEFKRwPbknEggCPB/imwrycgxX2NzoMCHhPkDwqYMr9tRcP5qNrMZHkVnOjRMWwLCcr8ohBVb1OMjxLwGCvjTikrsBOiA6fNyCrm8V1rP93iVPpwaE+gO0SsWmPiXB+jikdf6SizrT5qKasx5j8ABbHpFTx+vFXp9EnYQmLx02h1QTTrl6eDqxLnGjporxl3NL3agEvXdT0WmEost648sQOYAeJS9Q7bfUVoMGnjo4AZdUMQku50McDcMWcBPvr0SzbTAFDfvJqwLzgxwATnCgnp4wDl6Aa+Ax283gghmj+vj7feE2KBBRMW3FzOpLOADl0Isb5587h/U4gGvkt5v60Z1VLG8BhYjbzRwyQZemwAd6cCR5/XFWLYZRIMpX39AR0tjaGGiGzLVyhse5C9RKC6ai42ppWPKiBagOvaYk8lO7DajerabOZP46Lby5wKjw1HCRx7p9sVMOWGzb/vA1hwiWc6jm3MvQDTogQkiqIhJV0nBQBTU+3okKCFDy9WwferkHjtxib7t3xIUQtHxnIwtx4mpg26/HfwVNVDb4oI9RHmx5WGelRVlrtiw43zboCLaxv46AZeB3IlTkwouebTr1y2NjSpHz68WNFjHvupy3q8TFn3Hos2IAk4Ju5dCo8B3wP7VPr/FGaKiG+T+v+TQqIrOqMTL1VdWV1DdmcbO8KXBz6esmYWYKPwDL5b5FA1a0hwapHiom0r/cKaoqr+27/XcrS5UwSMbQAAAABJRU5ErkJggg==)](https://deepwiki.com/agentscope-ai/agentscope-runtime)
17
+ [![DeepWiki](https://img.shields.io/badge/DeepWiki-Ask_Devin-navy.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAyCAYAAAAnWDnqAAAAAXNSR0IArs4c6QAAA05JREFUaEPtmUtyEzEQhtWTQyQLHNak2AB7ZnyXZMEjXMGeK/AIi+QuHrMnbChYY7MIh8g01fJoopFb0uhhEqqcbWTp06/uv1saEDv4O3n3dV60RfP947Mm9/SQc0ICFQgzfc4CYZoTPAswgSJCCUJUnAAoRHOAUOcATwbmVLWdGoH//PB8mnKqScAhsD0kYP3j/Yt5LPQe2KvcXmGvRHcDnpxfL2zOYJ1mFwrryWTz0advv1Ut4CJgf5uhDuDj5eUcAUoahrdY/56ebRWeraTjMt/00Sh3UDtjgHtQNHwcRGOC98BJEAEymycmYcWwOprTgcB6VZ5JK5TAJ+fXGLBm3FDAmn6oPPjR4rKCAoJCal2eAiQp2x0vxTPB3ALO2CRkwmDy5WohzBDwSEFKRwPbknEggCPB/imwrycgxX2NzoMCHhPkDwqYMr9tRcP5qNrMZHkVnOjRMWwLCcr8ohBVb1OMjxLwGCvjTikrsBOiA6fNyCrm8V1rP93iVPpwaE+gO0SsWmPiXB+jikdf6SizrT5qKasx5j8ABbHpFTx+vFXp9EnYQmLx02h1QTTrl6eDqxLnGjporxl3NL3agEvXdT0WmEost648sQOYAeJS9Q7bfUVoMGnjo4AZdUMQku50McDcMWcBPvr0SzbTAFDfvJqwLzgxwATnCgnp4wDl6Aa+Ax283gghmj+vj7feE2KBBRMW3FzOpLOADl0Isb5587h/U4gGvkt5v60Z1VLG8BhYjbzRwyQZemwAd6cCR5/XFWLYZRIMpX39AR0tjaGGiGzLVyhse5C9RKC6ai42ppWPKiBagOvaYk8lO7DajerabOZP46Lby5wKjw1HCRx7p9sVMOWGzb/vA1hwiWc6jm3MvQDTogQkiqIhJV0nBQBTU+3okKCFDy9WwferkHjtxib7t3xIUQtHxnIwtx4mpg26/HfwVNVDb4oI9RHmx5WGelRVlrtiw43zboCLaxv46AZeB3IlTkwouebTr1y2NjSpHz68WNFjHvupy3q8TFn3Hos2IAk4Ju5dCo8B3wP7VPr/FGaKiG+T+v+TQqIrOqMTL1VdWV1DdmcbO8KXBz6esmYWYKPwDL5b5FA1a0hwapHiom0r/cKaoqr+27/XcrS5UwSMbQAAAABJRU5ErkJggg==)](https://deepwiki.com/agentscope-ai/agentscope-runtime)
18
18
  [![A2A](https://img.shields.io/badge/A2A-Agent_to_Agent-blue.svg?label=A2A)](https://a2a-protocol.org/)
19
19
  [![MCP](https://img.shields.io/badge/MCP-Model_Context_Protocol-purple.svg?logo=plug&label=MCP)](https://modelcontextprotocol.io/)
20
20
  [![Discord](https://img.shields.io/badge/Discord-Join_Us-blueviolet.svg?logo=discord)](https://discord.gg/eYMpfnkG8h)
@@ -95,13 +95,13 @@
95
95
  >
96
96
  > **About Framework-Agnostic**: Currently, AgentScope Runtime supports the **AgentScope** framework. We plan to extend compatibility to more agent development frameworks in the future. This table shows the current version’s adapter support for different frameworks. The level of support for each functionality varies across frameworks:
97
97
  >
98
- > | Framework/Feature | Message/Event | Tool | Service |
99
- > | ------------------------------------------------------------ | ------------- | ---- | ------- |
100
- > | [AgentScope](https://runtime.agentscope.io/en/quickstart.html) | ✅ | ✅ | ✅ |
101
- > | [LangGraph](https://runtime.agentscope.io/en/langgraph_guidelines.html) | ✅ | 🚧 | 🚧 |
102
- > | [Microsoft Agent Framework](https://runtime.agentscope.io/en/ms_agent_framework_guidelines.html) | ✅ | ✅ | 🚧 |
103
- > | [Agno](https://runtime.agentscope.io/en/agno_guidelines.html) | ✅ | ✅ | 🚧 |
104
- > | AutoGen | 🚧 | ✅ | 🚧 |
98
+ > | Framework/Feature | Message/Event | Tool |
99
+ > | ------------------------------------------------------------ | ------------- | ---- |
100
+ > | [AgentScope](https://runtime.agentscope.io/en/quickstart.html) | ✅ | ✅ |
101
+ > | [LangGraph](https://runtime.agentscope.io/en/langgraph_guidelines.html) | ✅ | 🚧 |
102
+ > | [Microsoft Agent Framework](https://runtime.agentscope.io/en/ms_agent_framework_guidelines.html) | ✅ | ✅ |
103
+ > | [Agno](https://runtime.agentscope.io/en/agno_guidelines.html) | ✅ | ✅ |
104
+ > | AutoGen | 🚧 | ✅ |
105
105
 
106
106
  ---
107
107
 
@@ -154,18 +154,11 @@ from agentscope.model import DashScopeChatModel
154
154
  from agentscope.formatter import DashScopeChatFormatter
155
155
  from agentscope.tool import Toolkit, execute_python_code
156
156
  from agentscope.pipeline import stream_printing_messages
157
+ from agentscope.memory import InMemoryMemory
158
+ from agentscope.session import RedisSession
157
159
 
158
160
  from agentscope_runtime.engine import AgentApp
159
161
  from agentscope_runtime.engine.schemas.agent_schemas import AgentRequest
160
- from agentscope_runtime.adapters.agentscope.memory import (
161
- AgentScopeSessionHistoryMemory,
162
- )
163
- from agentscope_runtime.engine.services.agent_state import (
164
- InMemoryStateService,
165
- )
166
- from agentscope_runtime.engine.services.session_history import (
167
- InMemorySessionHistoryService,
168
- )
169
162
 
170
163
  agent_app = AgentApp(
171
164
  app_name="Friday",
@@ -175,17 +168,13 @@ agent_app = AgentApp(
175
168
 
176
169
  @agent_app.init
177
170
  async def init_func(self):
178
- self.state_service = InMemoryStateService()
179
- self.session_service = InMemorySessionHistoryService()
180
-
181
- await self.state_service.start()
182
- await self.session_service.start()
171
+ import fakeredis
183
172
 
184
-
185
- @agent_app.shutdown
186
- async def shutdown_func(self):
187
- await self.state_service.stop()
188
- await self.session_service.stop()
173
+ fake_redis = fakeredis.aioredis.FakeRedis(decode_responses=True)
174
+ # NOTE: This FakeRedis instance is for development/testing only.
175
+ # In production, replace it with your own Redis client/connection
176
+ # (e.g., aioredis.Redis)
177
+ self.session = RedisSession(connection_pool=fake_redis.connection_pool)
189
178
 
190
179
 
191
180
  @agent_app.query(framework="agentscope")
@@ -198,11 +187,6 @@ async def query_func(
198
187
  session_id = request.session_id
199
188
  user_id = request.user_id
200
189
 
201
- state = await self.state_service.export_state(
202
- session_id=session_id,
203
- user_id=user_id,
204
- )
205
-
206
190
  toolkit = Toolkit()
207
191
  toolkit.register_tool_function(execute_python_code)
208
192
 
@@ -215,17 +199,16 @@ async def query_func(
215
199
  ),
216
200
  sys_prompt="You're a helpful assistant named Friday.",
217
201
  toolkit=toolkit,
218
- memory=AgentScopeSessionHistoryMemory(
219
- service=self.session_service,
220
- session_id=session_id,
221
- user_id=user_id,
222
- ),
202
+ memory=InMemoryMemory(),
223
203
  formatter=DashScopeChatFormatter(),
224
204
  )
225
205
  agent.set_console_output_enabled(enabled=False)
226
206
 
227
- if state:
228
- agent.load_state_dict(state)
207
+ await self.session.load_session_state(
208
+ session_id=session_id,
209
+ user_id=user_id,
210
+ agent=agent,
211
+ )
229
212
 
230
213
  async for msg, last in stream_printing_messages(
231
214
  agents=[agent],
@@ -233,12 +216,10 @@ async def query_func(
233
216
  ):
234
217
  yield msg, last
235
218
 
236
- state = agent.state_dict()
237
-
238
- await self.state_service.save_state(
239
- user_id=user_id,
219
+ await self.session.save_session_state(
240
220
  session_id=session_id,
241
- state=state,
221
+ user_id=user_id,
222
+ agent=agent,
242
223
  )
243
224
 
244
225
 
@@ -318,7 +299,7 @@ from agentscope_runtime.sandbox import BaseSandboxAsync
318
299
 
319
300
  async with BaseSandboxAsync() as box:
320
301
  # Default image is `agentscope/runtime-sandbox-base:latest`
321
- print(await box.list_tools()) # List all available tools
302
+ print(await box.list_tools_async()) # List all available tools
322
303
  print(await box.run_ipython_cell(code="print('hi')")) # Run Python code
323
304
  print(await box.run_shell_command(command="echo hello")) # Run shell command
324
305
  input("Press Enter to continue...")
@@ -347,7 +328,7 @@ from agentscope_runtime.sandbox import GuiSandboxAsync
347
328
 
348
329
  async with GuiSandboxAsync() as box:
349
330
  # Default image is `agentscope/runtime-sandbox-gui:latest`
350
- print(await box.list_tools()) # List all available tools
331
+ print(await box.list_tools_async()) # List all available tools
351
332
  print(box.desktop_url) # Web desktop access URL
352
333
  print(await box.computer_use(action="get_cursor_position")) # Get mouse cursor position
353
334
  print(await box.computer_use(action="get_screenshot")) # Capture screenshot
@@ -376,7 +357,7 @@ from agentscope_runtime.sandbox import BrowserSandboxAsync
376
357
 
377
358
  async with BrowserSandboxAsync() as box:
378
359
  # Default image is `agentscope/runtime-sandbox-browser:latest`
379
- print(await box.list_tools()) # List all available tools
360
+ print(await box.list_tools_async()) # List all available tools
380
361
  print(box.desktop_url) # Web desktop access URL
381
362
  await box.browser_navigate("https://www.google.com/") # Open a webpage
382
363
  input("Press Enter to continue...")
@@ -404,7 +385,7 @@ from agentscope_runtime.sandbox import FilesystemSandboxAsync
404
385
 
405
386
  async with FilesystemSandboxAsync() as box:
406
387
  # Default image is `agentscope/runtime-sandbox-filesystem:latest`
407
- print(await box.list_tools()) # List all available tools
388
+ print(await box.list_tools_async()) # List all available tools
408
389
  print(box.desktop_url) # Web desktop access URL
409
390
  await box.create_directory("test") # Create a directory
410
391
  input("Press Enter to continue...")
@@ -450,7 +431,7 @@ from agentscope_runtime.sandbox import MobileSandboxAsync
450
431
 
451
432
  async with MobileSandboxAsync() as box:
452
433
  # Default image is 'agentscope/runtime-sandbox-mobile:latest'
453
- print(await box.list_tools()) # List all available tools
434
+ print(await box.list_tools_async()) # List all available tools
454
435
  print(await box.mobile_get_screen_resolution()) # Get the screen resolution
455
436
  print(await box.mobile_tap([500, 1000])) # Tap at coordinate (500, 1000)
456
437
  print(await box.mobile_input_text("Hello from AgentScope!")) # Input text
@@ -573,7 +554,7 @@ After deployment, users can also access this service using the Response API of t
573
554
  ```python
574
555
  from openai import OpenAI
575
556
 
576
- client = OpenAI(base_url="http://0.0.0.0:8090/compatible-mode/v1")
557
+ client = OpenAI(base_url="http://localhost:8090/compatible-mode/v1")
577
558
 
578
559
  response = client.responses.create(
579
560
  model="any_name",
@@ -687,7 +668,7 @@ limitations under the License.
687
668
 
688
669
  ## ✨ Contributors
689
670
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
690
- [![All Contributors](https://img.shields.io/badge/all_contributors-32-orange.svg?style=flat-square)](#contributors-)
671
+ [![All Contributors](https://img.shields.io/badge/all_contributors-35-orange.svg?style=flat-square)](#contributors-)
691
672
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
692
673
 
693
674
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/emoji-key/)):
@@ -738,6 +719,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/e
738
719
  <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>
739
720
  <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
721
  <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>
722
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/cainiao1992"><img src="https://avatars.githubusercontent.com/u/18435004?v=4?s=100" width="100px;" alt="Xiangfang Chen"/><br /><sub><b>Xiangfang Chen</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=cainiao1992" title="Documentation">📖</a></td>
723
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/Eggiverse"><img src="https://avatars.githubusercontent.com/u/36877740?v=4?s=100" width="100px;" alt="Zhang Shitian"/><br /><sub><b>Zhang Shitian</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3AEggiverse" title="Bug reports">🐛</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=Eggiverse" title="Code">💻</a></td>
724
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/Shun-Chu"><img src="https://avatars.githubusercontent.com/u/73324318?v=4?s=100" width="100px;" alt="Chuss"/><br /><sub><b>Chuss</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3AShun-Chu" title="Bug reports">🐛</a></td>
741
725
  </tr>
742
726
  </tbody>
743
727
  <tfoot>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "agentscope-runtime"
3
- version = "1.0.5.post1"
3
+ version = "1.1.0b3"
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"
@@ -11,7 +11,7 @@ dependencies = [
11
11
  "openai",
12
12
  "pydantic>=2.11.7",
13
13
  "requests>=2.32.4",
14
- "agentscope>=1.0.9,<1.0.12",
14
+ "agentscope>=1.0.14",
15
15
  "docker>=7.1.0",
16
16
  "redis>=6.0.0",
17
17
  "oss2>=2.19.1",
@@ -74,7 +74,6 @@ ext = [
74
74
  "alibabacloud-agentrun20250910>=2.0.1",
75
75
  "alibabacloud_tea_openapi>=0.4.0",
76
76
  "alibabacloud-fc20230330>=4.4.0",
77
- "tablestore-for-agent-memory>=1.1.0",
78
77
  "langchain-community>=0.3.27",
79
78
  "wuying-agentbay-sdk>=0.5.0,<0.13.0",
80
79
  "alipay-sdk-python",
@@ -1,4 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  from .version import __version__
3
+ from .common.utils.logging import setup_logger
4
+
5
+ setup_logger()
3
6
 
4
7
  __all__ = ["__version__"]