agentscope-runtime 0.1.6__tar.gz → 0.2.0b2__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 (193) hide show
  1. {agentscope_runtime-0.1.6/src/agentscope_runtime.egg-info → agentscope_runtime-0.2.0b2}/PKG-INFO +72 -51
  2. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/README.md +53 -46
  3. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/pyproject.toml +27 -6
  4. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/manager → agentscope_runtime-0.2.0b2/src/agentscope_runtime/common}/container_clients/kubernetes_client.py +546 -6
  5. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/__init__.py +12 -0
  6. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/agents/agentscope_agent.py +45 -4
  7. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/agents/agno_agent.py +8 -10
  8. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/app/__init__.py +6 -0
  9. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/app/agent_app.py +239 -0
  10. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/app/base_app.py +181 -0
  11. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/app/celery_mixin.py +92 -0
  12. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/__init__.py +16 -0
  13. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_adapter_utils.py +2886 -0
  14. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_agent_adapter.py +51 -0
  15. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/adapter/responses/response_api_protocol_adapter.py +314 -0
  16. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/deployers/base.py +1 -0
  17. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/cli_fc_deploy.py +203 -0
  18. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/kubernetes_deployer.py +272 -0
  19. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/local_deployer.py +499 -0
  20. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/modelstudio_deployer.py +676 -0
  21. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/utils/deployment_modes.py +14 -0
  22. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/__init__.py +8 -0
  23. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/docker_image_builder.py +429 -0
  24. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/dockerfile_generator.py +240 -0
  25. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/utils/docker_image_utils/runner_image_factory.py +306 -0
  26. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/utils/package_project_utils.py +1163 -0
  27. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/utils/service_utils/__init__.py +9 -0
  28. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/utils/service_utils/fastapi_factory.py +1064 -0
  29. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/utils/service_utils/fastapi_templates.py +157 -0
  30. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/utils/service_utils/process_manager.py +268 -0
  31. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/utils/service_utils/service_config.py +75 -0
  32. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/utils/service_utils/service_factory.py +220 -0
  33. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/utils/service_utils/standalone_main.py.j2 +211 -0
  34. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/utils/wheel_packager.py +389 -0
  35. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/helpers/agent_api_builder.py +651 -0
  36. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/runner.py +71 -35
  37. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/schemas/agent_schemas.py +112 -2
  38. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/schemas/embedding.py +37 -0
  39. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/schemas/modelstudio_llm.py +310 -0
  40. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/schemas/oai_llm.py +538 -0
  41. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/schemas/realtime.py +254 -0
  42. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/tablestore_memory_service.py +4 -1
  43. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/tracing/__init__.py +9 -3
  44. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/tracing/asyncio_util.py +24 -0
  45. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/tracing/base.py +66 -34
  46. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/tracing/local_logging_handler.py +45 -31
  47. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/tracing/message_util.py +528 -0
  48. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/tracing/tracing_metric.py +20 -8
  49. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/tracing/tracing_util.py +130 -0
  50. agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/tracing/wrapper.py +946 -0
  51. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/base/base_sandbox.py +2 -1
  52. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/browser/browser_sandbox.py +2 -1
  53. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/dummy/dummy_sandbox.py +2 -1
  54. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/filesystem/filesystem_sandbox.py +2 -1
  55. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/gui/gui_sandbox.py +2 -1
  56. agentscope_runtime-0.2.0b2/src/agentscope_runtime/sandbox/box/shared/__init__.py +0 -0
  57. agentscope_runtime-0.2.0b2/src/agentscope_runtime/sandbox/box/training_box/environments/__init__.py +0 -0
  58. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/training_box/training_box.py +0 -42
  59. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/client/http_client.py +52 -18
  60. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/constant.py +3 -0
  61. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/custom/custom_sandbox.py +2 -1
  62. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/custom/example.py +2 -1
  63. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/enums.py +0 -1
  64. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/manager/sandbox_manager.py +29 -22
  65. agentscope_runtime-0.2.0b2/src/agentscope_runtime/sandbox/manager/server/__init__.py +0 -0
  66. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/model/container.py +6 -0
  67. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/registry.py +1 -1
  68. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/tools/tool.py +4 -0
  69. agentscope_runtime-0.2.0b2/src/agentscope_runtime/version.py +2 -0
  70. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2/src/agentscope_runtime.egg-info}/PKG-INFO +72 -51
  71. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime.egg-info/SOURCES.txt +50 -15
  72. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime.egg-info/entry_points.txt +1 -0
  73. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime.egg-info/requires.txt +18 -4
  74. agentscope_runtime-0.1.6/src/agentscope_runtime/engine/deployers/__init__.py +0 -3
  75. agentscope_runtime-0.1.6/src/agentscope_runtime/engine/deployers/local_deployer.py +0 -586
  76. agentscope_runtime-0.1.6/src/agentscope_runtime/engine/tracing/wrapper.py +0 -321
  77. agentscope_runtime-0.1.6/src/agentscope_runtime/version.py +0 -2
  78. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/LICENSE +0 -0
  79. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/setup.cfg +0 -0
  80. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/setup.py +0 -0
  81. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/__init__.py +0 -0
  82. {agentscope_runtime-0.1.6/src/agentscope_runtime/engine/deployers/adapter → agentscope_runtime-0.2.0b2/src/agentscope_runtime/common}/__init__.py +0 -0
  83. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/manager → agentscope_runtime-0.2.0b2/src/agentscope_runtime/common}/collections/__init__.py +0 -0
  84. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/manager → agentscope_runtime-0.2.0b2/src/agentscope_runtime/common}/collections/base_mapping.py +0 -0
  85. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/manager → agentscope_runtime-0.2.0b2/src/agentscope_runtime/common}/collections/base_queue.py +0 -0
  86. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/manager → agentscope_runtime-0.2.0b2/src/agentscope_runtime/common}/collections/base_set.py +0 -0
  87. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/manager → agentscope_runtime-0.2.0b2/src/agentscope_runtime/common}/collections/in_memory_mapping.py +0 -0
  88. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/manager → agentscope_runtime-0.2.0b2/src/agentscope_runtime/common}/collections/in_memory_queue.py +0 -0
  89. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/manager → agentscope_runtime-0.2.0b2/src/agentscope_runtime/common}/collections/in_memory_set.py +0 -0
  90. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/manager → agentscope_runtime-0.2.0b2/src/agentscope_runtime/common}/collections/redis_mapping.py +0 -0
  91. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/manager → agentscope_runtime-0.2.0b2/src/agentscope_runtime/common}/collections/redis_queue.py +0 -0
  92. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/manager → agentscope_runtime-0.2.0b2/src/agentscope_runtime/common}/collections/redis_set.py +0 -0
  93. {agentscope_runtime-0.1.6/src/agentscope_runtime/engine/misc → agentscope_runtime-0.2.0b2/src/agentscope_runtime/common/container_clients}/__init__.py +0 -0
  94. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/manager → agentscope_runtime-0.2.0b2/src/agentscope_runtime/common}/container_clients/agentrun_client.py +0 -0
  95. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/manager → agentscope_runtime-0.2.0b2/src/agentscope_runtime/common}/container_clients/base_client.py +0 -0
  96. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/manager → agentscope_runtime-0.2.0b2/src/agentscope_runtime/common}/container_clients/docker_client.py +0 -0
  97. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/agents/__init__.py +0 -0
  98. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/agents/autogen_agent.py +0 -0
  99. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/agents/base_agent.py +0 -0
  100. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/agents/langgraph_agent.py +0 -0
  101. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/agents/utils.py +0 -0
  102. {agentscope_runtime-0.1.6/src/agentscope_runtime/engine/schemas → agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/adapter}/__init__.py +0 -0
  103. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/deployers/adapter/a2a/__init__.py +0 -0
  104. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_adapter_utils.py +0 -0
  105. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_agent_adapter.py +0 -0
  106. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/deployers/adapter/a2a/a2a_protocol_adapter.py +0 -0
  107. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/deployers/adapter/protocol_adapter.py +0 -0
  108. {agentscope_runtime-0.1.6/src/agentscope_runtime/engine/services/utils → agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/adapter/responses}/__init__.py +0 -0
  109. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/box → agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/deployers/utils}/__init__.py +0 -0
  110. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/helpers/helper.py +0 -0
  111. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/box/base/box → agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/misc}/__init__.py +0 -0
  112. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/box/browser/box → agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/schemas}/__init__.py +0 -0
  113. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/schemas/context.py +0 -0
  114. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/__init__.py +0 -0
  115. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/base.py +0 -0
  116. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/context_manager.py +0 -0
  117. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/environment_manager.py +0 -0
  118. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/manager.py +0 -0
  119. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/mem0_memory_service.py +0 -0
  120. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/memory_service.py +0 -0
  121. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/rag_service.py +0 -0
  122. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/redis_memory_service.py +0 -0
  123. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/redis_session_history_service.py +0 -0
  124. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/reme_personal_memory_service.py +0 -0
  125. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/reme_task_memory_service.py +0 -0
  126. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/sandbox_service.py +0 -0
  127. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/session_history_service.py +0 -0
  128. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/tablestore_rag_service.py +0 -0
  129. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/tablestore_session_history_service.py +0 -0
  130. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/box/filesystem/box → agentscope_runtime-0.2.0b2/src/agentscope_runtime/engine/services/utils}/__init__.py +0 -0
  131. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/engine/services/utils/tablestore_service_utils.py +0 -0
  132. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/__init__.py +0 -0
  133. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/box/gui → agentscope_runtime-0.2.0b2/src/agentscope_runtime/sandbox}/box/__init__.py +0 -0
  134. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/base/__init__.py +0 -0
  135. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/box/shared → agentscope_runtime-0.2.0b2/src/agentscope_runtime/sandbox/box/base/box}/__init__.py +0 -0
  136. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/browser/__init__.py +0 -0
  137. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/box/training_box/environments → agentscope_runtime-0.2.0b2/src/agentscope_runtime/sandbox/box/browser/box}/__init__.py +0 -0
  138. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/dummy/__init__.py +0 -0
  139. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/filesystem/__init__.py +0 -0
  140. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/manager/container_clients → agentscope_runtime-0.2.0b2/src/agentscope_runtime/sandbox/box/filesystem/box}/__init__.py +0 -0
  141. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/gui/__init__.py +0 -0
  142. {agentscope_runtime-0.1.6/src/agentscope_runtime/sandbox/manager/server → agentscope_runtime-0.2.0b2/src/agentscope_runtime/sandbox/box/gui/box}/__init__.py +0 -0
  143. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/sandbox.py +0 -0
  144. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/shared/app.py +0 -0
  145. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/shared/dependencies/__init__.py +0 -0
  146. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/shared/dependencies/deps.py +0 -0
  147. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/shared/routers/__init__.py +0 -0
  148. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/shared/routers/generic.py +0 -0
  149. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/shared/routers/mcp.py +0 -0
  150. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/shared/routers/mcp_utils.py +0 -0
  151. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/shared/routers/runtime_watcher.py +0 -0
  152. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/shared/routers/workspace.py +0 -0
  153. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/training_box/__init__.py +0 -0
  154. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/training_box/base.py +0 -0
  155. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/training_box/env_service.py +0 -0
  156. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/training_box/environments/appworld/appworld_env.py +0 -0
  157. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_dataprocess.py +0 -0
  158. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_env.py +0 -0
  159. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/training_box/environments/bfcl/env_handler.py +0 -0
  160. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/training_box/registry.py +0 -0
  161. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/box/training_box/src/trajectory.py +0 -0
  162. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/build.py +0 -0
  163. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/client/__init__.py +0 -0
  164. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/client/training_client.py +0 -0
  165. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/custom/__init__.py +0 -0
  166. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/manager/__init__.py +0 -0
  167. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/manager/server/app.py +0 -0
  168. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/manager/server/config.py +0 -0
  169. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/manager/server/models.py +0 -0
  170. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/manager/storage/__init__.py +0 -0
  171. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/manager/storage/data_storage.py +0 -0
  172. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/manager/storage/local_storage.py +0 -0
  173. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/manager/storage/oss_storage.py +0 -0
  174. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/mcp_server.py +0 -0
  175. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/model/__init__.py +0 -0
  176. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/model/api.py +0 -0
  177. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/model/manager_config.py +0 -0
  178. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/tools/__init__.py +0 -0
  179. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/tools/base/__init__.py +0 -0
  180. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/tools/base/tool.py +0 -0
  181. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/tools/browser/__init__.py +0 -0
  182. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/tools/browser/tool.py +0 -0
  183. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/tools/filesystem/__init__.py +0 -0
  184. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/tools/filesystem/tool.py +0 -0
  185. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/tools/function_tool.py +0 -0
  186. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/tools/gui/__init__.py +0 -0
  187. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/tools/gui/tool.py +0 -0
  188. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/tools/mcp_tool.py +0 -0
  189. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/tools/sandbox_tool.py +0 -0
  190. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/tools/utils.py +0 -0
  191. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime/sandbox/utils.py +0 -0
  192. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/src/agentscope_runtime.egg-info/dependency_links.txt +0 -0
  193. {agentscope_runtime-0.1.6 → agentscope_runtime-0.2.0b2}/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: 0.1.6
