AgentHandle
Auto-generated API reference for AgentHandle.
Interface: AgentHandle<TContext>
Defined in: topologies.ts:12
Ready-made multi-agent topologies. Each builder takes a set of
AgentHandles + config and returns a single AgentHandle that
presents the ensemble as a normal agent to the rest of the system.
An AgentHandle is intentionally minimal — name + run(task, context?) => Promise<string> — so any runtime (our own
createRuntime, a LangChain Runnable, a bare HTTP endpoint) can
participate without coupling.
#Type Parameters
#TContext
TContext = unknown
#Properties
#name
name:
string
Defined in: topologies.ts:13
#run
run: (
task,context?) =>Promise<string>
Defined in: topologies.ts:14
#Parameters
task
string
context?
TContext
#Returns
Promise<string>