agentscope-runtime 0.1.5b1__py3-none-any.whl → 0.1.6__py3-none-any.whl

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 (90) hide show
  1. agentscope_runtime/engine/agents/agentscope_agent.py +447 -0
  2. agentscope_runtime/engine/agents/agno_agent.py +19 -18
  3. agentscope_runtime/engine/agents/autogen_agent.py +13 -8
  4. agentscope_runtime/engine/agents/utils.py +53 -0
  5. agentscope_runtime/engine/deployers/__init__.py +0 -13
  6. agentscope_runtime/engine/deployers/local_deployer.py +501 -356
  7. agentscope_runtime/engine/helpers/helper.py +60 -41
  8. agentscope_runtime/engine/runner.py +11 -36
  9. agentscope_runtime/engine/schemas/agent_schemas.py +2 -70
  10. agentscope_runtime/engine/services/sandbox_service.py +62 -70
  11. agentscope_runtime/engine/services/tablestore_memory_service.py +304 -0
  12. agentscope_runtime/engine/services/tablestore_rag_service.py +143 -0
  13. agentscope_runtime/engine/services/tablestore_session_history_service.py +293 -0
  14. agentscope_runtime/engine/services/utils/tablestore_service_utils.py +352 -0
  15. agentscope_runtime/sandbox/__init__.py +2 -0
  16. agentscope_runtime/sandbox/box/base/__init__.py +4 -0
  17. agentscope_runtime/sandbox/box/base/base_sandbox.py +4 -3
  18. agentscope_runtime/sandbox/box/browser/__init__.py +4 -0
  19. agentscope_runtime/sandbox/box/browser/browser_sandbox.py +8 -13
  20. agentscope_runtime/sandbox/box/dummy/__init__.py +4 -0
  21. agentscope_runtime/sandbox/box/filesystem/__init__.py +4 -0
  22. agentscope_runtime/sandbox/box/filesystem/filesystem_sandbox.py +8 -6
  23. agentscope_runtime/sandbox/box/gui/__init__.py +4 -0
  24. agentscope_runtime/sandbox/box/gui/gui_sandbox.py +80 -0
  25. agentscope_runtime/sandbox/box/sandbox.py +5 -2
  26. agentscope_runtime/sandbox/box/shared/routers/generic.py +20 -1
  27. agentscope_runtime/sandbox/box/training_box/__init__.py +4 -0
  28. agentscope_runtime/sandbox/box/training_box/training_box.py +10 -15
  29. agentscope_runtime/sandbox/build.py +143 -58
  30. agentscope_runtime/sandbox/client/http_client.py +43 -49
  31. agentscope_runtime/sandbox/client/training_client.py +0 -1
  32. agentscope_runtime/sandbox/constant.py +24 -1
  33. agentscope_runtime/sandbox/custom/custom_sandbox.py +5 -5
  34. agentscope_runtime/sandbox/custom/example.py +2 -2
  35. agentscope_runtime/sandbox/enums.py +1 -0
  36. agentscope_runtime/sandbox/manager/collections/in_memory_mapping.py +11 -6
  37. agentscope_runtime/sandbox/manager/collections/redis_mapping.py +25 -9
  38. agentscope_runtime/sandbox/manager/container_clients/__init__.py +0 -10
  39. agentscope_runtime/sandbox/manager/container_clients/agentrun_client.py +1098 -0
  40. agentscope_runtime/sandbox/manager/container_clients/docker_client.py +33 -205
  41. agentscope_runtime/sandbox/manager/container_clients/kubernetes_client.py +8 -555
  42. agentscope_runtime/sandbox/manager/sandbox_manager.py +187 -88
  43. agentscope_runtime/sandbox/manager/server/app.py +82 -14
  44. agentscope_runtime/sandbox/manager/server/config.py +50 -3
  45. agentscope_runtime/sandbox/model/container.py +6 -23
  46. agentscope_runtime/sandbox/model/manager_config.py +93 -5
  47. agentscope_runtime/sandbox/tools/gui/__init__.py +7 -0
  48. agentscope_runtime/sandbox/tools/gui/tool.py +77 -0
  49. agentscope_runtime/sandbox/tools/mcp_tool.py +6 -2
  50. agentscope_runtime/sandbox/utils.py +124 -0
  51. agentscope_runtime/version.py +1 -1
  52. {agentscope_runtime-0.1.5b1.dist-info → agentscope_runtime-0.1.6.dist-info}/METADATA +168 -77
  53. {agentscope_runtime-0.1.5b1.dist-info → agentscope_runtime-0.1.6.dist-info}/RECORD +59 -78
  54. {agentscope_runtime-0.1.5b1.dist-info → agentscope_runtime-0.1.6.dist-info}/entry_points.txt +0 -1
  55. agentscope_runtime/engine/agents/agentscope_agent/__init__.py +0 -6
  56. agentscope_runtime/engine/agents/agentscope_agent/agent.py +0 -401
  57. agentscope_runtime/engine/agents/agentscope_agent/hooks.py +0 -169
  58. agentscope_runtime/engine/agents/llm_agent.py +0 -51
  59. agentscope_runtime/engine/deployers/adapter/responses/response_api_adapter_utils.py +0 -2886
  60. agentscope_runtime/engine/deployers/adapter/responses/response_api_agent_adapter.py +0 -51
  61. agentscope_runtime/engine/deployers/adapter/responses/response_api_protocol_adapter.py +0 -314
  62. agentscope_runtime/engine/deployers/cli_fc_deploy.py +0 -143
  63. agentscope_runtime/engine/deployers/kubernetes_deployer.py +0 -265
  64. agentscope_runtime/engine/deployers/modelstudio_deployer.py +0 -626
  65. agentscope_runtime/engine/deployers/utils/deployment_modes.py +0 -14
  66. agentscope_runtime/engine/deployers/utils/docker_image_utils/__init__.py +0 -8
  67. agentscope_runtime/engine/deployers/utils/docker_image_utils/docker_image_builder.py +0 -429
  68. agentscope_runtime/engine/deployers/utils/docker_image_utils/dockerfile_generator.py +0 -240
  69. agentscope_runtime/engine/deployers/utils/docker_image_utils/runner_image_factory.py +0 -297
  70. agentscope_runtime/engine/deployers/utils/package_project_utils.py +0 -932
  71. agentscope_runtime/engine/deployers/utils/service_utils/__init__.py +0 -9
  72. agentscope_runtime/engine/deployers/utils/service_utils/fastapi_factory.py +0 -504
  73. agentscope_runtime/engine/deployers/utils/service_utils/fastapi_templates.py +0 -157
  74. agentscope_runtime/engine/deployers/utils/service_utils/process_manager.py +0 -268
  75. agentscope_runtime/engine/deployers/utils/service_utils/service_config.py +0 -75
  76. agentscope_runtime/engine/deployers/utils/service_utils/service_factory.py +0 -220
  77. agentscope_runtime/engine/deployers/utils/wheel_packager.py +0 -389
  78. agentscope_runtime/engine/helpers/agent_api_builder.py +0 -651
  79. agentscope_runtime/engine/llms/__init__.py +0 -3
  80. agentscope_runtime/engine/llms/base_llm.py +0 -60
  81. agentscope_runtime/engine/llms/qwen_llm.py +0 -47
  82. agentscope_runtime/engine/schemas/embedding.py +0 -37
  83. agentscope_runtime/engine/schemas/modelstudio_llm.py +0 -310
  84. agentscope_runtime/engine/schemas/oai_llm.py +0 -538
  85. agentscope_runtime/engine/schemas/realtime.py +0 -254
  86. /agentscope_runtime/engine/{deployers/adapter/responses → services/utils}/__init__.py +0 -0
  87. /agentscope_runtime/{engine/deployers/utils → sandbox/box/gui/box}/__init__.py +0 -0
  88. {agentscope_runtime-0.1.5b1.dist-info → agentscope_runtime-0.1.6.dist-info}/WHEEL +0 -0
  89. {agentscope_runtime-0.1.5b1.dist-info → agentscope_runtime-0.1.6.dist-info}/licenses/LICENSE +0 -0
  90. {agentscope_runtime-0.1.5b1.dist-info → agentscope_runtime-0.1.6.dist-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.5b1
3
+ Version: 0.1.6
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
@@ -8,9 +8,17 @@ License-File: LICENSE
8
8
  Requires-Dist: mcp>=1.13
9
9
  Requires-Dist: fastapi>=0.104.0
10
10
  Requires-Dist: uvicorn[standard]>=0.24.0
11
- Requires-Dist: openai>=1.108.1
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.6
15
+ Requires-Dist: docker>=7.1.0
16
+ Requires-Dist: redis>=6.0.0
17
+ Requires-Dist: oss2>=2.19.1
18
+ Requires-Dist: pydantic-settings>=2.9.1
19
+ Requires-Dist: python-dotenv>=1.0.1
20
+ Requires-Dist: kubernetes>=33.1.0
21
+ Requires-Dist: shortuuid>=1.0.13
14
22
  Provides-Extra: dev
15
23
  Requires-Dist: pytest>=8.3.5; extra == "dev"
16
24
  Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
@@ -20,17 +28,6 @@ Requires-Dist: furo>=2025.7.19; extra == "dev"
20
28
  Requires-Dist: pytest-cov>=6.2.1; extra == "dev"
21
29
  Requires-Dist: fakeredis>=2.31.0; extra == "dev"
22
30
  Requires-Dist: sphinx-autoapi>=3.6.0; extra == "dev"
23
- Provides-Extra: sandbox
24
- Requires-Dist: docker>=7.1.0; extra == "sandbox"
25
- Requires-Dist: steel-sdk>=0.1.0; extra == "sandbox"
26
- Requires-Dist: redis>=6.0.0b2; extra == "sandbox"
27
- Requires-Dist: oss2>=2.19.1; extra == "sandbox"
28
- Requires-Dist: pydantic-settings>=2.9.1; extra == "sandbox"
29
- Requires-Dist: dotenv>=0.9.9; extra == "sandbox"
30
- Requires-Dist: kubernetes>=33.1.0; extra == "sandbox"
31
- Requires-Dist: shortuuid>=1.0.13; extra == "sandbox"
32
- Provides-Extra: agentscope
33
- Requires-Dist: agentscope>=1.0.1; extra == "agentscope"
34
31
  Provides-Extra: langgraph
35
32
  Requires-Dist: langgraph>=0.5.3; extra == "langgraph"
36
33
  Provides-Extra: agno
@@ -40,38 +37,30 @@ Requires-Dist: a2a-sdk>=0.3.0; extra == "a2a"
40
37
  Provides-Extra: autogen
41
38
  Requires-Dist: autogen-agentchat>=0.7.4; extra == "autogen"
42
39
  Requires-Dist: autogen-ext[openai]>=0.7.4; extra == "autogen"
40
+ Provides-Extra: agentrun
41
+ Requires-Dist: alibabacloud-agentrun20250910>=1.0.0; extra == "agentrun"
42
+ Requires-Dist: alibabacloud_tea_openapi>=0.4.0; extra == "agentrun"
43
43
  Provides-Extra: langchain-rag
44
44
  Requires-Dist: langchain>=0.3.25; extra == "langchain-rag"
45
- Requires-Dist: pymilvus>=2.6.0; extra == "langchain-rag"
45
+ Requires-Dist: pymilvus[milvus-lite]>=2.6.0; extra == "langchain-rag"
46
46
  Requires-Dist: langchain-community>=0.3.27; extra == "langchain-rag"
47
47
  Requires-Dist: langchain-milvus>=0.2.1; extra == "langchain-rag"
48
48
  Requires-Dist: bs4>=0.0.2; extra == "langchain-rag"
49
49
  Provides-Extra: llamaindex-rag
50
50
  Requires-Dist: llama-index>=0.13.4; extra == "llamaindex-rag"
51
- Requires-Dist: pymilvus>=2.6.0; extra == "llamaindex-rag"
51
+ Requires-Dist: pymilvus[milvus-lite]>=2.6.0; extra == "llamaindex-rag"
52
52
  Requires-Dist: llama-index-vector-stores-milvus>=0.9.1; extra == "llamaindex-rag"
53
53
  Requires-Dist: llama-index-readers-web>=0.5.1; extra == "llamaindex-rag"
54
54
  Requires-Dist: llama-index-embeddings-langchain>=0.4.0; extra == "llamaindex-rag"
55
- Requires-Dist: langchain-community>=0.3.27; extra == "llamaindex-rag"
55
+ Requires-Dist: llama-index-embeddings-dashscope>=0.4.0; extra == "llamaindex-rag"
56
56
  Requires-Dist: bs4>=0.0.2; extra == "llamaindex-rag"
57
+ Provides-Extra: aliyun-tablestore-ext
58
+ Requires-Dist: tablestore-for-agent-memory>=1.1.0; extra == "aliyun-tablestore-ext"
59
+ Requires-Dist: dashscope>=1.24.4; extra == "aliyun-tablestore-ext"
60
+ Requires-Dist: langchain-community>=0.3.27; extra == "aliyun-tablestore-ext"
57
61
  Provides-Extra: memory-ext
58
62
  Requires-Dist: reme-ai==0.1.9; python_full_version >= "3.12" and extra == "memory-ext"
59
63
  Requires-Dist: mem0ai>=0.1.117; extra == "memory-ext"
60
- Provides-Extra: deployment
61
- Requires-Dist: alibabacloud-oss-v2; extra == "deployment"
62
- Requires-Dist: alibabacloud-bailian20231229>=2.5.0; extra == "deployment"
63
- Requires-Dist: build; extra == "deployment"
64
- Requires-Dist: setuptools>=40.8.0; extra == "deployment"
65
- Requires-Dist: wheel; extra == "deployment"
66
- Requires-Dist: steel-sdk>=0.1.0; extra == "deployment"
67
- Requires-Dist: alibabacloud-credentials; extra == "deployment"
68
- Requires-Dist: jinja2; extra == "deployment"
69
- Requires-Dist: psutil; extra == "deployment"
70
- Requires-Dist: shortuuid>=1.0.13; extra == "deployment"
71
- Requires-Dist: docker>=7.1.0; extra == "deployment"
72
- Requires-Dist: kubernetes>=33.1.0; extra == "deployment"
73
- Requires-Dist: PyYAML; extra == "deployment"
74
- Requires-Dist: oss2>=2.19.1; extra == "deployment"
75
64
  Dynamic: license-file
76
65
 
77
66
  <div align="center">
@@ -79,8 +68,9 @@ Dynamic: license-file
79
68
  # AgentScope Runtime
80
69
 
81
70
  [![PyPI](https://img.shields.io/pypi/v/agentscope-runtime?label=PyPI&color=brightgreen&logo=python)](https://pypi.org/project/agentscope-runtime/)
71
+ [![Downloads](https://static.pepy.tech/badge/agentscope-runtime)](https://pepy.tech/project/agentscope-runtime)
82
72
  [![Python Version](https://img.shields.io/badge/python-3.10%2B-blue.svg?logo=python&label=Python)](https://python.org)
83
- [![License](https://img.shields.io/badge/license-Apache%202.0-red.svg?logo=apache&label=Liscnese)](LICENSE)
73
+ [![License](https://img.shields.io/badge/license-Apache%202.0-red.svg?logo=apache&label=License)](LICENSE)
84
74
  [![Code Style](https://img.shields.io/badge/code%20style-black-black.svg?logo=python&label=CodeStyle)](https://github.com/psf/black)
85
75
  [![GitHub Stars](https://img.shields.io/github/stars/agentscope-ai/agentscope-runtime?style=flat&logo=github&color=yellow&label=Stars)](https://github.com/agentscope-ai/agentscope-runtime/stargazers)
86
76
  [![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)
@@ -94,6 +84,7 @@ Dynamic: license-file
94
84
 
95
85
  [[Cookbook]](https://runtime.agentscope.io/)
96
86
  [[中文README]](README_zh.md)
87
+ [[Samples]](https://github.com/agentscope-ai/agentscope-samples)
97
88
 
98
89
  **A Production-Ready Runtime Framework for Intelligent Agent Applications**
99
90
 
@@ -103,6 +94,12 @@ Dynamic: license-file
103
94
 
104
95
  ---
105
96
 
97
+ ## 🆕 NEWS
98
+
99
+ * **[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
+
101
+ ---
102
+
106
103
  ## ✨ Key Features
107
104
 
108
105
  - **🏗️ Deployment Infrastructure**: Built-in services for session management, memory, and sandbox environment control
@@ -150,9 +147,6 @@ From PyPI:
150
147
  ```bash
151
148
  # Install core dependencies
152
149
  pip install agentscope-runtime
153
-
154
- # Install sandbox dependencies
155
- pip install "agentscope-runtime[sandbox]"
156
150
  ```
157
151
 
158
152
  (Optional) From source:
@@ -164,35 +158,41 @@ cd agentscope-runtime
164
158
 
165
159
  # Install core dependencies
166
160
  pip install -e .
167
-
168
- # Install sandbox dependencies
169
- pip install -e ".[sandbox]"
170
161
  ```
171
162
 
172
163
  ### Basic Agent Usage Example
173
164
 
174
- This example demonstrates how to create a simple LLM agent using AgentScope Runtime and stream responses from the Qwen model.
165
+ This example demonstrates how to create an agentscope agent using AgentScope Runtime and
166
+ stream responses from the Qwen model.
167
+
175
168
 
176
169
  ```python
177
170
  import asyncio
178
171
  import os
172
+
179
173
  from agentscope_runtime.engine import Runner
180
- from agentscope_runtime.engine.agents.llm_agent import LLMAgent
181
- from agentscope_runtime.engine.llms import QwenLLM
174
+ from agentscope_runtime.engine.agents.agentscope_agent import AgentScopeAgent
182
175
  from agentscope_runtime.engine.schemas.agent_schemas import AgentRequest
183
176
  from agentscope_runtime.engine.services.context_manager import ContextManager
184
177
 
178
+ from agentscope.agent import ReActAgent
179
+ from agentscope.model import OpenAIChatModel
185
180
 
186
181
  async def main():
187
182
  # Set up the language model and agent
188
- model = QwenLLM(
189
- model_name="qwen-turbo",
190
- api_key=os.getenv("DASHSCOPE_API_KEY"),
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,
191
193
  )
192
- llm_agent = LLMAgent(model=model, name="llm_agent")
193
-
194
194
  async with ContextManager() as context_manager:
195
- runner = Runner(agent=llm_agent, context_manager=context_manager)
195
+ runner = Runner(agent=agent, context_manager=context_manager)
196
196
 
197
197
  # Create a request and stream the response
198
198
  request = AgentRequest(
@@ -219,19 +219,128 @@ asyncio.run(main())
219
219
 
220
220
  ### Basic Sandbox Usage Example
221
221
 
222
- This example demonstrates how to create sandboxed and execute tool within the sandbox.
222
+ These examples demonstrate how to create sandboxed environments and execute tools within them, with some examples featuring interactive frontend interfaces accessible via VNC (Virtual Network Computing):
223
+
224
+ > [!NOTE]
225
+ >
226
+ > Current version requires Docker or Kubernetes to be installed and running on your system. Please refer to [this tutorial](https://runtime.agentscope.io/en/sandbox.html) for more details.
227
+ >
228
+ > If you plan to use the sandbox on a large scale in production, we recommend deploying it directly in Alibaba Cloud for managed hosting: [One-click deploy sandbox on Alibaba Cloud](https://computenest.console.aliyun.com/service/instance/create/default?ServiceName=AgentScope%20Runtime%20%E6%B2%99%E7%AE%B1%E7%8E%AF%E5%A2%83)
229
+
230
+ #### Base Sandbox
231
+
232
+ Use for running **Python code** or **shell commands** in an isolated environment.
223
233
 
224
234
  ```python
225
235
  from agentscope_runtime.sandbox import BaseSandbox
226
236
 
227
237
  with BaseSandbox() as box:
228
- print(box.run_ipython_cell(code="print('hi')"))
229
- print(box.run_shell_command(command="echo hello"))
238
+ # By default, pulls `agentscope/runtime-sandbox-base:latest` from DockerHub
239
+ print(box.list_tools()) # List all available tools
240
+ print(box.run_ipython_cell(code="print('hi')")) # Run Python code
241
+ print(box.run_shell_command(command="echo hello")) # Run shell command
242
+ input("Press Enter to continue...")
230
243
  ```
231
244
 
232
- > [!NOTE]
233
- >
234
- > Current version requires Docker or Kubernetes to be installed and running on your system. Please refer to [this tutorial](https://runtime.agentscope.io/en/sandbox.html) for more details.
245
+ #### GUI Sandbox
246
+
247
+ Provides a **virtual desktop** environment for mouse, keyboard, and screen operations.
248
+
249
+ <img src="https://img.alicdn.com/imgextra/i2/O1CN01df5SaM1xKFQP4KGBW_!!6000000006424-2-tps-2958-1802.png" alt="GUI Sandbox" width="800" height="500">
250
+
251
+ ```python
252
+ from agentscope_runtime.sandbox import GuiSandbox
253
+
254
+ with GuiSandbox() as box:
255
+ # By default, pulls `agentscope/runtime-sandbox-gui:latest` from DockerHub
256
+ print(box.list_tools()) # List all available tools
257
+ print(box.desktop_url) # Web desktop access URL
258
+ print(box.computer_use(action="get_cursor_position")) # Get mouse cursor position
259
+ print(box.computer_use(action="get_screenshot")) # Capture screenshot
260
+ input("Press Enter to continue...")
261
+ ```
262
+
263
+ #### Browser Sandbox
264
+
265
+ A GUI-based sandbox with **browser operations** inside an isolated sandbox.
266
+
267
+ <img src="https://img.alicdn.com/imgextra/i4/O1CN01OIq1dD1gAJMcm0RFR_!!6000000004101-2-tps-2734-1684.png" alt="GUI Sandbox" width="800" height="500">
268
+
269
+ ```python
270
+ from agentscope_runtime.sandbox import BrowserSandbox
271
+
272
+ with BrowserSandbox() as box:
273
+ # By default, pulls `agentscope/runtime-sandbox-browser:latest` from DockerHub
274
+ print(box.list_tools()) # List all available tools
275
+ print(box.desktop_url) # Web desktop access URL
276
+ box.browser_navigate("https://www.google.com/") # Open a webpage
277
+ input("Press Enter to continue...")
278
+ ```
279
+
280
+ #### Filesystem Sandbox
281
+
282
+ A GUI-based sandbox with **file system operations** such as creating, reading, and deleting files.
283
+
284
+ <img src="https://img.alicdn.com/imgextra/i3/O1CN01VocM961vK85gWbJIy_!!6000000006153-2-tps-2730-1686.png" alt="GUI Sandbox" width="800" height="500">
285
+
286
+ ```python
287
+ from agentscope_runtime.sandbox import FilesystemSandbox
288
+
289
+ with FilesystemSandbox() as box:
290
+ # By default, pulls `agentscope/runtime-sandbox-filesystem:latest` from DockerHub
291
+ print(box.list_tools()) # List all available tools
292
+ print(box.desktop_url) # Web desktop access URL
293
+ box.create_directory("test") # Create a directory
294
+ input("Press Enter to continue...")
295
+ ```
296
+
297
+ #### Configuring Sandbox Image Registry, Namespace, and Tag
298
+
299
+ ##### 1. Registry
300
+
301
+ If pulling images from DockerHub fails (for example, due to network restrictions), you can switch the image source to Alibaba Cloud Container Registry for faster access:
302
+
303
+ ```bash
304
+ export RUNTIME_SANDBOX_REGISTRY="agentscope-registry.ap-southeast-1.cr.aliyuncs.com"
305
+ ```
306
+
307
+ ##### 2. Namespace
308
+
309
+ A namespace is used to distinguish images of different teams or projects. You can customize the namespace via an environment variable:
310
+
311
+ ```bash
312
+ export RUNTIME_SANDBOX_IMAGE_NAMESPACE="agentscope"
313
+ ```
314
+
315
+ For example, here `agentscope` will be used as part of the image path.
316
+
317
+ ##### 3. Tag
318
+
319
+ An image tag specifies the version of the image, for example:
320
+
321
+ ```bash
322
+ export RUNTIME_SANDBOX_IMAGE_TAG="preview"
323
+ ```
324
+
325
+ Details:
326
+
327
+ - Default is `latest`, which means the image version matches the PyPI latest release.
328
+ - `preview` means the latest preview version built in sync with the **GitHub main branch**.
329
+ - You can also use a specified version number such as `20250909`. You can check all available image versions at [DockerHub](https://hub.docker.com/repositories/agentscope).
330
+
331
+ ##### 4. Complete Image Path
332
+
333
+ The sandbox SDK will build the full image path based on the above environment variables:
334
+
335
+ ```bash
336
+ <RUNTIME_SANDBOX_REGISTRY>/<RUNTIME_SANDBOX_IMAGE_NAMESPACE>/runtime-sandbox-base:<RUNTIME_SANDBOX_IMAGE_TAG>
337
+ ```
338
+
339
+ Example:
340
+
341
+ ```bash
342
+ agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-base:preview
343
+ ```
235
344
 
236
345
  ---
237
346
 
@@ -247,29 +356,6 @@ with BaseSandbox() as box:
247
356
 
248
357
  ## 🔌 Agent Framework Integration
249
358
 
250
- ### AgentScope Integration
251
-
252
- ```python
253
- # pip install "agentscope-runtime[agentscope]"
254
- import os
255
-
256
- from agentscope.agent import ReActAgent
257
- from agentscope.model import OpenAIChatModel
258
- from agentscope_runtime.engine.agents.agentscope_agent import AgentScopeAgent
259
-
260
- agent = AgentScopeAgent(
261
- name="Friday",
262
- model=OpenAIChatModel(
263
- "gpt-4",
264
- api_key=os.getenv("OPENAI_API_KEY"),
265
- ),
266
- agent_config={
267
- "sys_prompt": "You're a helpful assistant named {name}.",
268
- },
269
- agent_builder=ReActAgent,
270
- )
271
- ```
272
-
273
359
  ### Agno Integration
274
360
 
275
361
  ```python
@@ -421,7 +507,7 @@ limitations under the License.
421
507
 
422
508
  ## Contributors ✨
423
509
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
424
- [![All Contributors](https://img.shields.io/badge/all_contributors-9-orange.svg?style=flat-square)](#contributors-)
510
+ [![All Contributors](https://img.shields.io/badge/all_contributors-14-orange.svg?style=flat-square)](#contributors-)
425
511
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
426
512
 
427
513
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
@@ -443,6 +529,11 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
443
529
  <tr>
444
530
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/Osier-Yi"><img src="https://avatars.githubusercontent.com/u/8287381?v=4?s=100" width="100px;" alt="Osier-Yi"/><br /><sub><b>Osier-Yi</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=Osier-Yi" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=Osier-Yi" title="Documentation">📖</a></td>
445
531
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/kevinlin09"><img src="https://avatars.githubusercontent.com/u/26913335?v=4?s=100" width="100px;" alt="Kevin Lin"/><br /><sub><b>Kevin Lin</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=kevinlin09" title="Code">💻</a></td>
532
+ <td align="center" valign="top" width="14.28%"><a href="https://davdgao.github.io/"><img src="https://avatars.githubusercontent.com/u/102287034?v=4?s=100" width="100px;" alt="DavdGao"/><br /><sub><b>DavdGao</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/pulls?q=is%3Apr+reviewed-by%3ADavdGao" title="Reviewed Pull Requests">👀</a></td>
533
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/FLyLeaf-coder"><img src="https://avatars.githubusercontent.com/u/122603493?v=4?s=100" width="100px;" alt="FlyLeaf"/><br /><sub><b>FlyLeaf</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=FLyLeaf-coder" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=FLyLeaf-coder" title="Documentation">📖</a></td>
534
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/jinghuan-Chen"><img src="https://avatars.githubusercontent.com/u/42742857?v=4?s=100" width="100px;" alt="jinghuan-Chen"/><br /><sub><b>jinghuan-Chen</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=jinghuan-Chen" title="Code">💻</a></td>
535
+ <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
+ <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>
446
537
  </tr>
447
538
  </tbody>
448
539
  <tfoot>
@@ -1,59 +1,28 @@
1
1
  agentscope_runtime/__init__.py,sha256=LMAUeUpPo2qzqh3zyZ-JJwc8GrsiT9b-yNhQMxlKmfE,84
2
- agentscope_runtime/version.py,sha256=s0Y-9zvwHSKPwjich8s41VYb5Y6YcyGmgr3eejmfgHA,48
2
+ agentscope_runtime/version.py,sha256=UYxF4KixRQR_inyGWXpFQncI3EGrq_k2FaANhHeAEWE,47
3
3
  agentscope_runtime/engine/__init__.py,sha256=jsvYM1LlZVP4EFzsE5uu5ycgBU9CVnug7UyTzBmpX5g,213
4
- agentscope_runtime/engine/runner.py,sha256=tlmE7ev4w6MxC1iTlJQT61EQsNrbWKlmvnZVRKxd_JY,7948
4
+ agentscope_runtime/engine/runner.py,sha256=TZY4xHEDU8PYBAFnOQXvqpt9rt3eytQ-D4lrN5VsUqQ,6789
5
5
  agentscope_runtime/engine/agents/__init__.py,sha256=xHp7FY6QM-nAhQAECi7xzrJkRkYZpAa5_zHRhO6Zogc,54
6
- agentscope_runtime/engine/agents/agno_agent.py,sha256=c2f575gc5ZOWGvrdjObo7IGSbM1Si0JQGxKpqtMSf14,6716
7
- agentscope_runtime/engine/agents/autogen_agent.py,sha256=HbtvN8554FnkgMHX418sMgIM-hp7OVCUR2YJybRMKxI,7693
6
+ agentscope_runtime/engine/agents/agentscope_agent.py,sha256=sCknnVrWWGeFTFGtAPpJZh7_ntKKd1FoTP0B4NyKOgQ,15711
7
+ agentscope_runtime/engine/agents/agno_agent.py,sha256=ORv0ivIk4yxQDdKLtwvjjW27FxGGb10vBwITEyfLiqA,6754
8
+ agentscope_runtime/engine/agents/autogen_agent.py,sha256=bpPLpCAz34QD3suJyc4KT3spR5h0ZlvS_FsSlHkU2K0,7844
8
9
  agentscope_runtime/engine/agents/base_agent.py,sha256=fGf4MNKmfm_fsU2orTPLpt7TT5HkZZZYR05rhp5s7-E,782
9
10
  agentscope_runtime/engine/agents/langgraph_agent.py,sha256=05Z5js7g9Dxy-MWj0W00jOtFMNnHzSPjlP3WIIVHTtQ,1416
10
- agentscope_runtime/engine/agents/llm_agent.py,sha256=0hG_FRtAxmlljmI51GT7ui_7wjjHO03wckx9bNKra8Y,1356
11
- agentscope_runtime/engine/agents/agentscope_agent/__init__.py,sha256=lt1NJEDuBWaX1n-bqMbQR6Uol7-fFUuyeuHy8FQrzWk,97
12
- agentscope_runtime/engine/agents/agentscope_agent/agent.py,sha256=73x_KQCE7GjS5mbX-xHQeewgXAoo9BuWOuZpPb4oLS8,14932
13
- agentscope_runtime/engine/agents/agentscope_agent/hooks.py,sha256=iqx-TOQLXUQlQHc2cKjsDfgjO9UWw00AeS3wTymkfYE,5984
14
- agentscope_runtime/engine/deployers/__init__.py,sha256=l6AVY1bFpsraNbdf7H-djukEfm7Wz63xka_xj3s6H48,362
11
+ agentscope_runtime/engine/agents/utils.py,sha256=tddHPNLDWc2_ascNjPi4hLgCe_tC2FSmKsVgTVnrCys,1801
12
+ agentscope_runtime/engine/deployers/__init__.py,sha256=2eUo6uvloMt4AstmalkwcBgR7gPyppNqlmjld0Ztpxk,103
15
13
  agentscope_runtime/engine/deployers/base.py,sha256=0bb3zQiVE1jTMG0NCsjhcSeP7lhnbn1KPQRx1H5hues,494
16
- agentscope_runtime/engine/deployers/cli_fc_deploy.py,sha256=PO3afMHvr1o0ILT5ldFSzghEucJSOCESF26sjLbOPCs,4310
17
- agentscope_runtime/engine/deployers/kubernetes_deployer.py,sha256=G6eVeEqhKzBjU4BjNtZcUTaUOWfukaCkms_FCDJ7dz8,9286
18
- agentscope_runtime/engine/deployers/local_deployer.py,sha256=wJ0wPkQBUJ8ttjpYRBzNzymP00ZDTaNL16k8tuoT9Ho,14911
19
- agentscope_runtime/engine/deployers/modelstudio_deployer.py,sha256=zBWoAme-x3sGsvbh0IjiwL81F1eE9UeyGQJoY3KqFP4,23106
14
+ agentscope_runtime/engine/deployers/local_deployer.py,sha256=LaxGzSMW4aoF717GheYno7N38Y66ifIO4Zt2qRkT_Qg,20691
20
15
  agentscope_runtime/engine/deployers/adapter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
16
  agentscope_runtime/engine/deployers/adapter/protocol_adapter.py,sha256=OpLfBWiFY_xC0uG53UYSeQuUnw7vZzvNnm5w6QFr9_w,737
22
17
  agentscope_runtime/engine/deployers/adapter/a2a/__init__.py,sha256=3D6TxH-seVfR7_SqYttNSkGkZv3o_TS9R5XqUkVxed4,83
23
18
  agentscope_runtime/engine/deployers/adapter/a2a/a2a_adapter_utils.py,sha256=VZ4f7Ne9sRWFiLhuxoKDhwSpsxZTg_uLygoOlI-KlEA,11441
24
19
  agentscope_runtime/engine/deployers/adapter/a2a/a2a_agent_adapter.py,sha256=h7wwl2CiKcGUxhKkrWN7DpaIpTltoRm-6ETS_fJHmEk,2147
25
20
  agentscope_runtime/engine/deployers/adapter/a2a/a2a_protocol_adapter.py,sha256=eDBDu3WTLjZ6TWA3jG48EIos1kZqiKHBXPSVzfNvniM,1905
26
- agentscope_runtime/engine/deployers/adapter/responses/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
- agentscope_runtime/engine/deployers/adapter/responses/response_api_adapter_utils.py,sha256=rsdHgCU0RxTy2lIxjN7wZ9aAH5y4k1XPWibRYhDlONo,98335
28
- agentscope_runtime/engine/deployers/adapter/responses/response_api_agent_adapter.py,sha256=B3F1GOvu_HFFdH8gnKJtVlr8u34jjRV3iKMgVz1XHVY,1593
29
- agentscope_runtime/engine/deployers/adapter/responses/response_api_protocol_adapter.py,sha256=rzicbo0QRqH2Vc2942UO4PsuGNAzXiypWa1wy-M5nyo,10337
30
- agentscope_runtime/engine/deployers/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
- agentscope_runtime/engine/deployers/utils/deployment_modes.py,sha256=vr2UzA1bzAAzxjToj9bVGzRWm47Za6w6cDI0nF1NMD0,448
32
- agentscope_runtime/engine/deployers/utils/package_project_utils.py,sha256=e43hDzLxzPnSJE5PLe5GGDq6iqL-3gvwGArsOgpoOPg,38304
33
- agentscope_runtime/engine/deployers/utils/wheel_packager.py,sha256=zuhgMlfInn9kWd4AsZuOnVXGHOQp9g-BGm4fl_-gMQo,11825
34
- agentscope_runtime/engine/deployers/utils/docker_image_utils/__init__.py,sha256=8y1N1N7VJduS4YdLL9EN1okB5DFOyvIiuHa9HQqm_RU,248
35
- agentscope_runtime/engine/deployers/utils/docker_image_utils/docker_image_builder.py,sha256=Q9RhzzMW8u_-U4v3CpIqm9VIymfi7riwGxUXS94TzRw,13483
36
- agentscope_runtime/engine/deployers/utils/docker_image_utils/dockerfile_generator.py,sha256=YfO_S-G8pYZ_E6XKHnCc3fmnU9V-ec0bCpvuYCpy2i8,7520
37
- agentscope_runtime/engine/deployers/utils/docker_image_utils/runner_image_factory.py,sha256=wWbk-a36fRY0oQq8ssWDk6DfFhTsA3bardR6LRsNMWU,10093
38
- agentscope_runtime/engine/deployers/utils/service_utils/__init__.py,sha256=KaCyUxNXHOSViZi50Ytz7YtS5XJ8jo3YcEmAqjdmw6Q,261
39
- agentscope_runtime/engine/deployers/utils/service_utils/fastapi_factory.py,sha256=QC4pEx-GWdyf8Lh-se0ptJgt-NwuAL94ooQv5kgnkfY,17719
40
- agentscope_runtime/engine/deployers/utils/service_utils/fastapi_templates.py,sha256=mw09nY7IBMG2b5HSUYiT1XtPb6xOGnnokZO8mUZBX3w,4879
41
- agentscope_runtime/engine/deployers/utils/service_utils/process_manager.py,sha256=DW7VTnwOsf2Qln-rfJzGKKWpLdwfz9MSJ74rRMrsJLk,7661
42
- agentscope_runtime/engine/deployers/utils/service_utils/service_config.py,sha256=D00CPmMnaX1j4ija_hSUEvmkVZClElzYVwpwrzN-J54,1911
43
- agentscope_runtime/engine/deployers/utils/service_utils/service_factory.py,sha256=ZXq8LhLGl2DOF84r5kOj644bGStz_RljLjnAymd1_RA,6939
44
- agentscope_runtime/engine/helpers/agent_api_builder.py,sha256=mSixBHF9QDro8UNqijq4A5bM7O89z1i2jz42hMAVdio,18779
45
- agentscope_runtime/engine/helpers/helper.py,sha256=EizXyBl00VscBx7pVOr65qsu4YnNLKAq8eYbRqAXctA,4547
46
- agentscope_runtime/engine/llms/__init__.py,sha256=UV_lqTcsvcihP2OWERLWjiEbcSDbfieD-rFYRWX2xA0,84
47
- agentscope_runtime/engine/llms/base_llm.py,sha256=Vvxlqom35qaSLYSyyh3hj-XsoyFxcf5BqXbvFBnbNE4,1664
48
- agentscope_runtime/engine/llms/qwen_llm.py,sha256=_J-PpwSrKNSmQzO6KNzJlMd5t4m47YVKXp0fl-KYQmA,1271
21
+ agentscope_runtime/engine/helpers/helper.py,sha256=P4JvHbvhQaypitznc9NhSJv9QTZa7c6fKeKzTCvmKeQ,4914
49
22
  agentscope_runtime/engine/misc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
50
23
  agentscope_runtime/engine/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
51
- agentscope_runtime/engine/schemas/agent_schemas.py,sha256=Lc3KYcL3y3cCWNuaaBHp6MPZlNmIb7svQ4UnB0dHn_o,22761
24
+ agentscope_runtime/engine/schemas/agent_schemas.py,sha256=9PSCAuz33dEpE0_cNfOJKSK8ocOprofiR2YYfGezDyo,21194
52
25
  agentscope_runtime/engine/schemas/context.py,sha256=Qd2ee4HCYNmD5VHsacrScdpNq8q2aJwsRtsrBZarI9M,1550
53
- agentscope_runtime/engine/schemas/embedding.py,sha256=yn6VaKPXkze0bvJuaLKzWIOus_AuT-8Z_XRABk4NH60,891
54
- agentscope_runtime/engine/schemas/modelstudio_llm.py,sha256=A9zRQOXD0OOWZVnFCXeW6g_irxP0eONqAL2ZtIyyItQ,9799
55
- agentscope_runtime/engine/schemas/oai_llm.py,sha256=850Wj9VhbStz6qFJy7xTp630l6HwvYnQS25hiwOGAWY,16790
56
- agentscope_runtime/engine/schemas/realtime.py,sha256=caTRKLfCF9v-tKbdurvqMZ1myM9-ft2UeCNuiUIUmEs,7144
57
26
  agentscope_runtime/engine/services/__init__.py,sha256=SAsmwIr8etoUbqz5W1K2pH5ONlFzooXMQ0UFXTXfHwM,271
58
27
  agentscope_runtime/engine/services/base.py,sha256=g2hTc3ivj2MPjnsu5_09m6_MZ3KDHBfiYKu4F2pLA1I,2096
59
28
  agentscope_runtime/engine/services/context_manager.py,sha256=CzL7BgZtkWh74dJV-Sa3bNfqNbiihHIQbbvZuYraqXg,5314
@@ -66,47 +35,56 @@ agentscope_runtime/engine/services/redis_memory_service.py,sha256=2A6ouYghs80jby
66
35
  agentscope_runtime/engine/services/redis_session_history_service.py,sha256=wQ_1d4In5nQkP3Hx-_xRxvgyuXTCLowITiNlaw9Z4II,5086
67
36
  agentscope_runtime/engine/services/reme_personal_memory_service.py,sha256=Cmd0FpHulv8h5IXWKnymHMViXSr2Z8dFtXDj3d8y4Vo,2962
68
37
  agentscope_runtime/engine/services/reme_task_memory_service.py,sha256=d1QV9e1ifAQIO4Kr-Q9gzx7OhKH_CkUhuyygHRLprWo,338
69
- agentscope_runtime/engine/services/sandbox_service.py,sha256=IzVg5BtDEfqFrVy7SnE3GDYXVXc0jzv9XIl0mFYHWDk,6082
38
+ agentscope_runtime/engine/services/sandbox_service.py,sha256=WJp9dZSHYm3eJkw7EoLLj9LgTCjnvrH6xxhWucIKYbI,6038
70
39
  agentscope_runtime/engine/services/session_history_service.py,sha256=C77KwRclXbnMDE3iT5WHglRFYI0aSwDg4EChJCgknzQ,8088
40
+ agentscope_runtime/engine/services/tablestore_memory_service.py,sha256=UX3daPzkvFs6YXs-7KirAe_TtD8zXJKKE49rkL4W5y0,10486
41
+ agentscope_runtime/engine/services/tablestore_rag_service.py,sha256=uGx8I8OGFJPBQs_lTd8Ew-OXMEivEODHA1i9yiFh3Ns,5188
42
+ agentscope_runtime/engine/services/tablestore_session_history_service.py,sha256=peCon6o4Ryyiu3E2AQDgbB8NFsdPi4tIZK4TEiuvFUA,10353
43
+ agentscope_runtime/engine/services/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
44
+ agentscope_runtime/engine/services/utils/tablestore_service_utils.py,sha256=tqJ6RdxHZSGBorZ12iSMdMSbvqUG_c_rtCKrWMaLANE,11005
71
45
  agentscope_runtime/engine/tracing/__init__.py,sha256=DuM6Zp_IJ-ixgTTomtrMbpcYiMJOHMrJHwKIqcLzrfA,1133
72
46
  agentscope_runtime/engine/tracing/base.py,sha256=fYTHN0QmTWa_4zbT4fBduNndOuh03-JE302ssBJtu30,9747
73
47
  agentscope_runtime/engine/tracing/local_logging_handler.py,sha256=LP-2NX7kRPhEN-WtnLNuhMKDSpxhT03kLtHFKkuQFjQ,12315
74
48
  agentscope_runtime/engine/tracing/tracing_metric.py,sha256=3qHqBRiTWijqBPLchxyERfPZCstTo8Y5LuL-eCuQas0,2115
75
49
  agentscope_runtime/engine/tracing/wrapper.py,sha256=ioeKSRJDJgcW34OfFmAq7vgE0FNEFXa_4QLSf7kUBfU,11236
76
- agentscope_runtime/sandbox/__init__.py,sha256=39NF3OdrBoUOje8gHI--cIgLMfY3ojm0JWYmGsEiWFU,378
77
- agentscope_runtime/sandbox/build.py,sha256=rhcsHbDkcQgS4Hxv8z2Lsjp3LnheQyCCTbm3rkv80Tw,6439
78
- agentscope_runtime/sandbox/constant.py,sha256=-CaSZkDPO2XQ70-PVymu4Z5Y7hlvdpPJ3zgP27MLvik,156
79
- agentscope_runtime/sandbox/enums.py,sha256=zGSs3A3SsxjqmSrArn9qEWGO594cYahOHPnG8HHxpYk,1880
50
+ agentscope_runtime/sandbox/__init__.py,sha256=2q36ii6765TpuRET1cHwd69HgOEXjxxCpKD8d-Mrahs,440
51
+ agentscope_runtime/sandbox/build.py,sha256=RAZkV0rFp24BNmJBZiMYAQ4KafUAELO3V1Ys6Afodwc,8451
52
+ agentscope_runtime/sandbox/constant.py,sha256=LylGJTFylyTzdRfAbTPCjavyKioeGZdlwmBGNn1ykZk,942
53
+ agentscope_runtime/sandbox/enums.py,sha256=pccPle1bXihQrZHfgN4XKRKHmBNhJA7P2XT4jgT0HWI,1896
80
54
  agentscope_runtime/sandbox/mcp_server.py,sha256=UT3aRZqyeHqEhhm-wZ0Ilhew3eDMHzz9DCN6Qb-eKFk,6012
81
55
  agentscope_runtime/sandbox/registry.py,sha256=E4APDpk1oxhJCh8dEIDjZ1DtQJ-mPaRGYXr3AbTsnmc,4191
56
+ agentscope_runtime/sandbox/utils.py,sha256=l0gpIM3KjPMlVUtrhOia3Se4HbA4U_MuylySjpoHdrY,3970
82
57
  agentscope_runtime/sandbox/box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
83
- agentscope_runtime/sandbox/box/sandbox.py,sha256=PQk0mljUvrErTsm0aQdd8UggghEvpEE0uPU3pLjY6a4,5220
84
- agentscope_runtime/sandbox/box/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
85
- agentscope_runtime/sandbox/box/base/base_sandbox.py,sha256=zhQLTRtdpktNw7UpWeMKwEd5oWn_L-VUIIY9_IiBT9M,1002
58
+ agentscope_runtime/sandbox/box/sandbox.py,sha256=-BWme4Zxx9xWssRXf6KzH3RVueR9MuzcOcN8Gdu7mTg,5309
59
+ agentscope_runtime/sandbox/box/base/__init__.py,sha256=a68IgljSWvNn1mWaCOeEm2C-7Gf7JiUdDnJpBfID198,89
60
+ agentscope_runtime/sandbox/box/base/base_sandbox.py,sha256=EW3F05WSEU1mwx-FB8B5a6kn-RbG76Osa6kP67aTses,1048
86
61
  agentscope_runtime/sandbox/box/base/box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
87
- agentscope_runtime/sandbox/box/browser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
88
- agentscope_runtime/sandbox/box/browser/browser_sandbox.py,sha256=KDYnGUbWataXknI_mZfE46goh8p3JtIwFQvQ569iaEg,5599
62
+ agentscope_runtime/sandbox/box/browser/__init__.py,sha256=thrkAvtLQ23jR8sM_bSsfmsqFiwpExgh72vnrVUcweQ,98
63
+ agentscope_runtime/sandbox/box/browser/browser_sandbox.py,sha256=acM6xuveaGuEIG2t2mfnv_g5V472Sz-2hJ5BBqZpiqI,5505
89
64
  agentscope_runtime/sandbox/box/browser/box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
90
- agentscope_runtime/sandbox/box/dummy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
65
+ agentscope_runtime/sandbox/box/dummy/__init__.py,sha256=RErHmUx7hFXX69nohtYBS_QSHEWENZHZbWG3434ZDls,92
91
66
  agentscope_runtime/sandbox/box/dummy/dummy_sandbox.py,sha256=Bqy3M_0Rj2iNSlOX2S1wVgffaVj0qAUhdxawRbNHB7w,668
92
- agentscope_runtime/sandbox/box/filesystem/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
93
- agentscope_runtime/sandbox/box/filesystem/filesystem_sandbox.py,sha256=wYDUoOF4Km8yS44APqoMo4W2gbswYFgwFY1tr7AkwXU,2507
67
+ agentscope_runtime/sandbox/box/filesystem/__init__.py,sha256=OsYCqFfattl6y5M55XMwHTeXVnb-pL3cWMJKjTZIu-s,107
68
+ agentscope_runtime/sandbox/box/filesystem/filesystem_sandbox.py,sha256=ishXzQeT1XlXw-5P2sva2vZ9yMpdoCt3nSjO7_hFgRQ,2645
94
69
  agentscope_runtime/sandbox/box/filesystem/box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
70
+ agentscope_runtime/sandbox/box/gui/__init__.py,sha256=-tzNU2yYdKjXD83PlNaMtsu5nqO1yBi2LDevIda2eqo,108
71
+ agentscope_runtime/sandbox/box/gui/gui_sandbox.py,sha256=UAHh5ucgCn2NyQXwn_zcsyEc95iJSuMPz7fRGjZmXQk,2557
72
+ agentscope_runtime/sandbox/box/gui/box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
95
73
  agentscope_runtime/sandbox/box/shared/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
96
74
  agentscope_runtime/sandbox/box/shared/app.py,sha256=bw6l0XPVF86yuh0jO_Sx9S-B-luFE3U3lIb6Qjc3dGU,1107
97
75
  agentscope_runtime/sandbox/box/shared/dependencies/__init__.py,sha256=e1x-6L6vsBbQBrtjrDsdK8eqk-lCqxOIPrSqWyxoG50,98
98
76
  agentscope_runtime/sandbox/box/shared/dependencies/deps.py,sha256=pavJWhin5Dbc1f452PDNaCYo9RkK-y95dwLyYZQMOPQ,687
99
77
  agentscope_runtime/sandbox/box/shared/routers/__init__.py,sha256=QokVfRhfBftiXktqpn3iqdKcSz7TcSn-4Kbf4QhOUXs,273
100
- agentscope_runtime/sandbox/box/shared/routers/generic.py,sha256=OP3aRmswIMj73DeDX4GqsoY1n3oQZ_Ncjxexhj-_xYg,4497
78
+ agentscope_runtime/sandbox/box/shared/routers/generic.py,sha256=5hIwNPpC2Pu4uTqKWGcymBKXdKqbYEsyOYD4Vv7XR44,5164
101
79
  agentscope_runtime/sandbox/box/shared/routers/mcp.py,sha256=_2492A88qba3hUPV67oexfWm-mHEFcr9ygzW-Qqhyi0,6046
102
80
  agentscope_runtime/sandbox/box/shared/routers/mcp_utils.py,sha256=aQEUimxeeve-A-VKx99YeMR4nw7KRpGqzIpMiyNU9dQ,5865
103
81
  agentscope_runtime/sandbox/box/shared/routers/runtime_watcher.py,sha256=v4jAGYtJaYsRJaSTv7e7hmDLHWVAtJqnSnpPq-kFcmU,5344
104
82
  agentscope_runtime/sandbox/box/shared/routers/workspace.py,sha256=cQMbWNQG7ojHZfWN0xFqEivhlpQO4qEDo3amkhVHUBg,9748
105
- agentscope_runtime/sandbox/box/training_box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
83
+ agentscope_runtime/sandbox/box/training_box/__init__.py,sha256=vG2MQviqdmIUSjHmHiC5N_kiHinMnvOdjwW0AUdfZ3Y,125
106
84
  agentscope_runtime/sandbox/box/training_box/base.py,sha256=iUPsfA8oiGDR3BMVU7qisvO-UT8HtCx78ayW67DQ0WQ,3307
107
85
  agentscope_runtime/sandbox/box/training_box/env_service.py,sha256=YoMswhQrX8VmE202tpFq-bQo6gOd2oemBhTG_MD9Rwg,22616
108
86
  agentscope_runtime/sandbox/box/training_box/registry.py,sha256=6fTMZvJbakhEqkaO61K-wIfX6uau7g4nFP63bQ7jiNI,1362
109
- agentscope_runtime/sandbox/box/training_box/training_box.py,sha256=yM1_Veorn2nwnxgAUB-6GZMp_1UKmus9-LpJQwKATxg,10200
87
+ agentscope_runtime/sandbox/box/training_box/training_box.py,sha256=b4FS8KPbVCIKeqP0bunekFzLopeCphQBLnH3ADA9jg0,10186
110
88
  agentscope_runtime/sandbox/box/training_box/environments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
111
89
  agentscope_runtime/sandbox/box/training_box/environments/appworld/appworld_env.py,sha256=FJc0eb6bnKL6lxx_4EKWr7kmKLi2jLsykNstecXEqkc,27786
112
90
  agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_dataprocess.py,sha256=jkg8wDwDXdZZU7q777tnyqc-C9hRlPF0pffJ4DX5upQ,7352
@@ -114,30 +92,31 @@ agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_env.py,sha256
114
92
  agentscope_runtime/sandbox/box/training_box/environments/bfcl/env_handler.py,sha256=T-W9w4nKI7_BXgF9caqV3KMeX5d6yvdfhQu0o2oWTUE,30114
115
93
  agentscope_runtime/sandbox/box/training_box/src/trajectory.py,sha256=cFr3uVUPq5gHKPa6ALi7QCLBVkgYOyPgyJrOzgBHf3k,7885
116
94
  agentscope_runtime/sandbox/client/__init__.py,sha256=KiNsTToc1jICqCC1BcH762jZgHuOkCPiG32oXGo6dQE,176
117
- agentscope_runtime/sandbox/client/http_client.py,sha256=Edu3ZoYJTX_VAMuSDJg_DQ0GiEtZ2jWN1fkcLu3FtMI,17954
118
- agentscope_runtime/sandbox/client/training_client.py,sha256=MYfI06MeyIelwjY4QllVL4exhSCMNpdMudGi2ctVL28,7675
95
+ agentscope_runtime/sandbox/client/http_client.py,sha256=boFNTZyjWVzD73PUiSDl1TSc4mBleP4d3gAj0XuDjnA,17176
96
+ agentscope_runtime/sandbox/client/training_client.py,sha256=WIhGBib2IWQZwUoSJUn8kuIGrtd6Yz3VOxCh0tft630,7625
119
97
  agentscope_runtime/sandbox/custom/__init__.py,sha256=wpu0DlzdLohYzOVM9yZloIWid3w_ME6dPtOjCZKbRZ8,463
120
- agentscope_runtime/sandbox/custom/custom_sandbox.py,sha256=2-HZRUlZcvv-YZh9NrHBByKamhVowwZ_drGJSAwKM8c,971
121
- agentscope_runtime/sandbox/custom/example.py,sha256=ycKmuUHghmPTUYfEQW0AyG5SHt1Ggf3_NlAP5Z6OZAQ,931
98
+ agentscope_runtime/sandbox/custom/custom_sandbox.py,sha256=NmLPYqz-DWGe5o6EuKJrbhAtpyfZbEOXzbw5hn0CNhM,972
99
+ agentscope_runtime/sandbox/custom/example.py,sha256=KDX3fT3BxvmEme9pMfN3xf96MS8CWNVmLyZyboE9hHI,928
122
100
  agentscope_runtime/sandbox/manager/__init__.py,sha256=KNHc1uDaUWBH_ZnWjH5NHRBiQM_zDyi9B2xKVNtAWIg,98
123
- agentscope_runtime/sandbox/manager/sandbox_manager.py,sha256=CTd5bd8EeRMoiL3PcPCW9HciNIWSU5XCe_5qI6IZjXk,23270
101
+ agentscope_runtime/sandbox/manager/sandbox_manager.py,sha256=mZbL4MK1RJEsQa170JHlpECBnotoE0UfY8Wx-D2v2c8,27359
124
102
  agentscope_runtime/sandbox/manager/collections/__init__.py,sha256=teQPF7huMB2yEX_CAFsmIJhQxH7ldHR7gr11W3jlx4o,582
125
103
  agentscope_runtime/sandbox/manager/collections/base_mapping.py,sha256=IIVNwvaGVAiL6XxV0LvUHx-JmDvUc19iOGyRyAccMaI,361
126
104
  agentscope_runtime/sandbox/manager/collections/base_queue.py,sha256=eCwb5eovwzSV83J_Nq3HX_4IQ8rjYw9wdeVRS5sRQHA,424
127
105
  agentscope_runtime/sandbox/manager/collections/base_set.py,sha256=RasZxcXDkvdu89KhZc8Z_4TB5zIDTavCTLVVadfbB8w,449
128
- agentscope_runtime/sandbox/manager/collections/in_memory_mapping.py,sha256=TV8OzoU-0vDn6zO-At-j3xWHaLqBFkH2ymIWqfLvRpA,526
106
+ agentscope_runtime/sandbox/manager/collections/in_memory_mapping.py,sha256=7qU-3C-CX5rPuDjWUH9lnH6yvKIwCfnRwMm2vXy1Olo,645
129
107
  agentscope_runtime/sandbox/manager/collections/in_memory_queue.py,sha256=wTbmT77DI0KLYAgFbmcMl7sr5aB6WjyW_USQXqF9gJ0,612
130
108
  agentscope_runtime/sandbox/manager/collections/in_memory_set.py,sha256=7qek5ZB3f_mdNJ4PUPoYv1yujHybdMjgpCYlFMosyMs,602
131
- agentscope_runtime/sandbox/manager/collections/redis_mapping.py,sha256=CmI_C83gQlbnZWz3vwFe5rySXxND11JnB8-iZbNooxo,688
109
+ agentscope_runtime/sandbox/manager/collections/redis_mapping.py,sha256=OBEYiOsYknw3RLs_DFOFPQV1BxDKCimK1EdrlIGo7u0,1296
132
110
  agentscope_runtime/sandbox/manager/collections/redis_queue.py,sha256=4MCIDs7SgSfdngTvqxWWv2H-8XTpFQOmXG4-fxN20ew,792
133
111
  agentscope_runtime/sandbox/manager/collections/redis_set.py,sha256=eRCnMXc4hcDF2qyxFiNnrn2o4QjvtgDb6rEcblmV1o8,654
134
- agentscope_runtime/sandbox/manager/container_clients/__init__.py,sha256=G5TTwLv_UgWUDwtwr6oohJXuGW3gAwxmgD1VhZH3zs8,225
112
+ agentscope_runtime/sandbox/manager/container_clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
113
+ agentscope_runtime/sandbox/manager/container_clients/agentrun_client.py,sha256=nibFHR5N3tfNDcREi_2obm09a6GZoXV3iZkYq3NsLvY,40672
135
114
  agentscope_runtime/sandbox/manager/container_clients/base_client.py,sha256=_uvxRh65lbMNXDcHjq01aYuNUrcxRlNzRtRIPMgWFGc,992
136
- agentscope_runtime/sandbox/manager/container_clients/docker_client.py,sha256=rmm2mUDfot81kQ7H6O5fI0QHXvCDOsepUdlNnC5ouVU,13407
137
- agentscope_runtime/sandbox/manager/container_clients/kubernetes_client.py,sha256=ul7NPKCRb2cWwFsuvEfph4xJvSN4VCmzsohdr4FHfZM,39788
115
+ agentscope_runtime/sandbox/manager/container_clients/docker_client.py,sha256=eP7NcUWdTuV1wwF9FeuQCZBDrVOUVRiKOcz3GYD4K-o,7724
116
+ agentscope_runtime/sandbox/manager/container_clients/kubernetes_client.py,sha256=74qtE2f6BU5__gfwUiA7Lb8CQKKP3ccdu64yiIxie88,20759
138
117
  agentscope_runtime/sandbox/manager/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
139
- agentscope_runtime/sandbox/manager/server/app.py,sha256=4JujdShc8FUEHLjwuFEO8kTAKAlBfWOcDmebBj22TyM,10295
140
- agentscope_runtime/sandbox/manager/server/config.py,sha256=rIRKI_GHmyt3Wty_ujUya_vSw_ij-rRkerqiQPG_yzU,2423
118
+ agentscope_runtime/sandbox/manager/server/app.py,sha256=MIq8B8TBuwg7JQNgVLzjYjC9Fq2r2m5dcmgeyKk5mcA,13045
119
+ agentscope_runtime/sandbox/manager/server/config.py,sha256=L5Gz0CzmX7-teWQsciUgW4Fmg82G_WjmU7TUi7_bcuM,3944
141
120
  agentscope_runtime/sandbox/manager/server/models.py,sha256=rCibF0HsotFcqsQVTSUoOTJCFQU3oqKvpOiWMWIRLyY,304
142
121
  agentscope_runtime/sandbox/manager/storage/__init__.py,sha256=jGmpfXV1E2X7AqkGeF1xu1EHiSTvbH3TSIviLbKBFh4,210
143
122
  agentscope_runtime/sandbox/manager/storage/data_storage.py,sha256=mGwf7LYbp_fRjLN9BZay6cm3eNziEdU6OlSBeFnIBMQ,475
@@ -145,11 +124,11 @@ agentscope_runtime/sandbox/manager/storage/local_storage.py,sha256=o6fkV-yUtBihh
145
124
  agentscope_runtime/sandbox/manager/storage/oss_storage.py,sha256=fIUxgOkOaH_1vlgWBnCM-e4UvD3xS_ycFe2yvSyXzBE,2970
146
125
  agentscope_runtime/sandbox/model/__init__.py,sha256=WoDOSD_67T-UkZdXOtJzwG4-0E8ABwUBJF6WSCs_sO0,182
147
126
  agentscope_runtime/sandbox/model/api.py,sha256=Sjxw6DHkGa8Sp5dUU5kaajkHPj7eiX1EgFZk-zOPafM,400
148
- agentscope_runtime/sandbox/model/container.py,sha256=w2X970bk0C7lLdpq0bk2BJzanVsEES6Btk1LdXWIp4I,1698
149
- agentscope_runtime/sandbox/model/manager_config.py,sha256=P2T0lT_uVlyh2tOcTpJo-zsiS9J7eJ5Voipb9GMFHiw,5118
127
+ agentscope_runtime/sandbox/model/container.py,sha256=_-QYCu2ZsvpMs5M07Dj_x1B_WpM1ygv85HerXGTl0gU,1267
128
+ agentscope_runtime/sandbox/model/manager_config.py,sha256=0zaxRJnt-r9O0iPSUfT5I6ysUo-B3xufB2nS1IeBMf4,8016
150
129
  agentscope_runtime/sandbox/tools/__init__.py,sha256=ioRqvKFLma8Vq0ePwOR5MekijpcHs2USNYA4Dnr-e6M,287
151
130
  agentscope_runtime/sandbox/tools/function_tool.py,sha256=mH4dq3M26pdk-XqxIm1wtsvQz5i8SXcP4Gz0-7_L7cQ,10309
152
- agentscope_runtime/sandbox/tools/mcp_tool.py,sha256=jayFnAoB_cZNwqViRjn0kmcfmYQslTTQVlpBVXdjxfE,6063
131
+ agentscope_runtime/sandbox/tools/mcp_tool.py,sha256=9wvzS_t_mlHlUlXvVigV9YcxWAh0BJqJw5K0zvoI_vQ,6213
153
132
  agentscope_runtime/sandbox/tools/sandbox_tool.py,sha256=wHkgixb0dy6DexXbfXVOKUFfLL9QOI2H5oiQ2NntoWM,3067
154
133
  agentscope_runtime/sandbox/tools/tool.py,sha256=f2-14tP1V2Vgw5krr0q-uEM3lOAQUF6GdttqYdZkIdI,7361
155
134
  agentscope_runtime/sandbox/tools/utils.py,sha256=QksPQK-2DszaQsRw4Srug5hEwrf6hothf-Xp8a1056c,2098
@@ -159,9 +138,11 @@ agentscope_runtime/sandbox/tools/browser/__init__.py,sha256=gXQx3tXclYqAhPDrXb1-
159
138
  agentscope_runtime/sandbox/tools/browser/tool.py,sha256=EJ-uhHX9oIb4Q-hXQhTS-7VRJ-AdCRWXb9HVdOQ5JAc,19206
160
139
  agentscope_runtime/sandbox/tools/filesystem/__init__.py,sha256=AJK88YU0ceJe99H7T-on2tgaow4ujqGJ1jwv0sd1TtE,607
161
140
  agentscope_runtime/sandbox/tools/filesystem/tool.py,sha256=CPsl4TMf76BOSQtG1dqDcVdymciKhMknIG5FffoI2Eg,9847
162
- agentscope_runtime-0.1.5b1.dist-info/licenses/LICENSE,sha256=3MckDTgiTJ0E6cxo8FeamFVEFiwz3XJWsriuTtRJzxY,11337
163
- agentscope_runtime-0.1.5b1.dist-info/METADATA,sha256=iotFHdqJGgheG1OSrddndrXMX4HGpchFR-c9hUPPHm8,21982
164
- agentscope_runtime-0.1.5b1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
165
- agentscope_runtime-0.1.5b1.dist-info/entry_points.txt,sha256=K8Tb95DEHzRW3AxsZAXghmqeDcPpO7n7rNmU5glfmaU,298
166
- agentscope_runtime-0.1.5b1.dist-info/top_level.txt,sha256=0YHketA7WcMmRmF-3lUzedeTOnP7iL77h-ekb-iG720,19
167
- agentscope_runtime-0.1.5b1.dist-info/RECORD,,
141
+ agentscope_runtime/sandbox/tools/gui/__init__.py,sha256=agr8SMmuLbtk7aTMhnD-b70bbYbYI-ymPS5yPw6HRyM,91
142
+ agentscope_runtime/sandbox/tools/gui/tool.py,sha256=8gLZgEMJDiGoob56ptnvnjh19dWw40XsDL93AGWplto,4064
143
+ agentscope_runtime-0.1.6.dist-info/licenses/LICENSE,sha256=3MckDTgiTJ0E6cxo8FeamFVEFiwz3XJWsriuTtRJzxY,11337
144
+ agentscope_runtime-0.1.6.dist-info/METADATA,sha256=wMZ3CapsJ_amQfE8pzwzUMPd6ZOsp36BCKCsvCTPxS0,27892
145
+ agentscope_runtime-0.1.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
146
+ agentscope_runtime-0.1.6.dist-info/entry_points.txt,sha256=SGQZqgozJYj1yJtiyzqiJ2_iYmDvTl2lexxmXENY3wE,223
147
+ agentscope_runtime-0.1.6.dist-info/top_level.txt,sha256=0YHketA7WcMmRmF-3lUzedeTOnP7iL77h-ekb-iG720,19
148
+ agentscope_runtime-0.1.6.dist-info/RECORD,,
@@ -1,5 +1,4 @@
1
1
  [console_scripts]
2
- runtime-fc-deploy = agentscope_runtime.engine.deployers.cli_fc_deploy:main
3
2
  runtime-sandbox-builder = agentscope_runtime.sandbox.build:main
4
3
  runtime-sandbox-mcp = agentscope_runtime.sandbox.mcp_server:main
5
4
  runtime-sandbox-server = agentscope_runtime.sandbox.manager.server.app:main
@@ -1,6 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- from .agent import AgentScopeAgent
3
-
4
- __all__ = [
5
- "AgentScopeAgent",
6
- ]