3
+ Version: 0.2.0b2
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
@@ -19,21 +19,22 @@ Requires-Dist: pydantic-settings>=2.9.1
19
19
  Requires-Dist: python-dotenv>=1.0.1
20
20
  Requires-Dist: kubernetes>=33.1.0
21
21
  Requires-Dist: shortuuid>=1.0.13
22
+ Requires-Dist: celery[redis]>=5.3.1
23
+ Requires-Dist: a2a-sdk>=0.3.0
22
24
  Provides-Extra: dev
23
25
  Requires-Dist: pytest>=8.3.5; extra == "dev"
24
26
  Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
25
27
  Requires-Dist: pre-commit>=4.2.0; extra == "dev"
26
- Requires-Dist: jupyter-book>=1.0.4.post1; extra == "dev"
28
+ Requires-Dist: jupyter-book<2.0.0,>=1.0.4.post1; extra == "dev"
27
29
  Requires-Dist: furo>=2025.7.19; extra == "dev"
28
30
  Requires-Dist: pytest-cov>=6.2.1; extra == "dev"
29
31
  Requires-Dist: fakeredis>=2.31.0; extra == "dev"
30
32
  Requires-Dist: sphinx-autoapi>=3.6.0; extra == "dev"
33
+ Requires-Dist: pytest-mock>=3.15.1; extra == "dev"
31
34
  Provides-Extra: langgraph
