KernelProxy
Kernel proxy surface exposed to agent step code.
SDK v2026.4.0
Kind: interface
Signature
export interface KernelProxyProperties
memory(unknown): Search, read, write, and manage scoped memory through the kernel.
Methods
invokeTool<T>(tool: ToolReference | string, args: unknown, options?: KernelInvokeToolOptions): Promise: Invoke a registered tool through the kernel.callLLM(providerId: string, params: LlmCallParams): Promise: Call an LLM provider through the kernel.agentLoop(input: AgentLoopInput): Promise: Run an autonomous agent loop: the model sees a governed tool surface and decides which tools to call turn by turn, with every model-proposed action flowing through the kernel enforcement pipeline.readData<T>(sourceId: string, query: unknown): Promise: Read data through a mediated data source.writeData(targetId: string, payload: unknown): Promise: Write data through a mediated data target.now(): Promise: Request a deterministic kernel-controlled timestamp.random(min?: number, max?: number): Promise: Request a deterministic kernel-controlled pseudo-random value.uuid(): Promise: Request a deterministic kernel-controlled identifier.