agentscope-runtime 0.1.3__py3-none-any.whl → 0.1.5__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 (49) hide show
  1. agentscope_runtime/engine/agents/agentscope_agent/agent.py +56 -12
  2. agentscope_runtime/engine/agents/agentscope_agent/hooks.py +2 -1
  3. agentscope_runtime/engine/agents/agno_agent.py +11 -5
  4. agentscope_runtime/engine/agents/autogen_agent.py +10 -4
  5. agentscope_runtime/engine/agents/utils.py +53 -0
  6. agentscope_runtime/engine/services/context_manager.py +2 -0
  7. agentscope_runtime/engine/services/mem0_memory_service.py +124 -0
  8. agentscope_runtime/engine/services/memory_service.py +2 -1
  9. agentscope_runtime/engine/services/redis_session_history_service.py +4 -3
  10. agentscope_runtime/engine/services/sandbox_service.py +6 -16
  11. agentscope_runtime/engine/services/session_history_service.py +4 -3
  12. agentscope_runtime/engine/services/tablestore_memory_service.py +304 -0
  13. agentscope_runtime/engine/services/tablestore_rag_service.py +143 -0
  14. agentscope_runtime/engine/services/tablestore_session_history_service.py +293 -0
  15. agentscope_runtime/engine/services/utils/__init__.py +0 -0
  16. agentscope_runtime/engine/services/utils/tablestore_service_utils.py +352 -0
  17. agentscope_runtime/sandbox/box/base/base_sandbox.py +2 -2
  18. agentscope_runtime/sandbox/box/browser/browser_sandbox.py +2 -2
  19. agentscope_runtime/sandbox/box/filesystem/filesystem_sandbox.py +2 -2
  20. agentscope_runtime/sandbox/box/training_box/training_box.py +4 -12
  21. agentscope_runtime/sandbox/build.py +37 -17
  22. agentscope_runtime/sandbox/client/http_client.py +42 -10
  23. agentscope_runtime/sandbox/client/training_client.py +0 -1
  24. agentscope_runtime/sandbox/constant.py +26 -0
  25. agentscope_runtime/sandbox/custom/custom_sandbox.py +5 -5
  26. agentscope_runtime/sandbox/custom/example.py +2 -2
  27. agentscope_runtime/sandbox/manager/collections/in_memory_mapping.py +4 -2
  28. agentscope_runtime/sandbox/manager/collections/redis_mapping.py +25 -9
  29. agentscope_runtime/sandbox/manager/container_clients/__init__.py +0 -10
  30. agentscope_runtime/sandbox/manager/container_clients/agentrun_client.py +1096 -0
  31. agentscope_runtime/sandbox/manager/container_clients/docker_client.py +25 -201
  32. agentscope_runtime/sandbox/manager/container_clients/kubernetes_client.py +1 -3
  33. agentscope_runtime/sandbox/manager/sandbox_manager.py +40 -13
  34. agentscope_runtime/sandbox/manager/server/app.py +27 -0
  35. agentscope_runtime/sandbox/manager/server/config.py +30 -2
  36. agentscope_runtime/sandbox/model/container.py +1 -1
  37. agentscope_runtime/sandbox/model/manager_config.py +93 -5
  38. agentscope_runtime/sandbox/utils.py +97 -0
  39. agentscope_runtime/version.py +1 -1
  40. {agentscope_runtime-0.1.3.dist-info → agentscope_runtime-0.1.5.dist-info}/METADATA +56 -57
  41. {agentscope_runtime-0.1.3.dist-info → agentscope_runtime-0.1.5.dist-info}/RECORD +45 -40
  42. agentscope_runtime/engine/agents/llm_agent.py +0 -51
  43. agentscope_runtime/engine/llms/__init__.py +0 -3
  44. agentscope_runtime/engine/llms/base_llm.py +0 -60
  45. agentscope_runtime/engine/llms/qwen_llm.py +0 -47
  46. {agentscope_runtime-0.1.3.dist-info → agentscope_runtime-0.1.5.dist-info}/WHEEL +0 -0
  47. {agentscope_runtime-0.1.3.dist-info → agentscope_runtime-0.1.5.dist-info}/entry_points.txt +0 -0
  48. {agentscope_runtime-0.1.3.dist-info → agentscope_runtime-0.1.5.dist-info}/licenses/LICENSE +0 -0
  49. {agentscope_runtime-0.1.3.dist-info → agentscope_runtime-0.1.5.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # pylint: disable=no-self-argument
3
3
  import os
4
- from typing import Optional, Literal, Tuple
4
+ from typing import Optional, Literal, Tuple, Dict
5
5
  from pydantic import BaseModel, Field, model_validator
6
6
 
7
7
 
@@ -27,10 +27,15 @@ class SandboxManagerEnvConfig(BaseModel):
27
27
  ...,
28
28
  description="Indicates if Redis is enabled.",
29
29
  )