32
35
  Requires-Dist: langgraph>=0.5.3; extra == "langgraph"
33
36
  Provides-Extra: agno
34
- Requires-Dist: agno<2.0.0,>=1.7.5; extra == "agno"
35
- Provides-Extra: a2a
36
- Requires-Dist: a2a-sdk>=0.3.0; extra == "a2a"
37
+ Requires-Dist: agno>=2.0.0; extra == "agno"
37
38
  Provides-Extra: autogen
38
39
  Requires-Dist: autogen-agentchat>=0.7.4; extra == "autogen"
39
40
  Requires-Dist: autogen-ext[openai]>=0.7.4; extra == "autogen"
@@ -61,12 +62,26 @@ Requires-Dist: langchain-community>=0.3.27; extra == "aliyun-tablestore-ext"
61
62
  Provides-Extra: memory-ext
62
63
  Requires-Dist: reme-ai==0.1.9; python_full_version >= "3.12" and extra == "memory-ext"
63
64
  Requires-Dist: mem0ai>=0.1.117; extra == "memory-ext"
65
+ Provides-Extra: deployment
66
+ Requires-Dist: alibabacloud-oss-v2; extra == "deployment"
67
+ Requires-Dist: alibabacloud-bailian20231229>=2.5.0; extra == "deployment"
68
+ Requires-Dist: build; extra == "deployment"
69
+ Requires-Dist: setuptools>=40.8.0; extra == "deployment"
70
+ Requires-Dist: wheel; extra == "deployment"
71
+ Requires-Dist: steel-sdk>=0.1.0; extra == "deployment"
72
+ Requires-Dist: alibabacloud-credentials; extra == "deployment"
73
+ Requires-Dist: jinja2; extra == "deployment"
74
+ Requires-Dist: psutil; extra == "deployment"
75
+ Requires-Dist: shortuuid>=1.0.13; extra == "deployment"
76
+ Requires-Dist: PyYAML; extra == "deployment"
77
+ Requires-Dist: oss2>=2.19.1; extra == "deployment"
64
78
  Dynamic: license-file
