包package
agentscope.workspaceagentscope.workspace
module agentscope.workspace
agentscope.workspace 属于沙箱与执行环境,隔离执行代码与工具。 该包共收录 17 个公开类型。
The workspace module in agentscope.
源码Source
agentscope/workspace/__init__.py:1类Classes
AppleContainerBackend类class | Apple 容器 Backend,在隔离环境中安全执行代码和工具。 Backend that delegates to a running Apple container via the ``container`` CLI. |
AppleContainerWorkspace类class | Apple 容器工作区,在隔离环境中安全执行代码和工具。 Workspace backed by Apple's ``container`` CLI. |
BubblewrapBackend类class | Bubblewrap Backend,在隔离环境中安全执行代码和工具。 Backend that executes commands inside Bubblewrap sandboxes. |
BubblewrapWorkspace类class | Bubblewrap 工作区,在隔离环境中安全执行代码和工具。 Workspace backed by Linux Bubblewrap. |
DaytonaBackend类class | Daytona Backend,在隔离环境中安全执行代码和工具。 Backend that delegates to a running Daytona sandbox. |
DaytonaWorkspace类class | Daytona 工作区,在隔离环境中安全执行代码和工具。 Workspace backed by a Daytona sandbox. |
DockerBackend类class | Docker Backend,在隔离环境中安全执行代码和工具。 Backend that delegates to a running Docker container. |
DockerWorkspace类class | Docker 工作区,在隔离环境中安全执行代码和工具。 Workspace backed by a Docker container. |
E2BBackend类class | E2B Backend,在隔离环境中安全执行代码和工具。 Backend that delegates to a running E2B sandbox. |
E2BWorkspace类class | E2B 工作区,在隔离环境中安全执行代码和工具。 Workspace backed by an E2B cloud sandbox. |
K8sBackend类class | K 8 s Backend,在隔离环境中安全执行代码和工具。 Backend that delegates to a running Kubernetes Pod. |
K8sWorkspace类class | K 8 s 工作区,在隔离环境中安全执行代码和工具。 Workspace backed by a Kubernetes Pod with PVC persistence. |
LocalWorkspace类class | 本地工作区,在隔离环境中安全执行代码和工具。 Local-directory workspace. |
Offloader类class | Offloader,在隔离环境中安全执行代码和工具。 The offloader protocol. |
OpenSandboxBackend类class | OpenSandbox Backend,在隔离环境中安全执行代码和工具。 Backend that delegates to a running OpenSandbox sandbox. |
OpenSandboxWorkspace类class | OpenSandbox 工作区,在隔离环境中安全执行代码和工具。 Workspace backed by an OpenSandbox sandbox. |
WorkspaceBase类class | 工作区基类,在隔离环境中安全执行代码和工具。 Abstract base class for all workspace implementations. |