30
- container_deployment: Literal["docker", "cloud", "k8s"] = Field(
30
+ container_deployment: Literal[
31
+ "docker",
32
+ "cloud",
33
+ "k8s",
34
+ "agentrun",
35
+ ] = Field(
31
36
  ...,
32
- description="Container deployment backend: 'docker', 'cloud', "
33
- "or 'k8s'.",
37
+ description="Container deployment backend: 'docker', 'cloud', 'k8s'"
38
+ "or 'agentrun'.",
34
39
  )
35
40
 
36
41
  default_mount_dir: Optional[str] = Field(
@@ -38,6 +43,13 @@ class SandboxManagerEnvConfig(BaseModel):
38
43
  description="Path for local file system storage.",
39
44
  )
40
45
 
46
+ readonly_mounts: Optional[Dict[str, str]] = Field(
47
+ default=None,
48
+ description="Read-only mount mapping: host_path -> container_path. "
49
+ "Example: { '/data/shared': '/mnt/shared', '/etc/timezone': "
50
+ "'/etc/timezone' }",
51
+ )
52
+
41
53
  port_range: Tuple[int, int] = Field(
42
54
  (49152, 59152),
43
55
  description="Range of ports to be used by the manager.",
@@ -112,8 +124,64 @@ class SandboxManagerEnvConfig(BaseModel):
112
124
  "in-cluster config or default kubeconfig.",
113
125
  )
114
126
 
127
+ # AgentRun settings
128
+ agent_run_access_key_id: Optional[str] = Field(
129
+ None,
130
+ description="Access key ID for AgentRun. Required if "
131
+ "container_deployment is 'agentrun'.",
132
+ )
133
+ agent_run_access_key_secret: Optional[str] = Field(
134
+ None,
135
+ description="Access key secret for AgentRun. "
136
+ "Required if container_deployment is 'agentrun'.",
137
+ )
138
+ agent_run_account_id: Optional[str] = Field(
139
+ None,
140
+ description="Account ID for AgentRun. Required if "
141
+ "container_deployment is 'agentrun'.",
142
+ )
143
+ agent_run_region_id: str = Field(
144
+ "cn-hangzhou",
145
+ description="Region ID for AgentRun.",
146
+ )
147
+ agent_run_cpu: float = Field(
148
+ 2,
149
+ description="CPU allocation for AgentRun containers.",
150
+ )
151
+ agent_run_memory: int = Field(
152
+ 2048,
153
+ description="Memory allocation for AgentRun containers in MB.",
154
+ )
155
+ agent_run_vpc_id: Optional[str] = Field(
156
+ None,
157
+ description="VPC ID for AgentRun. Required if container_deployment "
158
+ "is 'agentrun'.",
159
+ )
160
+ agent_run_vswitch_ids: Optional[list[str]] = Field(
161
+ None,
162
+ description="VSwitch IDs for AgentRun. Required if "
163
+ "container_deployment is 'agentrun'.",
164
+ )
165
+ agent_run_security_group_id: Optional[str] = Field(
166
+ None,
167
+ description="Security group ID for AgentRun. "
168
+ "Required if container_deployment is 'agentrun'.",
169
+ )
170
+ agent_run_prefix: str = Field(
171
+ "agentscope-sandbox_",
172
+ description="Prefix for AgentRun resources.",
173
+ )
174
+ agentrun_log_project: Optional[str] = Field(
175
+ None,
176
+ description="Log project for AgentRun.",
177
+ )
178
+ agentrun_log_store: Optional[str] = Field(
179
+ None,
180
+ description="Log store for AgentRun.",
181
+ )
182
+
115
183
  @model_validator(mode="after")
116
- def check_settings(cls, self):
184
+ def check_settings(self):
117
185
  if self.default_mount_dir:
118
186
  os.makedirs(self.default_mount_dir, exist_ok=True)
119
187
 
@@ -161,4 +229,24 @@ class SandboxManagerEnvConfig(BaseModel):
161
229
  f"{field_name} must be set when redis is enabled",
162
230
  )
163
231
 
232
+ if self.container_deployment == "agentrun":
233
+ required_agentrun_fields = [
234
+ self.agent_run_access_key_id,
235
+ self.agent_run_access_key_secret,
236
+ self.agent_run_account_id,
237
+ ]
238
+ for field_name, field_value in zip(
239
+ [
240
+ "agent_run_access_key_id",
241
+ "agent_run_access_key_secret",
242
+ "agent_run_account_id",
243
+ ],
244
+ required_agentrun_fields,
245
+ ):
246
+ if not field_value:
247
+ raise ValueError(
248
+ f"{field_name} must be set when "
249
+ f"container_deployment is 'agentrun'",
250
+ )
251
+
164
252
  return self
@@ -0,0 +1,97 @@
1
+ # -*- coding: utf-8 -*-
2
+ import os
3
+ import importlib
4
+ import platform
5
+
6
+ from .constant import REGISTRY, IMAGE_NAMESPACE, IMAGE_TAG
7
+
8
+
9
+ def build_image_uri(
10
+ image_name: str,
11
+ tag: str = None,
12
+ registry: str = None,
13
+ namespace: str = None,
14
+ arm64_compatible: bool = True,
15
+ ) -> str:
16
+ """
17
+ Build a fully qualified Docker image URI.
18
+
19
+ Parameters
20
+ ----------
21
+ image_name : str
22
+ Name of the Docker image without registry/namespace.
23
+ Example: `"runtime-sandbox-base"`.
24
+ tag : str, optional
25
+ Base image tag. Defaults to the global ``IMAGE_TAG`` if not provided.
26
+ registry : str, optional
27
+ Docker registry address. Defaults to the global ``REGISTRY``.
28
+ If empty or whitespace, registry prefix will be omitted.
29
+ namespace : str, optional
30
+ Docker image namespace. Defaults to the global ``IMAGE_NAMESPACE``.
31
+ arm64_compatible : bool, optional
32
+ Whether the image is ARM64-compatible without special tagging.
33
+ If ``True`` (default), the tag is returned unchanged.
34
+ If ``False``, the function will detect the current machine
35
+ architecture and append ``-arm64`` to the tag if running on ARM64 (
36
+ e.g., ``arm64``, ``aarch64``).
37
+
38
+ Returns
39
+ -------
40
+ str
41
+ Fully qualified Docker image URI in the form:
42
+ ``<registry>/<namespace>/<image_name>:<tag>`` or
43
+ ``<namespace>/<image_name>:<tag>`` if registry is omitted.
44
+
45
+ Examples
46
+ --------
47
+ >>> build_image_uri("runtime-sandbox-base")
48
+ 'agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-base:latest'
49
+
50
+ >>> build_image_uri("runtime-sandbox-base", tag="v1.2.3")
51
+ 'agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-base:v1.2.3'
52
+
53
+ >>> build_image_uri("runtime-sandbox-base", registry="")
54
+ 'agentscope/runtime-sandbox-base:latest'
55
+
56
+ >>> build_image_uri("runtime-sandbox-base", arm64_compatible=False)
57
+ 'agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime
58
+ -sandbox-base:latest-arm64'
59
+ # (Above example assumes running on ARM64 machine)
60
+ """
61
+ reg = registry if registry is not None else REGISTRY
62
+ reg = "" if reg.strip() == "" else f"{reg.strip()}/"
63
+
64
+ final_namespace = namespace if namespace is not None else IMAGE_NAMESPACE
65
+ final_tag = tag or IMAGE_TAG
66
+
67
+ # Adjust tag based on ARM64 compatibility
68
+ if not arm64_compatible:
69
+ machine = platform.machine().lower()
70
+ if machine in ("arm64", "aarch64", "armv7l", "armv8"):
71
+ final_tag = f"{final_tag}-arm64"
72
+
73
+ return f"{reg}{final_namespace}/{image_name}:{final_tag}"
74
+
75
+
76
+ def dynamic_import(ext: str):
77
+ """
78
+ Dynamically import a Python file or module.
79
+
80
+ Parameters
81
+ ----------
82
+ ext : str
83
+ File path to a Python script OR a module name to import.
84
+
85
+ Returns
86
+ -------
87
+ module : object
88
+ The imported Python module/object.
89
+ """
90
+ if os.path.isfile(ext):
91
+ module_name = os.path.splitext(os.path.basename(ext))[0]
92
+ spec = importlib.util.spec_from_file_location(module_name, ext)
93
+ module = importlib.util.module_from_spec(spec)
94
+ spec.loader.exec_module(module)
95
+ return module
96
+ else:
97
+ return importlib.import_module(ext)
@@ -1,2 +1,2 @@
1
1
  # -*- coding: utf-8 -*-