65
79
 
66
80
  <div align="center">
67
81
 
68
82
  # AgentScope Runtime
69
83
 
84
+ [![GitHub Repo](https://img.shields.io/badge/GitHub-Repo-black.svg?logo=github)](https://github.com/agentscope-ai/agentscope-runtime)
70
85
  [![PyPI](https://img.shields.io/pypi/v/agentscope-runtime?label=PyPI&color=brightgreen&logo=python)](https://pypi.org/project/agentscope-runtime/)
71
86
  [![Downloads](https://static.pepy.tech/badge/agentscope-runtime)](https://pepy.tech/project/agentscope-runtime)
72
87
  [![Python Version](https://img.shields.io/badge/python-3.10%2B-blue.svg?logo=python&label=Python)](https://python.org)
@@ -96,6 +111,7 @@ Dynamic: license-file
96
111
 
97
112
  ## 🆕 NEWS
98
113
 
114
+ * **[2025-10]** We released `v0.2.0` — introducing **`AgentApp` API server support**, enabling easy use of agent applications and custom API endpoints through synchronous, asynchronous, and streaming interfaces. Check our [cookbook](https://runtime.agentscope.io/en/agent_app.html) for more details.
99
115
  * **[2025-10]** **GUI Sandbox** is added with support for virtual desktop environments, mouse, keyboard, and screen operations. Introduced the **`desktop_url`** property for GUI Sandbox, Browser Sandbox, and Filesystem Sandbox — allowing direct access to the virtual desktop via your browser. Check our [cookbook](https://runtime.agentscope.io/en/sandbox.html#sandbox-usage) for more details.
100
116
 
101
117
  ---
@@ -160,61 +176,63 @@ cd agentscope-runtime
160
176
  pip install -e .
161
177
  ```
162
178
 
163
- ### Basic Agent Usage Example
179
+ ### Basic Agent App Example
164
180
 
165
- This example demonstrates how to create an agentscope agent using AgentScope Runtime and
166
- stream responses from the Qwen model.
181
+ This example demonstrates how to create an agent API server using agentscope `ReActAgent` and `AgentApp`. The server will process your input and return streaming agent-generated responses.
167
182
 
168
183
 
169
184
  ```python
170
- import asyncio
171
185
  import os
172
186
 
173
- from agentscope_runtime.engine import Runner
187
+ from agentscope_runtime.engine import AgentApp
174
188
  from agentscope_runtime.engine.agents.agentscope_agent import AgentScopeAgent
175
- from agentscope_runtime.engine.schemas.agent_schemas import AgentRequest
176
- from agentscope_runtime.engine.services.context_manager import ContextManager
177
189
 
178
190
  from agentscope.agent import ReActAgent
179
191
  from agentscope.model import OpenAIChatModel
180
192
 
181
- async def main():
182
- # Set up the language model and agent
183
- agent = AgentScopeAgent(
184
- name="Friday",
185
- model=OpenAIChatModel(
186
- "gpt-4",
187
- api_key=os.getenv("OPENAI_API_KEY"),
188
- ),
189
- agent_config={
190
- "sys_prompt": "You're a helpful assistant named Friday.",
191
- },
192
- agent_builder=ReActAgent,
193
- )
194
- async with ContextManager() as context_manager:
195
- runner = Runner(agent=agent, context_manager=context_manager)
196
-
197
- # Create a request and stream the response
198
- request = AgentRequest(
199
- input=[
200
- {
201
- "role": "user",
202
- "content": [
203
- {
204
- "type": "text",
205
- "text": "What is the capital of France?",
206
- },
207
- ],
208
- },
209
- ],
210
- )
211
-
212
- async for message in runner.stream_query(request=request):
213
- if hasattr(message, "text"):
214
- print(f"Streamed Answer: {message.text}")
215
-
216
-
217
- asyncio.run(main())
193
+
194
+ agent = AgentScopeAgent(
195
+ name="Friday",
196
+ model=OpenAIChatModel(
197
+ "gpt-4",
198
+ api_key=os.getenv("OPENAI_API_KEY"),
199
+ ),
200
+ agent_config={
201
+ "sys_prompt": "You're a helpful assistant named Friday.",
202
+ },
203
+ agent_builder=ReActAgent, # Or use your own agent builder
204
+ )
205
+ app = AgentApp(agent=agent, endpoint_path="/process")
206
+
207
+ app.run(host="0.0.0.0", port=8090)
208
+ ```
209
+
210
+ The server will start and listen on: `http://localhost:8090/process`. You can send JSON input to the API using `curl`:
211
+
212
+ ```bash
213
+ curl -N \
214
+ -X POST "http://localhost:8090/process" \
215
+ -H "Content-Type: application/json" \
216
+ -d '{
217
+ "input": [
218
+ {
219
+ "role": "user",
220
+ "content": [
221
+ { "type": "text", "text": "What is the capital of France?" }
222
+ ]
223
+ }
224
+ ]
225
+ }'
226
+ ```
227
+
228
+ You’ll see output streamed in **Server-Sent Events (SSE)** format:
229
+
230
+ ```bash
231
+ data: {"sequence_number":0,"object":"response","status":"created", ... }
232
+ data: {"sequence_number":1,"object":"response","status":"in_progress", ... }
233
+ data: {"sequence_number":2,"object":"content","status":"in_progress","text":"The" }
234
+ data: {"sequence_number":3,"object":"content","status":"in_progress","text":" capital of France is Paris." }
235
+ data: {"sequence_number":4,"object":"message","status":"completed","text":"The capital of France is Paris." }
218
236
  ```
219
237
 
220
238
  ### Basic Sandbox Usage Example
@@ -354,7 +372,7 @@ agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-ba
354
372
 
355
373
  ---
356
374
 
357
- ## 🔌 Agent Framework Integration
375
+ ## 🔌 Other Agent Framework Integration
358
376
 
359
377
  ### Agno Integration
360
378
 
@@ -507,7 +525,7 @@ limitations under the License.
507
525
 
508
526
  ## Contributors ✨
509
527
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
510
- [![All Contributors](https://img.shields.io/badge/all_contributors-14-orange.svg?style=flat-square)](#contributors-)
528
+ [![All Contributors](https://img.shields.io/badge/all_contributors-15-orange.svg?style=flat-square)](#contributors-)
511
529
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
512
530
 
513
531
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
@@ -535,6 +553,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
535
553
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/Sodawyx"><img src="https://avatars.githubusercontent.com/u/34974468?v=4?s=100" width="100px;" alt="Yuxuan Wu"/><br /><sub><b>Yuxuan Wu</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=Sodawyx" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=Sodawyx" title="Documentation">📖</a></td>
536
554
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/TianYu92"><img src="https://avatars.githubusercontent.com/u/12960468?v=4?s=100" width="100px;" alt="Fear1es5"/><br /><sub><b>Fear1es5</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3ATianYu92" title="Bug reports">🐛</a></td>
537
555
  </tr>
556
+ <tr>
557
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/ms-cs"><img src="https://avatars.githubusercontent.com/u/43086458?v=4?s=100" width="100px;" alt="zhiyong"/><br /><sub><b>zhiyong</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=ms-cs" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3Ams-cs" title="Bug reports">🐛</a></td>
558
+ </tr>
538
559
  </tbody>
539
560
  <tfoot>
540
561
  <tr>
@@ -2,6 +2,7 @@
2
2
 
3
3
  # AgentScope Runtime
4
4
 
5
+ [![GitHub Repo](https://img.shields.io/badge/GitHub-Repo-black.svg?logo=github)](https://github.com/agentscope-ai/agentscope-runtime)
5
6
  [![PyPI](https://img.shields.io/pypi/v/agentscope-runtime?label=PyPI&color=brightgreen&logo=python)](https://pypi.org/project/agentscope-runtime/)
6
7
  [![Downloads](https://static.pepy.tech/badge/agentscope-runtime)](https://pepy.tech/project/agentscope-runtime)
7
8
  [![Python Version](https://img.shields.io/badge/python-3.10%2B-blue.svg?logo=python&label=Python)](https://python.org)
@@ -31,6 +32,7 @@
31
32
 
32
33
  ## 🆕 NEWS
33
34
 
35
+ * **[2025-10]** We released `v0.2.0` — introducing **`AgentApp` API server support**, enabling easy use of agent applications and custom API endpoints through synchronous, asynchronous, and streaming interfaces. Check our [cookbook](https://runtime.agentscope.io/en/agent_app.html) for more details.
34
36
  * **[2025-10]** **GUI Sandbox** is added with support for virtual desktop environments, mouse, keyboard, and screen operations. Introduced the **`desktop_url`** property for GUI Sandbox, Browser Sandbox, and Filesystem Sandbox — allowing direct access to the virtual desktop via your browser. Check our [cookbook](https://runtime.agentscope.io/en/sandbox.html#sandbox-usage) for more details.
35
37
 
36
38
  ---
@@ -95,61 +97,63 @@ cd agentscope-runtime
95
97
  pip install -e .
96
98
  ```
97
99
 
98
- ### Basic Agent Usage Example
100
+ ### Basic Agent App Example
99
101
 
100
- This example demonstrates how to create an agentscope agent using AgentScope Runtime and
101
- stream responses from the Qwen model.
102
+ This example demonstrates how to create an agent API server using agentscope `ReActAgent` and `AgentApp`. The server will process your input and return streaming agent-generated responses.
102
103
 
103
104
 
104
105
  ```python
105
- import asyncio
106
106
  import os
107
107
 
108
- from agentscope_runtime.engine import Runner
108
+ from agentscope_runtime.engine import AgentApp
109
109
  from agentscope_runtime.engine.agents.agentscope_agent import AgentScopeAgent
110
- from agentscope_runtime.engine.schemas.agent_schemas import AgentRequest
111
- from agentscope_runtime.engine.services.context_manager import ContextManager
112
110
 
113
111
  from agentscope.agent import ReActAgent
114
112
  from agentscope.model import OpenAIChatModel
115
113
 
116
- async def main():
117
- # Set up the language model and agent
118
- agent = AgentScopeAgent(
119
- name="Friday",
120
- model=OpenAIChatModel(
121
- "gpt-4",
122
- api_key=os.getenv("OPENAI_API_KEY"),
123
- ),
124
- agent_config={
125
- "sys_prompt": "You're a helpful assistant named Friday.",
126
- },
127
- agent_builder=ReActAgent,
128
- )
129
- async with ContextManager() as context_manager:
130
- runner = Runner(agent=agent, context_manager=context_manager)
131
-
132
- # Create a request and stream the response
133
- request = AgentRequest(
134
- input=[
135
- {
136
- "role": "user",
137
- "content": [
138
- {
139
- "type": "text",
140
- "text": "What is the capital of France?",
141
- },
142
- ],
143
- },
144
- ],
145
- )
146
-
147
- async for message in runner.stream_query(request=request):
148
- if hasattr(message, "text"):
149
- print(f"Streamed Answer: {message.text}")
150
-
151
-
152
- asyncio.run(main())
114
+
115
+ agent = AgentScopeAgent(
116
+ name="Friday",
117
+ model=OpenAIChatModel(
118
+ "gpt-4",
119
+ api_key=os.getenv("OPENAI_API_KEY"),
120
+ ),
121
+ agent_config={
122
+ "sys_prompt": "You're a helpful assistant named Friday.",
123
+ },
124
+ agent_builder=ReActAgent, # Or use your own agent builder
125
+ )
126
+ app = AgentApp(agent=agent, endpoint_path="/process")
127
+
128
+ app.run(host="0.0.0.0", port=8090)
129
+ ```
130
+
131
+ The server will start and listen on: `http://localhost:8090/process`. You can send JSON input to the API using `curl`:
132
+
133
+ ```bash
134
+ curl -N \
135
+ -X POST "http://localhost:8090/process" \
136
+ -H "Content-Type: application/json" \
137
+ -d '{
138
+ "input": [
139
+ {
140
+ "role": "user",
141
+ "content": [
142
+ { "type": "text", "text": "What is the capital of France?" }
143
+ ]
144
+ }
145
+ ]
146
+ }'
147
+ ```
148
+
149
+ You’ll see output streamed in **Server-Sent Events (SSE)** format:
150
+
151
+ ```bash
152
+ data: {"sequence_number":0,"object":"response","status":"created", ... }
153
+ data: {"sequence_number":1,"object":"response","status":"in_progress", ... }
154
+ data: {"sequence_number":2,"object":"content","status":"in_progress","text":"The" }
155
+ data: {"sequence_number":3,"object":"content","status":"in_progress","text":" capital of France is Paris." }
156
+ data: {"sequence_number":4,"object":"message","status":"completed","text":"The capital of France is Paris." }
153
157
  ```
154
158
 
155
159
  ### Basic Sandbox Usage Example
@@ -289,7 +293,7 @@ agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-ba
289
293
 
290
294
  ---
291
295
 
292
- ## 🔌 Agent Framework Integration
296
+ ## 🔌 Other Agent Framework Integration
293
297
 
294
298
  ### Agno Integration
295
299
 
@@ -442,7 +446,7 @@ limitations under the License.
442
446
 
443
447
  ## Contributors ✨
444
448
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
445
- [![All Contributors](https://img.shields.io/badge/all_contributors-14-orange.svg?style=flat-square)](#contributors-)
449
+ [![All Contributors](https://img.shields.io/badge/all_contributors-15-orange.svg?style=flat-square)](#contributors-)
446
450
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
447
451
 
448
452
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
@@ -470,6 +474,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
470
474
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/Sodawyx"><img src="https://avatars.githubusercontent.com/u/34974468?v=4?s=100" width="100px;" alt="Yuxuan Wu"/><br /><sub><b>Yuxuan Wu</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=Sodawyx" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=Sodawyx" title="Documentation">📖</a></td>
471
475
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/TianYu92"><img src="https://avatars.githubusercontent.com/u/12960468?v=4?s=100" width="100px;" alt="Fear1es5"/><br /><sub><b>Fear1es5</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3ATianYu92" title="Bug reports">🐛</a></td>
472
476
  </tr>
477
+ <tr>
478
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/ms-cs"><img src="https://avatars.githubusercontent.com/u/43086458?v=4?s=100" width="100px;" alt="zhiyong"/><br /><sub><b>zhiyong</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=ms-cs" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/issues?q=author%3Ams-cs" title="Bug reports">🐛</a></td>
479
+ </tr>
473
480
  </tbody>
474
481
  <tfoot>
475
482
  <tr>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "agentscope-runtime"
3
- version = "0.1.6"
3
+ version = "0.2.0b2"
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"
@@ -19,10 +19,16 @@ dependencies = [
19
19
  "python-dotenv>=1.0.1",
20
20
  "kubernetes>=33.1.0",
21
21
  "shortuuid>=1.0.13",
22
+ "celery[redis]>=5.3.1",
23
+ "a2a-sdk>=0.3.0",
22
24
  ]
23
25
 
24
26
  [tool.setuptools]
25
27
  packages = { find = { where = ["src"] } }
28
+ include-package-data = true
29
+
30
+ [tool.setuptools.package-data]
31
+ "agentscope_runtime.engine.deployers.utils.service_utils" = ["*.j2"]
26
32
 
27
33
  [build-system]
28
34
  requires = ["setuptools>=42", "wheel"]
@@ -32,17 +38,19 @@ build-backend = "setuptools.build_meta"
32
38
  runtime-sandbox-mcp = "agentscope_runtime.sandbox.mcp_server:main"
33
39
  runtime-sandbox-server = "agentscope_runtime.sandbox.manager.server.app:main"
34
40
  runtime-sandbox-builder = "agentscope_runtime.sandbox.build:main"
41
+ runtime-fc-deploy = "agentscope_runtime.engine.deployers.cli_fc_deploy:main"
35
42
 
36
43
  [project.optional-dependencies]
37
44
  dev = [
38
45
  "pytest>=8.3.5",
39
46
  "pytest-asyncio>=0.23.0",
40
47
  "pre-commit>=4.2.0",
41
- "jupyter-book>=1.0.4.post1",
48
+ "jupyter-book>=1.0.4.post1,<2.0.0",
42
49
  "furo>=2025.7.19",
43
50
  "pytest-cov>=6.2.1",
44
51
  "fakeredis>=2.31.0",
45
52
  "sphinx-autoapi>=3.6.0",
53
+ "pytest-mock>=3.15.1",
46
54
  ]
47
55
 
48
56
  langgraph = [
@@ -50,10 +58,7 @@ langgraph = [
50
58
  ]
51
59
 
52
60
  agno = [
53
- "agno>=1.7.5,<2.0.0",
54
- ]
55
- a2a = [
56
- "a2a-sdk>=0.3.0",
61
+ "agno>=2.0.0",
57
62
  ]
58
63
  autogen = [
59
64
  "autogen-agentchat>=0.7.4",
@@ -92,3 +97,19 @@ memory-ext = [
92
97
  "reme-ai==0.1.9 ; python_full_version >= '3.12'",
93
98
  "mem0ai>=0.1.117"
94
99
  ]
100
+
101
+
102
+ deployment = [
103
+ "alibabacloud-oss-v2",
104
+ "alibabacloud-bailian20231229>=2.5.0",
105
+ "build",
106
+ "setuptools>=40.8.0",
107
+ "wheel",
108
+ "steel-sdk>=0.1.0",
109
+ "alibabacloud-credentials",
110
+ "jinja2",
111
+ "psutil",
112
+ "shortuuid>=1.0.13",
113
+ "PyYAML",
114
+ "oss2>=2.19.1"
115
+ ]