@agentium/harness. Types such as ChatMessage, RunContext, and ExecutionServices come from @agentium/core. A ? marks an optional field.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Agentium 4.0.0 · Upgrade from 3.x.
Resolve versioned driver and policy references against host-approved implementations.
@agentium/harness. Types such as ChatMessage, RunContext, and ExecutionServices come from @agentium/core. A ? marks an optional field.
export interface HarnessRegistryEntry<T> extends HarnessRegistryReference {
implementation: T;
}
export interface HarnessRegistryReference {
id: string;
version: number;
}
export interface HarnessRuntimeBindings {
driver?: ExecutionDriver;
controller?: StepController;
contextPolicy?: ContextPolicy;
completionPolicy?: CompletionPolicy;
modelRoles?: Readonly<Record<string, string>>;
}
export interface HarnessRuntimeReferences {
driver?: HarnessRegistryReference;
controller?: HarnessRegistryReference;
contextPolicy?: HarnessRegistryReference;
completionPolicy?: HarnessRegistryReference;
/** Role -> approved host binding name; credentials/providers stay host-owned. */
modelRoles?: Readonly<Record<string, string>>;
}
export interface HarnessRuntimeRegistry {
driver?: readonly HarnessRegistryEntry<ExecutionDriver>[];
controller?: readonly HarnessRegistryEntry<StepController>[];
contextPolicy?: readonly HarnessRegistryEntry<ContextPolicy>[];
completionPolicy?: readonly HarnessRegistryEntry<CompletionPolicy>[];
}
/** Registry resolution is static; it never initializes providers or executes drivers. */
export declare function resolveHarnessRuntime(definition: HarnessDefinition): HarnessRuntimeBindings;