2
- __version__ = "v0.1.3"
2
+ __version__ = "v0.1.5"
@@ -1,16 +1,25 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentscope-runtime
3
- Version: 0.1.3
3
+ Version: 0.1.5
4
4
  Summary: A production-ready runtime framework for agent applications, providing secure sandboxed execution environments and scalable deployment solutions with multi-framework support.
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
7
7
  License-File: LICENSE
8
- Requires-Dist: mcp<1.10.0,>=1.8.0
8
+ Requires-Dist: mcp>=1.13
9
9
  Requires-Dist: fastapi>=0.104.0
10
10
  Requires-Dist: uvicorn[standard]>=0.24.0
11
11
  Requires-Dist: openai
12
12
  Requires-Dist: pydantic>=2.11.7
13
13
  Requires-Dist: requests>=2.32.4
14
+ Requires-Dist: agentscope>=1.0.1
15
+ Requires-Dist: docker>=7.1.0
16
+ Requires-Dist: steel-sdk>=0.1.0
17
+ Requires-Dist: redis>=6.0.0b2
18
+ Requires-Dist: oss2>=2.19.1
19
+ Requires-Dist: pydantic-settings>=2.9.1
20
+ Requires-Dist: dotenv>=0.9.9
21
+ Requires-Dist: kubernetes>=33.1.0
22
+ Requires-Dist: shortuuid>=1.0.13
14
23
  Provides-Extra: dev
15
24
  Requires-Dist: pytest>=8.3.5; extra == "dev"
16
25
  Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
@@ -20,17 +29,6 @@ Requires-Dist: furo>=2025.7.19; extra == "dev"
20
29
  Requires-Dist: pytest-cov>=6.2.1; extra == "dev"
21
30
  Requires-Dist: fakeredis>=2.31.0; extra == "dev"
22
31
  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
32
  Provides-Extra: langgraph
35
33
  Requires-Dist: langgraph>=0.5.3; extra == "langgraph"
36
34
  Provides-Extra: agno
@@ -40,22 +38,30 @@ Requires-Dist: a2a-sdk>=0.3.0; extra == "a2a"
40
38
  Provides-Extra: autogen
41
39
  Requires-Dist: autogen-agentchat>=0.7.4; extra == "autogen"
42
40
  Requires-Dist: autogen-ext[openai]>=0.7.4; extra == "autogen"
41
+ Provides-Extra: agentrun
42
+ Requires-Dist: alibabacloud-agentrun20250910>=1.0.0; extra == "agentrun"
43
+ Requires-Dist: alibabacloud_tea_openapi>=0.4.0; extra == "agentrun"
43
44
  Provides-Extra: langchain-rag
44
45
  Requires-Dist: langchain>=0.3.25; extra == "langchain-rag"
45
- Requires-Dist: pymilvus>=2.6.0; extra == "langchain-rag"
46
+ Requires-Dist: pymilvus[milvus-lite]>=2.6.0; extra == "langchain-rag"
46
47
  Requires-Dist: langchain-community>=0.3.27; extra == "langchain-rag"
47
48
  Requires-Dist: langchain-milvus>=0.2.1; extra == "langchain-rag"
48
49
  Requires-Dist: bs4>=0.0.2; extra == "langchain-rag"
49
50
  Provides-Extra: llamaindex-rag
50
51
  Requires-Dist: llama-index>=0.13.4; extra == "llamaindex-rag"
51
- Requires-Dist: pymilvus>=2.6.0; extra == "llamaindex-rag"
52
+ Requires-Dist: pymilvus[milvus-lite]>=2.6.0; extra == "llamaindex-rag"
52
53
  Requires-Dist: llama-index-vector-stores-milvus>=0.9.1; extra == "llamaindex-rag"
53
54
  Requires-Dist: llama-index-readers-web>=0.5.1; extra == "llamaindex-rag"
54
55
  Requires-Dist: llama-index-embeddings-langchain>=0.4.0; extra == "llamaindex-rag"
55
56
  Requires-Dist: langchain-community>=0.3.27; extra == "llamaindex-rag"
56
57
  Requires-Dist: bs4>=0.0.2; extra == "llamaindex-rag"
58
+ Provides-Extra: aliyun-tablestore-ext
59
+ Requires-Dist: tablestore-for-agent-memory>=1.1.0; extra == "aliyun-tablestore-ext"
60
+ Requires-Dist: dashscope>=1.24.4; extra == "aliyun-tablestore-ext"
61
+ Requires-Dist: langchain-community>=0.3.27; extra == "aliyun-tablestore-ext"
57
62
  Provides-Extra: memory-ext
58
- Requires-Dist: reme-ai==0.1.8; python_full_version >= "3.12" and extra == "memory-ext"
63
+ Requires-Dist: reme-ai==0.1.9; python_full_version >= "3.12" and extra == "memory-ext"
64
+ Requires-Dist: mem0ai>=0.1.117; extra == "memory-ext"
59
65
  Dynamic: license-file
60
66
 
61
67
  <div align="center">
@@ -63,8 +69,9 @@ Dynamic: license-file
63
69
  # AgentScope Runtime
64
70
 
