Skip to content

Documentation / @agentick/sandbox / Sandbox

Function: Sandbox()

Sandbox(__namedParameters): ReactElement

Defined in: component.tsx:65

Creates a sandbox instance and provides it to children via context.

Parameters

__namedParameters

SandboxProps

Returns

ReactElement

Example

tsx
<Sandbox provider={localProvider()}>
  <Bash />
  <ReadFile />
  <WriteFile />
  <EditFile />
  <MyAgent />
</Sandbox>

Released under the ISC License.