SandboxBackend#

Run commands and agent-written programs inside an operating-system boundary. See the guide.

class zett_agent.sandbox.factory.SandboxBackend(*values)[源代码]#

Which sandbox implementation to use.

AUTO = 'auto'#

Seatbelt on macOS, bubblewrap on Linux.

Type:

Pick the one this platform has

SEATBELT = 'seatbelt'#

Seatbelt (macOS).

BUBBLEWRAP = 'bubblewrap'#

bubblewrap (Linux).

PASSTHROUGH = 'passthrough'#

No isolation; see PassthroughSandbox.