65
71
  [![PyPI](https://img.shields.io/pypi/v/agentscope-runtime?label=PyPI&color=brightgreen&logo=python)](https://pypi.org/project/agentscope-runtime/)
72
+ [![Downloads](https://static.pepy.tech/badge/agentscope-runtime)](https://pepy.tech/project/agentscope-runtime)
66
73
  [![Python Version](https://img.shields.io/badge/python-3.10%2B-blue.svg?logo=python&label=Python)](https://python.org)
67
- [![License](https://img.shields.io/badge/license-Apache%202.0-red.svg?logo=apache&label=Liscnese)](LICENSE)
74
+ [![License](https://img.shields.io/badge/license-Apache%202.0-red.svg?logo=apache&label=License)](LICENSE)
68
75
  [![Code Style](https://img.shields.io/badge/code%20style-black-black.svg?logo=python&label=CodeStyle)](https://github.com/psf/black)
69
76
  [![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)
70
77
  [![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)
@@ -134,9 +141,6 @@ From PyPI:
134
141
  ```bash
135
142
  # Install core dependencies
136
143
  pip install agentscope-runtime
137
-
138
- # Install sandbox dependencies
139
- pip install "agentscope-runtime[sandbox]"
140
144
  ```
141
145
 
142
146
  (Optional) From source:
@@ -148,35 +152,41 @@ cd agentscope-runtime
148
152
 
149
153
  # Install core dependencies
150
154
  pip install -e .
151
-
152
- # Install sandbox dependencies
153
- pip install -e ".[sandbox]"
154
155
  ```
155
156
 
156
157
  ### Basic Agent Usage Example
157
158
 
158
- This example demonstrates how to create a simple LLM agent using AgentScope Runtime and stream responses from the Qwen model.
159
+ This example demonstrates how to create an agentscope agent using AgentScope Runtime and
160
+ stream responses from the Qwen model.
161
+
159
162
 
160
163
  ```python
161
164
  import asyncio
162
165
  import os
166
+
163
167
  from agentscope_runtime.engine import Runner
164
- from agentscope_runtime.engine.agents.llm_agent import LLMAgent
165
- from agentscope_runtime.engine.llms import QwenLLM
168
+ from agentscope_runtime.engine.agents.agentscope_agent import AgentScopeAgent
166
169
  from agentscope_runtime.engine.schemas.agent_schemas import AgentRequest
167
170
  from agentscope_runtime.engine.services.context_manager import ContextManager
168
171
 
172
+ from agentscope.agent import ReActAgent
173
+ from agentscope.model import OpenAIChatModel
169
174
 
170
175
  async def main():
171
176
  # Set up the language model and agent
172
- model = QwenLLM(
173
- model_name="qwen-turbo",
174
- api_key=os.getenv("DASHSCOPE_API_KEY"),
177
+ agent = AgentScopeAgent(
178
+ name="Friday",
179
+ model=OpenAIChatModel(
180
+ "gpt-4",
181
+ api_key=os.getenv("OPENAI_API_KEY"),
182
+ ),
183
+ agent_config={
184
+ "sys_prompt": "You're a helpful assistant named Friday.",
185
+ },
186
+ agent_builder=ReActAgent,
175
187
  )
176
- llm_agent = LLMAgent(model=model, name="llm_agent")
177
-
178
188
  async with ContextManager() as context_manager:
179
- runner = Runner(agent=llm_agent, context_manager=context_manager)
189
+ runner = Runner(agent=agent, context_manager=context_manager)
180
190
 
181
191
  # Create a request and stream the response
182
192
  request = AgentRequest(
@@ -216,7 +226,11 @@ with BaseSandbox() as box:
216
226
  > [!NOTE]
217
227
  >
218
228
  > 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.
219
-
229
+ >
230
+ > If pulling the Docker image fails, try setting:
231
+ > `export RUNTIME_SANDBOX_REGISTRY="agentscope-registry.ap-southeast-1.cr.aliyuncs.com"`
232
+ >
233
+ > 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)
220
234
  ---
221
235
 
222
236
  ## 📚 Cookbook
@@ -231,29 +245,6 @@ with BaseSandbox() as box:
231
245
 
232
246
  ## 🔌 Agent Framework Integration
233
247
 
234
- ### AgentScope Integration
235
-
236
- ```python
237
- # pip install "agentscope-runtime[agentscope]"
238
- import os
239
-
240
- from agentscope.agent import ReActAgent
241
- from agentscope.model import OpenAIChatModel
242
- from agentscope_runtime.engine.agents.agentscope_agent import AgentScopeAgent
243
-
244
- agent = AgentScopeAgent(
245
- name="Friday",
246
- model=OpenAIChatModel(
247
- "gpt-4",
248
- api_key=os.getenv("OPENAI_API_KEY"),
249
- ),
250
- agent_config={
251
- "sys_prompt": "You're a helpful assistant named {name}.",
252
- },
253
- agent_builder=ReActAgent,
254
- )
255
- ```
256
-
257
248
  ### Agno Integration
258
249
 
259
250
  ```python
@@ -405,7 +396,7 @@ limitations under the License.
405
396
 
406
397
  ## Contributors ✨
407
398
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
408
- [![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors-)
399
+ [![All Contributors](https://img.shields.io/badge/all_contributors-13-orange.svg?style=flat-square)](#contributors-)
409
400
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
410
401
 
411
402
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
@@ -424,6 +415,14 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
424
415
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/rankesterc"><img src="https://avatars.githubusercontent.com/u/114560457?v=4?s=100" width="100px;" alt="Ran Chen"/><br /><sub><b>Ran Chen</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=rankesterc" title="Code">💻</a></td>
425
416
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/jinliyl"><img src="https://avatars.githubusercontent.com/u/6469360?v=4?s=100" width="100px;" alt="jinliyl"/><br /><sub><b>jinliyl</b></sub></a><br /><a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=jinliyl" title="Code">💻</a> <a href="https://github.com/agentscope-ai/agentscope-runtime/commits?author=jinliyl" title="Documentation">📖</a></td>
426
417
  </tr>
418
+ <tr>
419
+ <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>
420
+ <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>
421
+ <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>
422
+ <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>
423
+ <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>
424
+ <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>
425
+ </tr>
427
426
  </tbody>
428
427
  <tfoot>
429
428
  <tr>
@@ -1,16 +1,16 @@
1
1
  agentscope_runtime/__init__.py,sha256=LMAUeUpPo2qzqh3zyZ-JJwc8GrsiT9b-yNhQMxlKmfE,84
2
- agentscope_runtime/version.py,sha256=FmA99VK3xnyfLKQZeXt91eE7FldXtbGI0ya61y0h_Rs,47
2
+ agentscope_runtime/version.py,sha256=XTfL_cku-Z3jy4rpJx_esGEsYx8SLInQHD73RUj-TwA,47
3
3
  agentscope_runtime/engine/__init__.py,sha256=jsvYM1LlZVP4EFzsE5uu5ycgBU9CVnug7UyTzBmpX5g,213
4
4
  agentscope_runtime/engine/runner.py,sha256=fQ4bNRqjXERLZlzA3cF_eJDdyc76Ug-V7st8BoixUtg,6754
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/agno_agent.py,sha256=Ik9KC8k2B-2R5j93eyVnddxiWzaWNQED_jjIKVJLQbs,6911
7
+ agentscope_runtime/engine/agents/autogen_agent.py,sha256=aSIa2YMs2hc_88ziOGk431Ci5ZgeBuQJSRK24YFnvQw,7896
8
8
  agentscope_runtime/engine/agents/base_agent.py,sha256=fGf4MNKmfm_fsU2orTPLpt7TT5HkZZZYR05rhp5s7-E,782
9
9
  agentscope_runtime/engine/agents/langgraph_agent.py,sha256=05Z5js7g9Dxy-MWj0W00jOtFMNnHzSPjlP3WIIVHTtQ,1416
10
- agentscope_runtime/engine/agents/llm_agent.py,sha256=0hG_FRtAxmlljmI51GT7ui_7wjjHO03wckx9bNKra8Y,1356
10
+ agentscope_runtime/engine/agents/utils.py,sha256=tddHPNLDWc2_ascNjPi4hLgCe_tC2FSmKsVgTVnrCys,1801
11
11
  agentscope_runtime/engine/agents/agentscope_agent/__init__.py,sha256=lt1NJEDuBWaX1n-bqMbQR6Uol7-fFUuyeuHy8FQrzWk,97
12
- agentscope_runtime/engine/agents/agentscope_agent/agent.py,sha256=kuQfz1QbltD2wCsOVp75Qrn4q7EmIfnDm6FECCoGl5k,14754
13
- agentscope_runtime/engine/agents/agentscope_agent/hooks.py,sha256=iqx-TOQLXUQlQHc2cKjsDfgjO9UWw00AeS3wTymkfYE,5984
12
+ agentscope_runtime/engine/agents/agentscope_agent/agent.py,sha256=wsgQs7Zy6y-_sOMuEkBPATHSGz7WGRo8dpdwOSelpv8,16216
13
+ agentscope_runtime/engine/agents/agentscope_agent/hooks.py,sha256=pWQ03REhsj_1DBHyt4xJJnJ7WVX_mbudgak0cR_T-5k,6027
14
14
  agentscope_runtime/engine/deployers/__init__.py,sha256=2eUo6uvloMt4AstmalkwcBgR7gPyppNqlmjld0Ztpxk,103
15
15
  agentscope_runtime/engine/deployers/base.py,sha256=0bb3zQiVE1jTMG0NCsjhcSeP7lhnbn1KPQRx1H5hues,494
16
16
  agentscope_runtime/engine/deployers/local_deployer.py,sha256=LaxGzSMW4aoF717GheYno7N38Y66ifIO4Zt2qRkT_Qg,20691
@@ -21,49 +21,53 @@ agentscope_runtime/engine/deployers/adapter/a2a/a2a_adapter_utils.py,sha256=VZ4f
21
21
  agentscope_runtime/engine/deployers/adapter/a2a/a2a_agent_adapter.py,sha256=h7wwl2CiKcGUxhKkrWN7DpaIpTltoRm-6ETS_fJHmEk,2147
22
22
  agentscope_runtime/engine/deployers/adapter/a2a/a2a_protocol_adapter.py,sha256=eDBDu3WTLjZ6TWA3jG48EIos1kZqiKHBXPSVzfNvniM,1905
23
23
  agentscope_runtime/engine/helpers/helper.py,sha256=EizXyBl00VscBx7pVOr65qsu4YnNLKAq8eYbRqAXctA,4547
24
- agentscope_runtime/engine/llms/__init__.py,sha256=UV_lqTcsvcihP2OWERLWjiEbcSDbfieD-rFYRWX2xA0,84
25
- agentscope_runtime/engine/llms/base_llm.py,sha256=Vvxlqom35qaSLYSyyh3hj-XsoyFxcf5BqXbvFBnbNE4,1664
26
- agentscope_runtime/engine/llms/qwen_llm.py,sha256=_J-PpwSrKNSmQzO6KNzJlMd5t4m47YVKXp0fl-KYQmA,1271
27
24
  agentscope_runtime/engine/misc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
25
  agentscope_runtime/engine/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
26
  agentscope_runtime/engine/schemas/agent_schemas.py,sha256=9PSCAuz33dEpE0_cNfOJKSK8ocOprofiR2YYfGezDyo,21194
30
27
  agentscope_runtime/engine/schemas/context.py,sha256=Qd2ee4HCYNmD5VHsacrScdpNq8q2aJwsRtsrBZarI9M,1550
31
28
  agentscope_runtime/engine/services/__init__.py,sha256=SAsmwIr8etoUbqz5W1K2pH5ONlFzooXMQ0UFXTXfHwM,271
32
29
  agentscope_runtime/engine/services/base.py,sha256=g2hTc3ivj2MPjnsu5_09m6_MZ3KDHBfiYKu4F2pLA1I,2096
33
- agentscope_runtime/engine/services/context_manager.py,sha256=NO5ma4WWJFW6oZW65ddTR7EOz-kL4eNImwPxXVESmmM,5221
30
+ agentscope_runtime/engine/services/context_manager.py,sha256=CzL7BgZtkWh74dJV-Sa3bNfqNbiihHIQbbvZuYraqXg,5314
34
31
  agentscope_runtime/engine/services/environment_manager.py,sha256=Bd3vmgX5KkN9gTY60o7Pozpsw0S8etpSJns63woSlDU,1347
35
32
  agentscope_runtime/engine/services/manager.py,sha256=r-TcHti8sEMXjZbwPWlG32J8iiMHUXuUJmAiwPvgn_Q,6282
36
- agentscope_runtime/engine/services/memory_service.py,sha256=EHsvNPMXsH1B8LZY0zZKzYMvDHzaP18edKv9uimM98k,7889
33
+ agentscope_runtime/engine/services/mem0_memory_service.py,sha256=0n75PNhFmCpCF4lmMPG2OR75nOfXMHStNxhAG7QhdgE,3569
34
+ agentscope_runtime/engine/services/memory_service.py,sha256=hlJKHDoClYL7BOcUhLWve5WV4dCkMUNrpeJ04VO6AsM,7914
37
35
  agentscope_runtime/engine/services/rag_service.py,sha256=iPmQtFXG5_mva4GFQi4V2Buscj6MXlPtxzYMoqZ6k9U,5614
38
36
  agentscope_runtime/engine/services/redis_memory_service.py,sha256=2A6ouYghs80jby_MUcwiKfCScmYUbIcYsMlmEMynuqg,5708
39
- agentscope_runtime/engine/services/redis_session_history_service.py,sha256=Zo7H0QtUZRKXh07JHcvtZfmEqbmidEsTGkhGfk1aLQE,5042
37
+ agentscope_runtime/engine/services/redis_session_history_service.py,sha256=wQ_1d4In5nQkP3Hx-_xRxvgyuXTCLowITiNlaw9Z4II,5086
40
38
  agentscope_runtime/engine/services/reme_personal_memory_service.py,sha256=Cmd0FpHulv8h5IXWKnymHMViXSr2Z8dFtXDj3d8y4Vo,2962
41
39
  agentscope_runtime/engine/services/reme_task_memory_service.py,sha256=d1QV9e1ifAQIO4Kr-Q9gzx7OhKH_CkUhuyygHRLprWo,338
42
- agentscope_runtime/engine/services/sandbox_service.py,sha256=IzVg5BtDEfqFrVy7SnE3GDYXVXc0jzv9XIl0mFYHWDk,6082
43
- agentscope_runtime/engine/services/session_history_service.py,sha256=CLDMHNja6k7VrTQMkQDf24uP-aSGV5sdBjG5A0t_c64,8044
40
+ agentscope_runtime/engine/services/sandbox_service.py,sha256=dw15n7jbtnJ5SOTBL6QyxaVCCAmaKCF7AZ3I6_JbdEc,5828
41
+ agentscope_runtime/engine/services/session_history_service.py,sha256=C77KwRclXbnMDE3iT5WHglRFYI0aSwDg4EChJCgknzQ,8088
42
+ agentscope_runtime/engine/services/tablestore_memory_service.py,sha256=UX3daPzkvFs6YXs-7KirAe_TtD8zXJKKE49rkL4W5y0,10486
43
+ agentscope_runtime/engine/services/tablestore_rag_service.py,sha256=uGx8I8OGFJPBQs_lTd8Ew-OXMEivEODHA1i9yiFh3Ns,5188
44
+ agentscope_runtime/engine/services/tablestore_session_history_service.py,sha256=peCon6o4Ryyiu3E2AQDgbB8NFsdPi4tIZK4TEiuvFUA,10353
45
+ agentscope_runtime/engine/services/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
+ agentscope_runtime/engine/services/utils/tablestore_service_utils.py,sha256=tqJ6RdxHZSGBorZ12iSMdMSbvqUG_c_rtCKrWMaLANE,11005
44
47
  agentscope_runtime/engine/tracing/__init__.py,sha256=DuM6Zp_IJ-ixgTTomtrMbpcYiMJOHMrJHwKIqcLzrfA,1133
45
48
  agentscope_runtime/engine/tracing/base.py,sha256=fYTHN0QmTWa_4zbT4fBduNndOuh03-JE302ssBJtu30,9747
46
49
  agentscope_runtime/engine/tracing/local_logging_handler.py,sha256=LP-2NX7kRPhEN-WtnLNuhMKDSpxhT03kLtHFKkuQFjQ,12315
47
50
  agentscope_runtime/engine/tracing/tracing_metric.py,sha256=3qHqBRiTWijqBPLchxyERfPZCstTo8Y5LuL-eCuQas0,2115
48
51
  agentscope_runtime/engine/tracing/wrapper.py,sha256=ioeKSRJDJgcW34OfFmAq7vgE0FNEFXa_4QLSf7kUBfU,11236
49
52
  agentscope_runtime/sandbox/__init__.py,sha256=39NF3OdrBoUOje8gHI--cIgLMfY3ojm0JWYmGsEiWFU,378
50
- agentscope_runtime/sandbox/build.py,sha256=rhcsHbDkcQgS4Hxv8z2Lsjp3LnheQyCCTbm3rkv80Tw,6439
51
- agentscope_runtime/sandbox/constant.py,sha256=-CaSZkDPO2XQ70-PVymu4Z5Y7hlvdpPJ3zgP27MLvik,156
53
+ agentscope_runtime/sandbox/build.py,sha256=MJJ9T0CiODUZTwJpfmiyadeP3JY5NGDABQzSaV81uKs,6955
54
+ agentscope_runtime/sandbox/constant.py,sha256=PI7UN6h8ouGgsShiFjWUF8WQkrsQnmX_co6XP4DmJ0w,1024
52
55
  agentscope_runtime/sandbox/enums.py,sha256=zGSs3A3SsxjqmSrArn9qEWGO594cYahOHPnG8HHxpYk,1880
53
56
  agentscope_runtime/sandbox/mcp_server.py,sha256=UT3aRZqyeHqEhhm-wZ0Ilhew3eDMHzz9DCN6Qb-eKFk,6012
54
57
  agentscope_runtime/sandbox/registry.py,sha256=E4APDpk1oxhJCh8dEIDjZ1DtQJ-mPaRGYXr3AbTsnmc,4191
58
+ agentscope_runtime/sandbox/utils.py,sha256=s36Qqndw83lDma64AQkrDm_fkMCYPcrjRwrEZyG4yvw,3264
55
59
  agentscope_runtime/sandbox/box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
60
  agentscope_runtime/sandbox/box/sandbox.py,sha256=PQk0mljUvrErTsm0aQdd8UggghEvpEE0uPU3pLjY6a4,5220
57
61
  agentscope_runtime/sandbox/box/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
58
- agentscope_runtime/sandbox/box/base/base_sandbox.py,sha256=zhQLTRtdpktNw7UpWeMKwEd5oWn_L-VUIIY9_IiBT9M,1002
62
+ agentscope_runtime/sandbox/box/base/base_sandbox.py,sha256=1tj4-EH07mFjO2aAb_ie4FCP2Gfn_2qNLzSguBiVF1A,998
59
63
  agentscope_runtime/sandbox/box/base/box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
60
64
  agentscope_runtime/sandbox/box/browser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
61
- agentscope_runtime/sandbox/box/browser/browser_sandbox.py,sha256=KDYnGUbWataXknI_mZfE46goh8p3JtIwFQvQ569iaEg,5599
65
+ agentscope_runtime/sandbox/box/browser/browser_sandbox.py,sha256=C_MbpK3zQWFt8t4wWwZ7oi_EZDNk9Tw7Q0HWzry94AY,5595
62
66
  agentscope_runtime/sandbox/box/browser/box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
63
67
  agentscope_runtime/sandbox/box/dummy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
64
68
  agentscope_runtime/sandbox/box/dummy/dummy_sandbox.py,sha256=Bqy3M_0Rj2iNSlOX2S1wVgffaVj0qAUhdxawRbNHB7w,668
65
69
  agentscope_runtime/sandbox/box/filesystem/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
66
- agentscope_runtime/sandbox/box/filesystem/filesystem_sandbox.py,sha256=wYDUoOF4Km8yS44APqoMo4W2gbswYFgwFY1tr7AkwXU,2507
70
+ agentscope_runtime/sandbox/box/filesystem/filesystem_sandbox.py,sha256=clf7Cmk8bgKVLYyChC-y52bZsYhacQfn2ozwSP_BXWY,2503
67
71
  agentscope_runtime/sandbox/box/filesystem/box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
68
72
  agentscope_runtime/sandbox/box/shared/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
69
73
  agentscope_runtime/sandbox/box/shared/app.py,sha256=bw6l0XPVF86yuh0jO_Sx9S-B-luFE3U3lIb6Qjc3dGU,1107
@@ -79,7 +83,7 @@ agentscope_runtime/sandbox/box/training_box/__init__.py,sha256=47DEQpj8HBSa-_TIm
79
83
  agentscope_runtime/sandbox/box/training_box/base.py,sha256=iUPsfA8oiGDR3BMVU7qisvO-UT8HtCx78ayW67DQ0WQ,3307
80
84
  agentscope_runtime/sandbox/box/training_box/env_service.py,sha256=YoMswhQrX8VmE202tpFq-bQo6gOd2oemBhTG_MD9Rwg,22616
81
85
  agentscope_runtime/sandbox/box/training_box/registry.py,sha256=6fTMZvJbakhEqkaO61K-wIfX6uau7g4nFP63bQ7jiNI,1362
82
- agentscope_runtime/sandbox/box/training_box/training_box.py,sha256=yM1_Veorn2nwnxgAUB-6GZMp_1UKmus9-LpJQwKATxg,10200
86
+ agentscope_runtime/sandbox/box/training_box/training_box.py,sha256=_pu916JV3gFJbCOM--0FP0fg5rPiNI-xwDezvM3tMbM,10033
83
87
  agentscope_runtime/sandbox/box/training_box/environments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
84
88
  agentscope_runtime/sandbox/box/training_box/environments/appworld/appworld_env.py,sha256=FJc0eb6bnKL6lxx_4EKWr7kmKLi2jLsykNstecXEqkc,27786
85
89
  agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_dataprocess.py,sha256=jkg8wDwDXdZZU7q777tnyqc-C9hRlPF0pffJ4DX5upQ,7352
@@ -87,30 +91,31 @@ agentscope_runtime/sandbox/box/training_box/environments/bfcl/bfcl_env.py,sha256
87
91
  agentscope_runtime/sandbox/box/training_box/environments/bfcl/env_handler.py,sha256=T-W9w4nKI7_BXgF9caqV3KMeX5d6yvdfhQu0o2oWTUE,30114
88
92
  agentscope_runtime/sandbox/box/training_box/src/trajectory.py,sha256=cFr3uVUPq5gHKPa6ALi7QCLBVkgYOyPgyJrOzgBHf3k,7885
89
93
  agentscope_runtime/sandbox/client/__init__.py,sha256=KiNsTToc1jICqCC1BcH762jZgHuOkCPiG32oXGo6dQE,176
90
- agentscope_runtime/sandbox/client/http_client.py,sha256=Edu3ZoYJTX_VAMuSDJg_DQ0GiEtZ2jWN1fkcLu3FtMI,17954
91
- agentscope_runtime/sandbox/client/training_client.py,sha256=MYfI06MeyIelwjY4QllVL4exhSCMNpdMudGi2ctVL28,7675
94
+ agentscope_runtime/sandbox/client/http_client.py,sha256=yPQ3oTkdAPk_qpnXNysZjz0Ou4NzXK0RWMyrIetCnig,18587
95
+ agentscope_runtime/sandbox/client/training_client.py,sha256=WIhGBib2IWQZwUoSJUn8kuIGrtd6Yz3VOxCh0tft630,7625
92
96
  agentscope_runtime/sandbox/custom/__init__.py,sha256=wpu0DlzdLohYzOVM9yZloIWid3w_ME6dPtOjCZKbRZ8,463
93
- agentscope_runtime/sandbox/custom/custom_sandbox.py,sha256=2-HZRUlZcvv-YZh9NrHBByKamhVowwZ_drGJSAwKM8c,971
94
- agentscope_runtime/sandbox/custom/example.py,sha256=ycKmuUHghmPTUYfEQW0AyG5SHt1Ggf3_NlAP5Z6OZAQ,931
97
+ agentscope_runtime/sandbox/custom/custom_sandbox.py,sha256=NmLPYqz-DWGe5o6EuKJrbhAtpyfZbEOXzbw5hn0CNhM,972
98
+ agentscope_runtime/sandbox/custom/example.py,sha256=KDX3fT3BxvmEme9pMfN3xf96MS8CWNVmLyZyboE9hHI,928
95
99
  agentscope_runtime/sandbox/manager/__init__.py,sha256=KNHc1uDaUWBH_ZnWjH5NHRBiQM_zDyi9B2xKVNtAWIg,98
96
- agentscope_runtime/sandbox/manager/sandbox_manager.py,sha256=CTd5bd8EeRMoiL3PcPCW9HciNIWSU5XCe_5qI6IZjXk,23270
100
+ agentscope_runtime/sandbox/manager/sandbox_manager.py,sha256=-_NF9yWJ2x1lNesOQnZmsqhvKCTqV9BrxZiZmlkzZCE,24528
97
101
  agentscope_runtime/sandbox/manager/collections/__init__.py,sha256=teQPF7huMB2yEX_CAFsmIJhQxH7ldHR7gr11W3jlx4o,582
98
102
  agentscope_runtime/sandbox/manager/collections/base_mapping.py,sha256=IIVNwvaGVAiL6XxV0LvUHx-JmDvUc19iOGyRyAccMaI,361
99
103
  agentscope_runtime/sandbox/manager/collections/base_queue.py,sha256=eCwb5eovwzSV83J_Nq3HX_4IQ8rjYw9wdeVRS5sRQHA,424
100
104
  agentscope_runtime/sandbox/manager/collections/base_set.py,sha256=RasZxcXDkvdu89KhZc8Z_4TB5zIDTavCTLVVadfbB8w,449
101
- agentscope_runtime/sandbox/manager/collections/in_memory_mapping.py,sha256=TV8OzoU-0vDn6zO-At-j3xWHaLqBFkH2ymIWqfLvRpA,526
105
+ agentscope_runtime/sandbox/manager/collections/in_memory_mapping.py,sha256=_hB8XPqQOGR_0qZAp69P5q9AXPx2NlcEluyLU3QJ8fs,548
102
106
  agentscope_runtime/sandbox/manager/collections/in_memory_queue.py,sha256=wTbmT77DI0KLYAgFbmcMl7sr5aB6WjyW_USQXqF9gJ0,612
103
107
  agentscope_runtime/sandbox/manager/collections/in_memory_set.py,sha256=7qek5ZB3f_mdNJ4PUPoYv1yujHybdMjgpCYlFMosyMs,602
104
- agentscope_runtime/sandbox/manager/collections/redis_mapping.py,sha256=CmI_C83gQlbnZWz3vwFe5rySXxND11JnB8-iZbNooxo,688
108
+ agentscope_runtime/sandbox/manager/collections/redis_mapping.py,sha256=OBEYiOsYknw3RLs_DFOFPQV1BxDKCimK1EdrlIGo7u0,1296
105
109
  agentscope_runtime/sandbox/manager/collections/redis_queue.py,sha256=4MCIDs7SgSfdngTvqxWWv2H-8XTpFQOmXG4-fxN20ew,792
106
110
  agentscope_runtime/sandbox/manager/collections/redis_set.py,sha256=eRCnMXc4hcDF2qyxFiNnrn2o4QjvtgDb6rEcblmV1o8,654
107
- agentscope_runtime/sandbox/manager/container_clients/__init__.py,sha256=G5TTwLv_UgWUDwtwr6oohJXuGW3gAwxmgD1VhZH3zs8,225
111
+ agentscope_runtime/sandbox/manager/container_clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
112
+ agentscope_runtime/sandbox/manager/container_clients/agentrun_client.py,sha256=hd5-AJJKPZ2QRr7vNoSRraVI4ADXEK68Jf19H2ivQag,40540
108
113
  agentscope_runtime/sandbox/manager/container_clients/base_client.py,sha256=_uvxRh65lbMNXDcHjq01aYuNUrcxRlNzRtRIPMgWFGc,992
109
- agentscope_runtime/sandbox/manager/container_clients/docker_client.py,sha256=rmm2mUDfot81kQ7H6O5fI0QHXvCDOsepUdlNnC5ouVU,13407
110
- agentscope_runtime/sandbox/manager/container_clients/kubernetes_client.py,sha256=1LRlE53bfkGIFQxhZ5yGRAjqm9ilajmoNjLavCD8X5E,20884
114
+ agentscope_runtime/sandbox/manager/container_clients/docker_client.py,sha256=CcYgbLWsY3b_s7_IpJqd0HgnfZ1TN4DSKc8wmYku9eg,7604
115
+ agentscope_runtime/sandbox/manager/container_clients/kubernetes_client.py,sha256=74qtE2f6BU5__gfwUiA7Lb8CQKKP3ccdu64yiIxie88,20759
111
116
  agentscope_runtime/sandbox/manager/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
112
- agentscope_runtime/sandbox/manager/server/app.py,sha256=4JujdShc8FUEHLjwuFEO8kTAKAlBfWOcDmebBj22TyM,10295
113
- agentscope_runtime/sandbox/manager/server/config.py,sha256=rIRKI_GHmyt3Wty_ujUya_vSw_ij-rRkerqiQPG_yzU,2423
117
+ agentscope_runtime/sandbox/manager/server/app.py,sha256=g5gXPvrjPNRyxiriO9ulX2kfzhr2ibSikbMs1azE72M,11516
118
+ agentscope_runtime/sandbox/manager/server/config.py,sha256=G4qdCYniXq2-KUy05pxDJmD2JTQQE6op0Vkrg4VJ88I,3293
114
119
  agentscope_runtime/sandbox/manager/server/models.py,sha256=rCibF0HsotFcqsQVTSUoOTJCFQU3oqKvpOiWMWIRLyY,304
115
120
  agentscope_runtime/sandbox/manager/storage/__init__.py,sha256=jGmpfXV1E2X7AqkGeF1xu1EHiSTvbH3TSIviLbKBFh4,210
116
121
  agentscope_runtime/sandbox/manager/storage/data_storage.py,sha256=mGwf7LYbp_fRjLN9BZay6cm3eNziEdU6OlSBeFnIBMQ,475
@@ -118,8 +123,8 @@ agentscope_runtime/sandbox/manager/storage/local_storage.py,sha256=o6fkV-yUtBihh
118
123
  agentscope_runtime/sandbox/manager/storage/oss_storage.py,sha256=fIUxgOkOaH_1vlgWBnCM-e4UvD3xS_ycFe2yvSyXzBE,2970
119
124
  agentscope_runtime/sandbox/model/__init__.py,sha256=WoDOSD_67T-UkZdXOtJzwG4-0E8ABwUBJF6WSCs_sO0,182
120
125
  agentscope_runtime/sandbox/model/api.py,sha256=Sjxw6DHkGa8Sp5dUU5kaajkHPj7eiX1EgFZk-zOPafM,400
121
- agentscope_runtime/sandbox/model/container.py,sha256=w2X970bk0C7lLdpq0bk2BJzanVsEES6Btk1LdXWIp4I,1698
122
- agentscope_runtime/sandbox/model/manager_config.py,sha256=P2T0lT_uVlyh2tOcTpJo-zsiS9J7eJ5Voipb9GMFHiw,5118
126
+ agentscope_runtime/sandbox/model/container.py,sha256=ivrS3aF00jzHAWVEi5eDMTrZ8ld76C1ym2l3JRcGyQM,1704
127
+ agentscope_runtime/sandbox/model/manager_config.py,sha256=0zaxRJnt-r9O0iPSUfT5I6ysUo-B3xufB2nS1IeBMf4,8016
123
128
  agentscope_runtime/sandbox/tools/__init__.py,sha256=ioRqvKFLma8Vq0ePwOR5MekijpcHs2USNYA4Dnr-e6M,287
124
129
  agentscope_runtime/sandbox/tools/function_tool.py,sha256=mH4dq3M26pdk-XqxIm1wtsvQz5i8SXcP4Gz0-7_L7cQ,10309
125
130
  agentscope_runtime/sandbox/tools/mcp_tool.py,sha256=jayFnAoB_cZNwqViRjn0kmcfmYQslTTQVlpBVXdjxfE,6063
@@ -132,9 +137,9 @@ agentscope_runtime/sandbox/tools/browser/__init__.py,sha256=gXQx3tXclYqAhPDrXb1-
132
137
  agentscope_runtime/sandbox/tools/browser/tool.py,sha256=EJ-uhHX9oIb4Q-hXQhTS-7VRJ-AdCRWXb9HVdOQ5JAc,19206
133
138
  agentscope_runtime/sandbox/tools/filesystem/__init__.py,sha256=AJK88YU0ceJe99H7T-on2tgaow4ujqGJ1jwv0sd1TtE,607
134
139
  agentscope_runtime/sandbox/tools/filesystem/tool.py,sha256=CPsl4TMf76BOSQtG1dqDcVdymciKhMknIG5FffoI2Eg,9847
135
- agentscope_runtime-0.1.3.dist-info/licenses/LICENSE,sha256=3MckDTgiTJ0E6cxo8FeamFVEFiwz3XJWsriuTtRJzxY,11337
136
- agentscope_runtime-0.1.3.dist-info/METADATA,sha256=HH6QUvmCNZZFv-h5x3AYb5Uc0YM6qtUpft-rHHigs4Y,20318
137
- agentscope_runtime-0.1.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
138
- agentscope_runtime-0.1.3.dist-info/entry_points.txt,sha256=SGQZqgozJYj1yJtiyzqiJ2_iYmDvTl2lexxmXENY3wE,223
139
- agentscope_runtime-0.1.3.dist-info/top_level.txt,sha256=0YHketA7WcMmRmF-3lUzedeTOnP7iL77h-ekb-iG720,19
140
- agentscope_runtime-0.1.3.dist-info/RECORD,,
140
+ agentscope_runtime-0.1.5.dist-info/licenses/LICENSE,sha256=3MckDTgiTJ0E6cxo8FeamFVEFiwz3XJWsriuTtRJzxY,11337
141
+ agentscope_runtime-0.1.5.dist-info/METADATA,sha256=S3M-aeVblpeUC2bkkBema0NhQtmPkUdeYF-xt1fwa4c,23214
142
+ agentscope_runtime-0.1.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
143
+ agentscope_runtime-0.1.5.dist-info/entry_points.txt,sha256=SGQZqgozJYj1yJtiyzqiJ2_iYmDvTl2lexxmXENY3wE,223
144
+ agentscope_runtime-0.1.5.dist-info/top_level.txt,sha256=0YHketA7WcMmRmF-3lUzedeTOnP7iL77h-ekb-iG720,19
145
+ agentscope_runtime-0.1.5.dist-info/RECORD,,