AS AgentScopeAPI 手册 / API Reference
包package agentscope.workspace

agentscope.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.
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.