ClaudeAgent
Claude Agent SDK in a sandbox, reached through the shared authenticated bridge. The template installs pinned Bun and Claude binaries and bundles the SDK with the bridge.
Since v0.1.0
Constructors
Section titled “Constructors”Builds the agent and its installation template using Bun.build on the host.
Signature
declare const make: ( options: Options) => Effect.Effect<Agent.Agent, HarnessError.HarnessError | PlatformError, Crypto.Crypto | Socket.WebSocketConstructor>Since v0.1.0
Options
Section titled “Options”Options (interface)
Section titled “Options (interface)”Options for the Claude agent.
Signature
export interface Options extends Agent.Options { /** Derive a stable bridge token from the sandbox id using a secret shared by hosts. */ readonly token: (id: Sandbox.SandboxId) => Redacted.Redacted<string> /** Additional environment variables for Claude. Explicit model settings take precedence. */ readonly env?: Readonly<Record<string, string>>}Since v0.1.0