@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.
Adapt an Agent, Team, or Workflow and implement controlled execution.
@agentium/harness. Types such as ChatMessage, RunContext, and ExecutionServices come from @agentium/core. A ? marks an optional field.
/** Passing an Agent borrows it. Passing configuration creates/disposes a run-owned
* Agent and applies the definition's explicit defaults here, outside core. */
export declare function agentDriver(agent: Agent | AgentConfig, config?: {
stream?: boolean;
}): ExecutionDriver;
/** Remote Team members fail explicitly because their effects cannot be intercepted locally. */
export declare function teamDriver(team: Team): ExecutionDriver;
/** Input defaults to a JSON object patch over the Workflow constructor's initial state. */
export declare function workflowDriver<T extends Record<string, unknown>>(workflow: Workflow<T>, config?: {
input?: (input: HarnessRunRequest["input"]) => Partial<T>;
}): ExecutionDriver;