agentscope-runtime 0.1.0__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 (131) hide show
  1. agentscope_runtime/__init__.py +4 -0
  2. agentscope_runtime/engine/__init__.py +9 -0
  3. agentscope_runtime/engine/agents/__init__.py +2 -0
  4. agentscope_runtime/engine/agents/agentscope_agent/__init__.py +6 -0
  5. agentscope_runtime/engine/agents/agentscope_agent/agent.py +342 -0
  6. agentscope_runtime/engine/agents/agentscope_agent/hooks.py +156 -0
  7. agentscope_runtime/engine/agents/agno_agent.py +220 -0
  8. agentscope_runtime/engine/agents/base_agent.py +29 -0
  9. agentscope_runtime/engine/agents/langgraph_agent.py +59 -0
  10. agentscope_runtime/engine/agents/llm_agent.py +51 -0
  11. agentscope_runtime/engine/deployers/__init__.py +3 -0
  12. agentscope_runtime/engine/deployers/adapter/__init__.py +0 -0
  13. agentscope_runtime/engine/deployers/adapter/a2a/__init__.py +2 -0
  14. agentscope_runtime/engine/deployers/adapter/a2a/a2a_adapter_utils.py +425 -0
  15. agentscope_runtime/engine/deployers/adapter/a2a/a2a_agent_adapter.py +69 -0
  16. agentscope_runtime/engine/deployers/adapter/a2a/a2a_protocol_adapter.py +60 -0
  17. agentscope_runtime/engine/deployers/adapter/protocol_adapter.py +24 -0
  18. agentscope_runtime/engine/deployers/base.py +17 -0
  19. agentscope_runtime/engine/deployers/local_deployer.py +586 -0
  20. agentscope_runtime/engine/helpers/helper.py +127 -0
  21. agentscope_runtime/engine/llms/__init__.py +3 -0
  22. agentscope_runtime/engine/llms/base_llm.py +60 -0
  23. agentscope_runtime/engine/llms/qwen_llm.py +47 -0
  24. agentscope_runtime/engine/misc/__init__.py +0 -0
  25. agentscope_runtime/engine/runner.py +186 -0
  26. agentscope_runtime/engine/schemas/__init__.py +0 -0
  27. agentscope_runtime/engine/schemas/agent_schemas.py +551 -0
  28. agentscope_runtime/engine/schemas/context.py +54 -0
  29. agentscope_runtime/engine/services/__init__.py +9 -0
  30. agentscope_runtime/engine/services/base.py +77 -0
  31. agentscope_runtime/engine/services/context_manager.py +129 -0
  32. agentscope_runtime/engine/services/environment_manager.py +50 -0
  33. agentscope_runtime/engine/services/manager.py +174 -0
  34. agentscope_runtime/engine/services/memory_service.py +270 -0
  35. agentscope_runtime/engine/services/sandbox_service.py +198 -0
  36. agentscope_runtime/engine/services/session_history_service.py +256 -0
  37. agentscope_runtime/engine/tracing/__init__.py +40 -0
  38. agentscope_runtime/engine/tracing/base.py +309 -0
  39. agentscope_runtime/engine/tracing/local_logging_handler.py +356 -0
  40. agentscope_runtime/engine/tracing/tracing_metric.py +69 -0
  41. agentscope_runtime/engine/tracing/wrapper.py +321 -0
  42. agentscope_runtime/sandbox/__init__.py +14 -0
  43. agentscope_runtime/sandbox/box/__init__.py +0 -0
  44. agentscope_runtime/sandbox/box/base/__init__.py +0 -0
  45. agentscope_runtime/sandbox/box/base/base_sandbox.py +37 -0
  46. agentscope_runtime/sandbox/box/base/box/__init__.py +0 -0
  47. agentscope_runtime/sandbox/box/browser/__init__.py +0 -0
  48. agentscope_runtime/sandbox/box/browser/box/__init__.py +0 -0
  49. agentscope_runtime/sandbox/box/browser/browser_sandbox.py +176 -0
  50. agentscope_runtime/sandbox/box/dummy/__init__.py +0 -0
  51. agentscope_runtime/sandbox/box/dummy/dummy_sandbox.py +26 -0
  52. agentscope_runtime/sandbox/box/filesystem/__init__.py +0 -0
  53. agentscope_runtime/sandbox/box/filesystem/box/__init__.py +0 -0
  54. agentscope_runtime/sandbox/box/filesystem/filesystem_sandbox.py +87 -0
  55. agentscope_runtime/sandbox/box/sandbox.py +115 -0
  56. agentscope_runtime/sandbox/box/shared/__init__.py +0 -0
  57. agentscope_runtime/sandbox/box/shared/app.py +44 -0
  58. agentscope_runtime/sandbox/box/shared/dependencies/__init__.py +5 -0
  59. agentscope_runtime/sandbox/box/shared/dependencies/deps.py +22 -0
  60. agentscope_runtime/sandbox/box/shared/routers/__init__.py +12 -0
  61. agentscope_runtime/sandbox/box/shared/routers/generic.py +173 -0
  62. agentscope_runtime/sandbox/box/shared/routers/mcp.py +207 -0
  63. agentscope_runtime/sandbox/box/shared/routers/mcp_utils.py +153 -0
  64. agentscope_runtime/sandbox/box/shared/routers/runtime_watcher.py +187 -0
  65. agentscope_runtime/sandbox/box/shared/routers/workspace.py +325 -0
  66. agentscope_runtime/sandbox/box/training_box/__init__.py +0 -0
  67. agentscope_runtime/sandbox/box/training_box/base.py +120 -0
  68. agentscope_runtime/sandbox/box/training_box/env_service.py +752 -0
  69. agentscope_runtime/sandbox/box/training_box/environments/__init__.py +0 -0
  70. agentscope_runtime/sandbox/box/training_box/environments/appworld/appworld_env.py +987 -0
  71. agentscope_runtime/sandbox/box/training_box/registry.py +54 -0
  72. agentscope_runtime/sandbox/box/training_box/src/trajectory.py +278 -0
  73. agentscope_runtime/sandbox/box/training_box/training_box.py +219 -0
  74. agentscope_runtime/sandbox/build.py +213 -0
  75. agentscope_runtime/sandbox/client/__init__.py +5 -0
  76. agentscope_runtime/sandbox/client/http_client.py +527 -0
  77. agentscope_runtime/sandbox/client/training_client.py +265 -0
  78. agentscope_runtime/sandbox/constant.py +5 -0
  79. agentscope_runtime/sandbox/custom/__init__.py +16 -0
  80. agentscope_runtime/sandbox/custom/custom_sandbox.py +40 -0
  81. agentscope_runtime/sandbox/custom/example.py +37 -0
  82. agentscope_runtime/sandbox/enums.py +68 -0
  83. agentscope_runtime/sandbox/manager/__init__.py +4 -0
  84. agentscope_runtime/sandbox/manager/collections/__init__.py +22 -0
  85. agentscope_runtime/sandbox/manager/collections/base_mapping.py +20 -0
  86. agentscope_runtime/sandbox/manager/collections/base_queue.py +25 -0
  87. agentscope_runtime/sandbox/manager/collections/base_set.py +25 -0
  88. agentscope_runtime/sandbox/manager/collections/in_memory_mapping.py +22 -0
  89. agentscope_runtime/sandbox/manager/collections/in_memory_queue.py +28 -0
  90. agentscope_runtime/sandbox/manager/collections/in_memory_set.py +27 -0
  91. agentscope_runtime/sandbox/manager/collections/redis_mapping.py +26 -0
  92. agentscope_runtime/sandbox/manager/collections/redis_queue.py +27 -0
  93. agentscope_runtime/sandbox/manager/collections/redis_set.py +23 -0
  94. agentscope_runtime/sandbox/manager/container_clients/__init__.py +8 -0
  95. agentscope_runtime/sandbox/manager/container_clients/base_client.py +39 -0
  96. agentscope_runtime/sandbox/manager/container_clients/docker_client.py +170 -0
  97. agentscope_runtime/sandbox/manager/sandbox_manager.py +694 -0
  98. agentscope_runtime/sandbox/manager/server/__init__.py +0 -0
  99. agentscope_runtime/sandbox/manager/server/app.py +194 -0
  100. agentscope_runtime/sandbox/manager/server/config.py +68 -0
  101. agentscope_runtime/sandbox/manager/server/models.py +17 -0
  102. agentscope_runtime/sandbox/manager/storage/__init__.py +10 -0
  103. agentscope_runtime/sandbox/manager/storage/data_storage.py +16 -0
  104. agentscope_runtime/sandbox/manager/storage/local_storage.py +44 -0
  105. agentscope_runtime/sandbox/manager/storage/oss_storage.py +89 -0
  106. agentscope_runtime/sandbox/manager/utils.py +78 -0
  107. agentscope_runtime/sandbox/mcp_server.py +192 -0
  108. agentscope_runtime/sandbox/model/__init__.py +12 -0
  109. agentscope_runtime/sandbox/model/api.py +16 -0
  110. agentscope_runtime/sandbox/model/container.py +72 -0
  111. agentscope_runtime/sandbox/model/manager_config.py +158 -0
  112. agentscope_runtime/sandbox/registry.py +129 -0
  113. agentscope_runtime/sandbox/tools/__init__.py +12 -0
  114. agentscope_runtime/sandbox/tools/base/__init__.py +8 -0
  115. agentscope_runtime/sandbox/tools/base/tool.py +52 -0
  116. agentscope_runtime/sandbox/tools/browser/__init__.py +57 -0
  117. agentscope_runtime/sandbox/tools/browser/tool.py +597 -0
  118. agentscope_runtime/sandbox/tools/filesystem/__init__.py +32 -0
  119. agentscope_runtime/sandbox/tools/filesystem/tool.py +319 -0
  120. agentscope_runtime/sandbox/tools/function_tool.py +321 -0
  121. agentscope_runtime/sandbox/tools/mcp_tool.py +191 -0
  122. agentscope_runtime/sandbox/tools/sandbox_tool.py +104 -0
  123. agentscope_runtime/sandbox/tools/tool.py +123 -0
  124. agentscope_runtime/sandbox/tools/utils.py +68 -0
  125. agentscope_runtime/version.py +2 -0
  126. agentscope_runtime-0.1.0.dist-info/METADATA +327 -0
  127. agentscope_runtime-0.1.0.dist-info/RECORD +131 -0
  128. agentscope_runtime-0.1.0.dist-info/WHEEL +5 -0
  129. agentscope_runtime-0.1.0.dist-info/entry_points.txt +4 -0
  130. agentscope_runtime-0.1.0.dist-info/licenses/LICENSE +202 -0
  131. agentscope_runtime-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,327 @@
