CodexAgent
Codex app-server inside a sandbox, reached through the shared harness bridge.
Since v0.1.0
Constructors
Section titled “Constructors”Bundles the bridge with Bun and creates an agent using the supplied WebSocket and Crypto services.
Signature
declare const make: ( options: Options) => Effect.Effect<Agent.Agent, HarnessError | PlatformError, Crypto.Crypto | Socket.WebSocketConstructor>Since v0.1.0
Options
Section titled “Options”Options (interface)
Section titled “Options (interface)”Model endpoints and the shared sandbox bridge token. Codex requires Responses endpoints.
Signature
export interface Options extends Agent.Options { readonly token: (id: Sandbox.SandboxId) => Redacted.Redacted<string> /** Additional Codex configuration, with dotted keys as the app-server accepts them. */ readonly config?: Readonly<Record<string, Schema.Json>> /** Variables supplied to the sandbox's Codex processes. */ readonly env?: Readonly<Record<string, string>>}Since v0.1.0