@juspay/neurolink
Version:
The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002
19 lines (18 loc) • 936 B
JavaScript
/**
* Async delegation (N2) — spawn a background worker, collect it later, in any
* order — types.
*
* Delegation today is a synchronous tool call: the supervising agent blocks
* until the worker is done, so four investigations take four times as long as
* one and the supervisor cannot do anything useful while it waits. These types
* describe the background form — `spawn` hands back a `DelegateHandle`
* immediately, `collect` returns whichever worker finished FIRST regardless of
* which was started first, and each outcome carries a bounded summary plus a
* {@link BankedArtifactRef} to the worker's full report, which is banked to a
* file rather than pushed into the conversation.
*
* Naming: `agentNetwork.ts` already owns `DelegationRule` / `DelegationCondition`
* and `isolatedAgent.ts` owns `AgentDelegationTurnState`, so everything here
* carries the `Delegate` prefix (Critical Rule 9).
*/
export {};