1
+ Metadata-Version: 2.4
2
+ Name: agentscope-runtime
3
+ Version: 0.1.0
4
+ Summary: A production-ready runtime framework for agent applications, providing secure sandboxed execution environments and scalable deployment solutions with multi-framework support.
5
+ Requires-Python: >=3.10
6
+ Description-Content-Type: text/markdown
7
+ License-File: LICENSE
8
+ Requires-Dist: mcp<1.10.0,>=1.8.0
9
+ Requires-Dist: fastapi>=0.104.0
10
+ Requires-Dist: uvicorn[standard]>=0.24.0
11
+ Requires-Dist: openai
12
+ Requires-Dist: pydantic>=2.11.7
13
+ Requires-Dist: requests>=2.32.4
14
+ Provides-Extra: dev
15
+ Requires-Dist: pytest>=8.3.5; extra == "dev"
16
+ Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
17
+ Requires-Dist: pre-commit>=4.2.0; extra == "dev"
18
+ Requires-Dist: jupyter-book>=1.0.4.post1; extra == "dev"
19
+ Requires-Dist: furo>=2025.7.19; extra == "dev"
20
+ Provides-Extra: sandbox
21
+ Requires-Dist: docker>=7.1.0; extra == "sandbox"
22
+ Requires-Dist: steel-sdk>=0.1.0; extra == "sandbox"
23
+ Requires-Dist: redis>=6.0.0b2; extra == "sandbox"
24
+ Requires-Dist: oss2>=2.19.1; extra == "sandbox"
25
+ Requires-Dist: requests>=2.32.4; extra == "sandbox"
26
+ Requires-Dist: pydantic-settings>=2.9.1; extra == "sandbox"
27
+ Requires-Dist: dotenv>=0.9.9; extra == "sandbox"
28
+ Provides-Extra: agentscope
29
+ Requires-Dist: agentscope==1.0.0; extra == "agentscope"
30
+ Provides-Extra: langgraph
31
+ Requires-Dist: langgraph>=0.5.3; extra == "langgraph"
32
+ Provides-Extra: agno
33
+ Requires-Dist: agno>=1.7.5; extra == "agno"
34
+ Provides-Extra: a2a
35
+ Requires-Dist: a2a-sdk>=0.3.0; extra == "a2a"
36
+ Dynamic: license-file
37
+
38
+ <div align="center">
39
+
40
+ # AgentScope Runtime
41
+
42
+ [![Python Version](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://python.org)
43
+ [![Version](https://img.shields.io/badge/version-0.1.0-green.svg)](https://github.com/agentscope-ai/agentscope-runtime)
44
+ [![License](https://img.shields.io/badge/license-Apache%202.0-yellow.svg)](LICENSE)
45
+ [![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
46
+
47
+ [[中文README]](README_zh.md)
48
+
49
+ **A Production-Ready Runtime Framework for Intelligent Agent Applications**
50
+
51
+ *AgentScope Runtime tackles two critical challenges in agent development: secure sandboxed tool execution and scalable agent deployment. Built with a dual-core architecture, it provides framework-agnostic infrastructure for deploying agents with full observability and safe tool interactions.*
52
+
53
+ </div>
54
+
55
+ ---
56
+
57
+ ## ✨ Key Features
58
+
59
+ - **🏗️ Deployment Infrastructure**: Built-in services for session management, memory, and sandbox environment control
60
+ - **🔒 Sandboxed Tool Execution**: Isolated sandboxes ensure safe tool execution without system compromise
61
+
62
+ - **🔧 Framework Agnostic**: Not tied to any specific framework. Works seamlessly with popular open-source agent frameworks and custom implementations
63
+
64
+ - ⚡ **Developer Friendly**: Simple deployment with powerful customization options
65
+
66
+ - **📊 Observability**: Comprehensive tracing and monitoring for runtime operations
67
+
68
+ ---
69
+
70
+ ## 💬 Contact
71
+
72
+ Welcome to join our community on
73
+
74
+ | [Discord](https://discord.gg/eYMpfnkG8h) | DingTalk |
75
+ | ------------------------------------------------------------ | ------------------------------------------------------------ |
76
+ | <img src="https://gw.alicdn.com/imgextra/i1/O1CN01hhD1mu1Dd3BWVUvxN_!!6000000000238-2-tps-400-400.png" width="100" height="100"> | <img src="https://img.alicdn.com/imgextra/i1/O1CN01LxzZha1thpIN2cc2E_!!6000000005934-2-tps-497-477.png" width="100" height="100"> |
77
+
78
+ ---
79
+
80
+ ## 📋 Table of Contents
81
+
82
+ - [🚀 Quick Start](#-quick-start)
83
+ - [📚 Cookbook](#-cookbook)
84
+ - [🔌Agent Framework Integration](#-agent-framework-integration)
85
+ - [🏗️ Deployment](#️-deployment)
86
+ - [🤝 Contributing](#-contributing)
87
+ - [📄 License](#-license)
88
+
89
+ ---
90
+
91
+ ## 🚀 Quick Start
92
+
93
+ ### Prerequisites
94
+ - Python 3.10 or higher
95
+ - pip or uv package manager
96
+
97
+ ### Installation
98
+
99
+ ```bash
100
+ # Install dependencies
101
+ pip install agentscope-runtime
102
+
103
+ # Install sandbox dependencies
104
+ pip install "agentscope-runtime[sandbox]"
105
+ ```
106
+
107
+ ### Basic Agent Usage Example
108
+
109
+ This example demonstrates how to create a simple LLM agent using AgentScope Runtime and stream responses from the Qwen model.
110
+
111
+ ```python
112
+ import asyncio
113
+ import os
114
+ from agentscope_runtime.engine import Runner
115
+ from agentscope_runtime.engine.agents.llm_agent import LLMAgent
116
+ from agentscope_runtime.engine.llms import QwenLLM
117
+ from agentscope_runtime.engine.schemas.agent_schemas import AgentRequest
118
+ from agentscope_runtime.engine.services.context_manager import ContextManager
119
+
120
+
121
+ async def main():
122
+ # Set up the language model and agent
123
+ model = QwenLLM(
124
+ model_name="qwen-turbo",
125
+ api_key=os.getenv("DASHSCOPE_API_KEY"),
126
+ )
127
+ llm_agent = LLMAgent(model=model, name="llm_agent")
128
+
129
+ async with ContextManager() as context_manager:
130
+ runner = Runner(agent=llm_agent, context_manager=context_manager)
131
+
132
+ # Create a request and stream the response
133
+ request = AgentRequest(
134
+ input=[
135
+ {
136
+ "role": "user",
137
+ "content": [
138
+ {
139
+ "type": "text",
140
+ "text": "What is the capital of France?",
141
+ },
142
+ ],
143
+ },
144
+ ],
145
+ )
146
+
147
+ async for message in runner.stream_query(request=request):
148
+ if hasattr(message, "text"):
149
+ print(f"Streamed Answer: {message.text}")
150
+
151
+
152
+ asyncio.run(main())
153
+ ```
154
+
155
+ ### Basic Sandbox Usage Example
156
+
157
+ This example demonstrates how to create sandboxed and execute tool within the sandbox.
158
+
159
+ ```python
160
+ from agentscope_runtime.sandbox import BaseSandbox
161
+
162
+ with BaseSandbox() as box:
163
+ print(box.run_ipython_cell(code="print('hi')"))
164
+ print(box.run_shell_command(command="echo hello"))
165
+ ```
166
+
167
+ ---
168
+
169
+ ## 📚 Cookbook
170
+
171
+ - **[📖 Cookbook](/cookbook/en/intro.md)**: Comprehensive tutorials
172
+ - **[💡 Concept](/cookbook/en/concept.md)**: Core concepts and architecture overview
173
+ - **[🚀 Quick Start](/cookbook/en/quickstart.md)**: Quick start tutorial
174
+ - **[🏠 Demo House](/cookbook/en/demohouse.md)**: Rich example projects
175
+
176
+ ---
177
+
178
+ ## 🔌 Agent Framework Integration
179
+
180
+ ### AgentScope Integration
181
+
182
+ ```python
183
+ import os
184
+
185
+ from agentscope.agent import ReActAgent
186
+ from agentscope.model import OpenAIChatModel
187
+ from agentscope_runtime.engine.agents.agentscope_agent import AgentScopeAgent
188
+
189
+ agent = AgentScopeAgent(
190
+ name="Friday",
191
+ model=OpenAIChatModel(
192
+ "gpt-4",
193
+ api_key=os.getenv("OPENAI_API_KEY"),
194
+ ),
195
+ agent_config={
196
+ "sys_prompt": "You're a helpful assistant named {name}.",
197
+ },
198
+ agent_builder=ReActAgent,
199
+ )
200
+ ```
201
+
202
+ ### Agno Integration
203
+
204
+ ```python
205
+ from agno.agent import Agent
206
+ from agno.models.openai import OpenAIChat
207
+ from agentscope_runtime.engine.agents.agno_agent import AgnoAgent
208
+
209
+ agent = AgnoAgent(
210
+ name="Friday",
211
+ model=OpenAIChat(
212
+ id="gpt-4",
213
+ ),
214
+ agent_config={
215
+ "instructions": "You're a helpful assistant.",
216
+ },
217
+ agent_builder=Agent,
218
+ )
219
+ ```
220
+
221
+ ### LangGraph Integration
222
+
223
+ ```python
224
+ from typing import TypedDict
225
+ from langgraph import graph, types
226
+ from agentscope_runtime.engine.agents.langgraph_agent import LangGraphAgent
227
+
228
+
229
+ # define the state
230
+ class State(TypedDict, total=False):
231
+ id: str
232
+
233
+
234
+ # define the node functions
235
+ async def set_id(state: State):
236
+ new_id = state.get("id")
237
+ assert new_id is not None, "must set ID"
238
+ return types.Command(update=State(id=new_id), goto="REVERSE_ID")
239
+
240
+
241
+ async def reverse_id(state: State):
242
+ new_id = state.get("id")
243
+ assert new_id is not None, "ID must be set before reversing"
244
+ return types.Command(update=State(id=new_id[::-1]))
245
+
246
+
247
+ state_graph = graph.StateGraph(state_schema=State)
248
+ state_graph.add_node("SET_ID", set_id)
249
+ state_graph.add_node("REVERSE_ID", reverse_id)
250
+ state_graph.set_entry_point("SET_ID")
251
+ compiled_graph = state_graph.compile(name="ID Reversal")
252
+ agent = LangGraphAgent(graph=compiled_graph)
253
+ ```
254
+
255
+ > [!NOTE]
256
+ >
257
+ > More agent framework interations are comming soon!
258
+
259
+ ---
260
+
261
+ ## 🏗️ Deployment
262
+
263
+ The agent runner exposes a `deploy` method that takes a `DeployManager` instance and deploys the agent. The service port is set as the parameter `port` when creating the `LocalDeployManager`. The service endpoint path is set as the parameter `endpoint_path` when deploying the agent. In this example, we set the endpoint path to `/process`. After deployment, you can access the service at `http://localhost:8090/process`.
264
+
265
+ ```python
266
+ from agentscope_runtime.engine.deployers import LocalDeployManager
267
+
268
+ # Create deployment manager
269
+ deploy_manager = LocalDeployManager(
270
+ host="localhost",
271
+ port=8090,
272
+ )
273
+
274
+ # Deploy the agent as a streaming service
275
+ deploy_result = await runner.deploy(
276
+ deploy_manager=deploy_manager,
277
+ endpoint_path="/process",
278
+ stream=True, # Enable streaming responses
279
+ )
280
+ ```
281
+
282
+ ---
283
+
284
+ ## 🤝 Contributing
285
+
286
+ We welcome contributions from the community! Here's how you can help:
287
+
288
+ ### 🐛 Bug Reports
289
+ - Use GitHub Issues to report bugs
290
+ - Include detailed reproduction steps
291
+ - Provide system information and logs
292
+
293
+ ### 💡 Feature Requests
294
+ - Discuss new ideas in GitHub Discussions
295
+ - Follow the feature request template
296
+ - Consider implementation feasibility
297
+
298
+ ### 🔧 Code Contributions
299
+ 1. Fork the repository
300
+ 2. Create a feature branch (`git checkout -b feature/amazing-feature`)
301
+ 3. Commit your changes (`git commit -m 'Add amazing feature'`)
302
+ 4. Push to the branch (`git push origin feature/amazing-feature`)
303
+ 5. Open a Pull Request
304
+
305
+ For detailed contributing guidelines, please see [CONTRIBUTE](cookbook/en/contribute.md).
306
+
307
+ ---
308
+
309
+ ## 📄 License
310
+
311
+ AgentScope Runtime is released under the [Apache License 2.0](LICENSE).
312
+
313
+ ```
314
+ Copyright 2025 Tongyi Lab
315
+
316
+ Licensed under the Apache License, Version 2.0 (the "License");
317
+ you may not use this file except in compliance with the License.
318
+ You may obtain a copy of the License at
319
+
320
+ http://www.apache.org/licenses/LICENSE-2.0
321
+
322
+ Unless required by applicable law or agreed to in writing, software
323
+ distributed under the License is distributed on an "AS IS" BASIS,
324
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
325
+ See the License for the specific language governing permissions and
326
+ limitations under the License.
327
+ ```
@@ -0,0 +1,131 @@
1
+ agentscope_runtime/__init__.py,sha256=LMAUeUpPo2qzqh3zyZ-JJwc8GrsiT9b-yNhQMxlKmfE,84
2
+ agentscope_runtime/version.py,sha256=uH1loJ9Z7js-rzD3AtGaiKy64plJ8DNE5Otkg7-erc8,47
3
+ agentscope_runtime/engine/__init__.py,sha256=jsvYM1LlZVP4EFzsE5uu5ycgBU9CVnug7UyTzBmpX5g,213
4
+ agentscope_runtime/engine/runner.py,sha256=HhOjfAgao-b5vzSZh6pckVhx0K32qs868dvRE3Z56TA,5686
5
+ agentscope_runtime/engine/agents/__init__.py,sha256=xHp7FY6QM-nAhQAECi7xzrJkRkYZpAa5_zHRhO6Zogc,54
6
+ agentscope_runtime/engine/agents/agno_agent.py,sha256=jw_ZbXL5Y_WiSWom2Q6WqeBE4Q5_TqC1hjQ1cPxKHnw,6674
7
+ agentscope_runtime/engine/agents/base_agent.py,sha256=fGf4MNKmfm_fsU2orTPLpt7TT5HkZZZYR05rhp5s7-E,782
8
+ agentscope_runtime/engine/agents/langgraph_agent.py,sha256=05Z5js7g9Dxy-MWj0W00jOtFMNnHzSPjlP3WIIVHTtQ,1416
9
+ agentscope_runtime/engine/agents/llm_agent.py,sha256=0hG_FRtAxmlljmI51GT7ui_7wjjHO03wckx9bNKra8Y,1356
10
+ agentscope_runtime/engine/agents/agentscope_agent/__init__.py,sha256=lt1NJEDuBWaX1n-bqMbQR6Uol7-fFUuyeuHy8FQrzWk,97
11
+ agentscope_runtime/engine/agents/agentscope_agent/agent.py,sha256=76F0Ij3nMR04elkUE4R_L5lbLygLJ_t79rnh3nijgEg,11941
12
+ agentscope_runtime/engine/agents/agentscope_agent/hooks.py,sha256=iX2xY3UDtiC1ilzvyHL4kLWKB4xH-iQ4o3erh5HVpXo,5444
13
+ agentscope_runtime/engine/deployers/__init__.py,sha256=2eUo6uvloMt4AstmalkwcBgR7gPyppNqlmjld0Ztpxk,103
14
+ agentscope_runtime/engine/deployers/base.py,sha256=0bb3zQiVE1jTMG0NCsjhcSeP7lhnbn1KPQRx1H5hues,494
15
+ agentscope_runtime/engine/deployers/local_deployer.py,sha256=LaxGzSMW4aoF717GheYno7N38Y66ifIO4Zt2qRkT_Qg,20691
16
+ agentscope_runtime/engine/deployers/adapter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
+ agentscope_runtime/engine/deployers/adapter/protocol_adapter.py,sha256=OpLfBWiFY_xC0uG53UYSeQuUnw7vZzvNnm5w6QFr9_w,737
18
+ agentscope_runtime/engine/deployers/adapter/a2a/__init__.py,sha256=3D6TxH-seVfR7_SqYttNSkGkZv3o_TS9R5XqUkVxed4,83
19
+ agentscope_runtime/engine/deployers/adapter/a2a/a2a_adapter_utils.py,sha256=VZ4f7Ne9sRWFiLhuxoKDhwSpsxZTg_uLygoOlI-KlEA,11441
20
+ agentscope_runtime/engine/deployers/adapter/a2a/a2a_agent_adapter.py,sha256=h7wwl2CiKcGUxhKkrWN7DpaIpTltoRm-6ETS_fJHmEk,2147
21
+ agentscope_runtime/engine/deployers/adapter/a2a/a2a_protocol_adapter.py,sha256=eDBDu3WTLjZ6TWA3jG48EIos1kZqiKHBXPSVzfNvniM,1905
22
+ agentscope_runtime/engine/helpers/helper.py,sha256=KkP48xd3-4n054Y1WhNHFJ9BT9NhPyReLGV5O5-PIuo,3591
23
+ agentscope_runtime/engine/llms/__init__.py,sha256=UV_lqTcsvcihP2OWERLWjiEbcSDbfieD-rFYRWX2xA0,84
24
+ agentscope_runtime/engine/llms/base_llm.py,sha256=Vvxlqom35qaSLYSyyh3hj-XsoyFxcf5BqXbvFBnbNE4,1664
25
+ agentscope_runtime/engine/llms/qwen_llm.py,sha256=_J-PpwSrKNSmQzO6KNzJlMd5t4m47YVKXp0fl-KYQmA,1271
26
+ agentscope_runtime/engine/misc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
+ agentscope_runtime/engine/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
+ agentscope_runtime/engine/schemas/agent_schemas.py,sha256=lyYlXLn6EY7Yg_anook7mxG2TynjCmcf7Eja5UFDoHo,14653
29
+ agentscope_runtime/engine/schemas/context.py,sha256=Qd2ee4HCYNmD5VHsacrScdpNq8q2aJwsRtsrBZarI9M,1550
30
+ agentscope_runtime/engine/services/__init__.py,sha256=SAsmwIr8etoUbqz5W1K2pH5ONlFzooXMQ0UFXTXfHwM,271
31
+ agentscope_runtime/engine/services/base.py,sha256=g2hTc3ivj2MPjnsu5_09m6_MZ3KDHBfiYKu4F2pLA1I,2096
32
+ agentscope_runtime/engine/services/context_manager.py,sha256=PaGeq_uK1DqOb75ViMGO_qP32W2vnw70uwY-FP1bubs,4058
33
+ agentscope_runtime/engine/services/environment_manager.py,sha256=Bd3vmgX5KkN9gTY60o7Pozpsw0S8etpSJns63woSlDU,1347
34
+ agentscope_runtime/engine/services/manager.py,sha256=r-TcHti8sEMXjZbwPWlG32J8iiMHUXuUJmAiwPvgn_Q,6282
35
+ agentscope_runtime/engine/services/memory_service.py,sha256=ztVgjOOH5_udA5bygV1Zep6WxWJCmGILCofDsTUfljo,7881
36
+ agentscope_runtime/engine/services/sandbox_service.py,sha256=IzVg5BtDEfqFrVy7SnE3GDYXVXc0jzv9XIl0mFYHWDk,6082
37
+ agentscope_runtime/engine/services/session_history_service.py,sha256=CLDMHNja6k7VrTQMkQDf24uP-aSGV5sdBjG5A0t_c64,8044
38
+ agentscope_runtime/engine/tracing/__init__.py,sha256=DuM6Zp_IJ-ixgTTomtrMbpcYiMJOHMrJHwKIqcLzrfA,1133
39
+ agentscope_runtime/engine/tracing/base.py,sha256=fYTHN0QmTWa_4zbT4fBduNndOuh03-JE302ssBJtu30,9747
40
+ agentscope_runtime/engine/tracing/local_logging_handler.py,sha256=LP-2NX7kRPhEN-WtnLNuhMKDSpxhT03kLtHFKkuQFjQ,12315
41
+ agentscope_runtime/engine/tracing/tracing_metric.py,sha256=3qHqBRiTWijqBPLchxyERfPZCstTo8Y5LuL-eCuQas0,2115
42
+ agentscope_runtime/engine/tracing/wrapper.py,sha256=ioeKSRJDJgcW34OfFmAq7vgE0FNEFXa_4QLSf7kUBfU,11236
43
+ agentscope_runtime/sandbox/__init__.py,sha256=39NF3OdrBoUOje8gHI--cIgLMfY3ojm0JWYmGsEiWFU,378
44
+ agentscope_runtime/sandbox/build.py,sha256=EethoUnT2P8k3UoS3m97VHsiZ8E-6hNTPD7ihOTAmZ0,6436
45
+ agentscope_runtime/sandbox/constant.py,sha256=-CaSZkDPO2XQ70-PVymu4Z5Y7hlvdpPJ3zgP27MLvik,156
46
+ agentscope_runtime/sandbox/enums.py,sha256=_2I1pl6sxNKYtxEwqDpJ43ZOP-Y4yWScBNbDLn5_d3A,1838
47
+ agentscope_runtime/sandbox/mcp_server.py,sha256=UT3aRZqyeHqEhhm-wZ0Ilhew3eDMHzz9DCN6Qb-eKFk,6012
48
+ agentscope_runtime/sandbox/registry.py,sha256=E4APDpk1oxhJCh8dEIDjZ1DtQJ-mPaRGYXr3AbTsnmc,4191
49
+ agentscope_runtime/sandbox/box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
50
+ agentscope_runtime/sandbox/box/sandbox.py,sha256=pk00BPiMbYco53TpmjmNP2ImzfujdrI6xOnuKg_RWzw,3310
51
+ agentscope_runtime/sandbox/box/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
+ agentscope_runtime/sandbox/box/base/base_sandbox.py,sha256=zhQLTRtdpktNw7UpWeMKwEd5oWn_L-VUIIY9_IiBT9M,1002
53
+ agentscope_runtime/sandbox/box/base/box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
+ agentscope_runtime/sandbox/box/browser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
+ agentscope_runtime/sandbox/box/browser/browser_sandbox.py,sha256=AbV8GTlyG1o2NvvvPpeRexnOSkcLWfAkT19UeXlVeKc,4871
56
+ agentscope_runtime/sandbox/box/browser/box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
57
+ agentscope_runtime/sandbox/box/dummy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
58
+ agentscope_runtime/sandbox/box/dummy/dummy_sandbox.py,sha256=Bqy3M_0Rj2iNSlOX2S1wVgffaVj0qAUhdxawRbNHB7w,668
59
+ agentscope_runtime/sandbox/box/filesystem/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
60
+ agentscope_runtime/sandbox/box/filesystem/filesystem_sandbox.py,sha256=wYDUoOF4Km8yS44APqoMo4W2gbswYFgwFY1tr7AkwXU,2507
61
+ agentscope_runtime/sandbox/box/filesystem/box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
+ agentscope_runtime/sandbox/box/shared/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
63
+ agentscope_runtime/sandbox/box/shared/app.py,sha256=bw6l0XPVF86yuh0jO_Sx9S-B-luFE3U3lIb6Qjc3dGU,1107
64
+ agentscope_runtime/sandbox/box/shared/dependencies/__init__.py,sha256=e1x-6L6vsBbQBrtjrDsdK8eqk-lCqxOIPrSqWyxoG50,98
65
+ agentscope_runtime/sandbox/box/shared/dependencies/deps.py,sha256=pavJWhin5Dbc1f452PDNaCYo9RkK-y95dwLyYZQMOPQ,687
66
+ agentscope_runtime/sandbox/box/shared/routers/__init__.py,sha256=QokVfRhfBftiXktqpn3iqdKcSz7TcSn-4Kbf4QhOUXs,273
67
+ agentscope_runtime/sandbox/box/shared/routers/generic.py,sha256=OP3aRmswIMj73DeDX4GqsoY1n3oQZ_Ncjxexhj-_xYg,4497
68
+ agentscope_runtime/sandbox/box/shared/routers/mcp.py,sha256=_2492A88qba3hUPV67oexfWm-mHEFcr9ygzW-Qqhyi0,6046
69
+ agentscope_runtime/sandbox/box/shared/routers/mcp_utils.py,sha256=t7AqIMuUlhjFY7pIm7gWeCuxoEKXYs2IzVjnY8mcuoA,4992
70
+ agentscope_runtime/sandbox/box/shared/routers/runtime_watcher.py,sha256=v4jAGYtJaYsRJaSTv7e7hmDLHWVAtJqnSnpPq-kFcmU,5344
71
+ agentscope_runtime/sandbox/box/shared/routers/workspace.py,sha256=cQMbWNQG7ojHZfWN0xFqEivhlpQO4qEDo3amkhVHUBg,9748
72
+ agentscope_runtime/sandbox/box/training_box/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
73
+ agentscope_runtime/sandbox/box/training_box/base.py,sha256=iUPsfA8oiGDR3BMVU7qisvO-UT8HtCx78ayW67DQ0WQ,3307
74
+ agentscope_runtime/sandbox/box/training_box/env_service.py,sha256=oCan3Q4mK8Hz9CiOEmHBp6DLxj8m0lVqOO_Mh--qd9E,22597
75
+ agentscope_runtime/sandbox/box/training_box/registry.py,sha256=6fTMZvJbakhEqkaO61K-wIfX6uau7g4nFP63bQ7jiNI,1362
76
+ agentscope_runtime/sandbox/box/training_box/training_box.py,sha256=pvkzbO5UOP9kgEL6xRjH3nk6inmW1QmRTbHvXT0TB6E,6143
77
+ agentscope_runtime/sandbox/box/training_box/environments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
78
+ agentscope_runtime/sandbox/box/training_box/environments/appworld/appworld_env.py,sha256=FJc0eb6bnKL6lxx_4EKWr7kmKLi2jLsykNstecXEqkc,27786
79
+ agentscope_runtime/sandbox/box/training_box/src/trajectory.py,sha256=cFr3uVUPq5gHKPa6ALi7QCLBVkgYOyPgyJrOzgBHf3k,7885
80
+ agentscope_runtime/sandbox/client/__init__.py,sha256=KiNsTToc1jICqCC1BcH762jZgHuOkCPiG32oXGo6dQE,176
81
+ agentscope_runtime/sandbox/client/http_client.py,sha256=YqITjeq4fySWSDr39DAG80NpRfD0--Ndupr7hMqL7RA,17954
82
+ agentscope_runtime/sandbox/client/training_client.py,sha256=MYfI06MeyIelwjY4QllVL4exhSCMNpdMudGi2ctVL28,7675
83
+ agentscope_runtime/sandbox/custom/__init__.py,sha256=wpu0DlzdLohYzOVM9yZloIWid3w_ME6dPtOjCZKbRZ8,463
84
+ agentscope_runtime/sandbox/custom/custom_sandbox.py,sha256=3G0xn2654gTUJ65QvB1D-_sFtHDq5arSBJd4uuxIkpM,1023
85
+ agentscope_runtime/sandbox/custom/example.py,sha256=NB4mzT7ce8m1qLkImRihCDjC2SifWLJt65F-jKZ44C0,983
86
+ agentscope_runtime/sandbox/manager/__init__.py,sha256=KNHc1uDaUWBH_ZnWjH5NHRBiQM_zDyi9B2xKVNtAWIg,98
87
+ agentscope_runtime/sandbox/manager/sandbox_manager.py,sha256=IltdO0Ln3BAhB9543YT6CljdgnpGANrgHRX9LJGKb1c,23056
88
+ agentscope_runtime/sandbox/manager/utils.py,sha256=c_Zicb8xnkp7UoPC9SN29m2H7mvREFbCExBM_8sU_Ug,1977
89
+ agentscope_runtime/sandbox/manager/collections/__init__.py,sha256=teQPF7huMB2yEX_CAFsmIJhQxH7ldHR7gr11W3jlx4o,582
90
+ agentscope_runtime/sandbox/manager/collections/base_mapping.py,sha256=IIVNwvaGVAiL6XxV0LvUHx-JmDvUc19iOGyRyAccMaI,361
91
+ agentscope_runtime/sandbox/manager/collections/base_queue.py,sha256=eCwb5eovwzSV83J_Nq3HX_4IQ8rjYw9wdeVRS5sRQHA,424
92
+ agentscope_runtime/sandbox/manager/collections/base_set.py,sha256=RasZxcXDkvdu89KhZc8Z_4TB5zIDTavCTLVVadfbB8w,449
93
+ agentscope_runtime/sandbox/manager/collections/in_memory_mapping.py,sha256=TV8OzoU-0vDn6zO-At-j3xWHaLqBFkH2ymIWqfLvRpA,526
94
+ agentscope_runtime/sandbox/manager/collections/in_memory_queue.py,sha256=wTbmT77DI0KLYAgFbmcMl7sr5aB6WjyW_USQXqF9gJ0,612
95
+ agentscope_runtime/sandbox/manager/collections/in_memory_set.py,sha256=7qek5ZB3f_mdNJ4PUPoYv1yujHybdMjgpCYlFMosyMs,602
96
+ agentscope_runtime/sandbox/manager/collections/redis_mapping.py,sha256=CmI_C83gQlbnZWz3vwFe5rySXxND11JnB8-iZbNooxo,688
97
+ agentscope_runtime/sandbox/manager/collections/redis_queue.py,sha256=4MCIDs7SgSfdngTvqxWWv2H-8XTpFQOmXG4-fxN20ew,792
98
+ agentscope_runtime/sandbox/manager/collections/redis_set.py,sha256=eRCnMXc4hcDF2qyxFiNnrn2o4QjvtgDb6rEcblmV1o8,654
99
+ agentscope_runtime/sandbox/manager/container_clients/__init__.py,sha256=GBHfhh-jxSWIT3XWDWzweMTpHsV3_-FwgH_AkXt0lsg,153
100
+ agentscope_runtime/sandbox/manager/container_clients/base_client.py,sha256=_uvxRh65lbMNXDcHjq01aYuNUrcxRlNzRtRIPMgWFGc,992
101
+ agentscope_runtime/sandbox/manager/container_clients/docker_client.py,sha256=UF2418SULS2oiUgA8Atv13NT_fYVJMZ5JD1g8wt_yhw,5754
102
+ agentscope_runtime/sandbox/manager/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
103
+ agentscope_runtime/sandbox/manager/server/app.py,sha256=PKAD2oIGD1NDUogS64tJ86KkWwGXtY7aK6HsQYH4xoE,5714
104
+ agentscope_runtime/sandbox/manager/server/config.py,sha256=_SSuP2uBKsiG2SOTfWuInxqxdbkZeOvm09TqQB_96pI,2078
105
+ agentscope_runtime/sandbox/manager/server/models.py,sha256=rCibF0HsotFcqsQVTSUoOTJCFQU3oqKvpOiWMWIRLyY,304
106
+ agentscope_runtime/sandbox/manager/storage/__init__.py,sha256=jGmpfXV1E2X7AqkGeF1xu1EHiSTvbH3TSIviLbKBFh4,210
107
+ agentscope_runtime/sandbox/manager/storage/data_storage.py,sha256=mGwf7LYbp_fRjLN9BZay6cm3eNziEdU6OlSBeFnIBMQ,475
108
+ agentscope_runtime/sandbox/manager/storage/local_storage.py,sha256=o6fkV-yUtBihhfZtLEdBUhF1K8_psSl92AWJFtYQxtk,1521
109
+ agentscope_runtime/sandbox/manager/storage/oss_storage.py,sha256=fIUxgOkOaH_1vlgWBnCM-e4UvD3xS_ycFe2yvSyXzBE,2970
110
+ agentscope_runtime/sandbox/model/__init__.py,sha256=H7cAvnLdcZdMd0XYN04vbvdcrBqbygdVP3X13rWVJug,261
111
+ agentscope_runtime/sandbox/model/api.py,sha256=Sjxw6DHkGa8Sp5dUU5kaajkHPj7eiX1EgFZk-zOPafM,400
112
+ agentscope_runtime/sandbox/model/container.py,sha256=cVjzFYJO59kLi5TddA3SPpHY7qx8i9TMzw-XQIe2hJM,1683
113
+ agentscope_runtime/sandbox/model/manager_config.py,sha256=PGZ7nbFmc61tcGUnAzv028pNJupXUuNAggV1HBOQ4HM,4862
114
+ agentscope_runtime/sandbox/tools/__init__.py,sha256=ioRqvKFLma8Vq0ePwOR5MekijpcHs2USNYA4Dnr-e6M,287
115
+ agentscope_runtime/sandbox/tools/function_tool.py,sha256=mH4dq3M26pdk-XqxIm1wtsvQz5i8SXcP4Gz0-7_L7cQ,10309
116
+ agentscope_runtime/sandbox/tools/mcp_tool.py,sha256=yaEwWLeuLVxlZhhCXVHMxZPCod1bwGHo8W_rNkgKOpI,6063
117
+ agentscope_runtime/sandbox/tools/sandbox_tool.py,sha256=wHkgixb0dy6DexXbfXVOKUFfLL9QOI2H5oiQ2NntoWM,3067
118
+ agentscope_runtime/sandbox/tools/tool.py,sha256=jCcKDnN9ZOjrr9BfoXmXrB2kXCxonDBpTzr65reWblE,3460
119
+ agentscope_runtime/sandbox/tools/utils.py,sha256=QksPQK-2DszaQsRw4Srug5hEwrf6hothf-Xp8a1056c,2098
120
+ agentscope_runtime/sandbox/tools/base/__init__.py,sha256=Aboc1tFjgWriw4gqDrX5axpC_Bx469mcn8l8nbNdSXg,143
121
+ agentscope_runtime/sandbox/tools/base/tool.py,sha256=5rCZ_SdDiRCZyQfdsWC1FPq7jwnSSbnKxyjQQK3PAS8,1347
122
+ agentscope_runtime/sandbox/tools/browser/__init__.py,sha256=gXQx3tXclYqAhPDrXb1-Z5ynTBQ3XQsoU2kvFN7LcYw,1280
123
+ agentscope_runtime/sandbox/tools/browser/tool.py,sha256=EJ-uhHX9oIb4Q-hXQhTS-7VRJ-AdCRWXb9HVdOQ5JAc,19206
124
+ agentscope_runtime/sandbox/tools/filesystem/__init__.py,sha256=AJK88YU0ceJe99H7T-on2tgaow4ujqGJ1jwv0sd1TtE,607
125
+ agentscope_runtime/sandbox/tools/filesystem/tool.py,sha256=CPsl4TMf76BOSQtG1dqDcVdymciKhMknIG5FffoI2Eg,9847
126
+ agentscope_runtime-0.1.0.dist-info/licenses/LICENSE,sha256=3MckDTgiTJ0E6cxo8FeamFVEFiwz3XJWsriuTtRJzxY,11337
127
+ agentscope_runtime-0.1.0.dist-info/METADATA,sha256=zI2P01LcipD4fyzvXh3vZfsxlFJRsBLSXPVaNBTT-70,10291
128
+ agentscope_runtime-0.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
129
+ agentscope_runtime-0.1.0.dist-info/entry_points.txt,sha256=SGQZqgozJYj1yJtiyzqiJ2_iYmDvTl2lexxmXENY3wE,223
130
+ agentscope_runtime-0.1.0.dist-info/top_level.txt,sha256=0YHketA7WcMmRmF-3lUzedeTOnP7iL77h-ekb-iG720,19
131
+ agentscope_runtime-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,4 @@
1
+ [console_scripts]
2
+ runtime-sandbox-builder = agentscope_runtime.sandbox.build:main
3
+ runtime-sandbox-mcp = agentscope_runtime.sandbox.mcp_server:main
4
+ runtime-sandbox-server = agentscope_runtime.sandbox.manager.server.app:main