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