AgentLoopConfig
SDK declaration for an autonomous loop's model, tool surface, and caps.
SDK v2026.4.0
Kind: interface
Signature
export interface AgentLoopConfigRemarks
The declared tool surface is covered by the manifest signature. At runtime it is intersected with the live connector catalog and a per-tool policy dry-run before any name is shown to the model, and the caps are enforced server-side per loop.
Properties
providerId(string): Provider identifier resolved by the LLM proxy.model(string): Model identifier used for loop turns.tools(AgentLoopToolBinding[]): Model-visible tool surface declared for the loop.maxTurns(number): Maximum model turns per loop invocation.maxTokens?(number): Optional completion ceiling for every model turn. Omitted legacy declarations use a conservative 128,000-token ceiling at runtime.maxInputTokensPerTurn?(number): Optional conservative input ceiling for every model turn. Runtime bounds the provider-visible transcript to this many UTF-8 bytes before dispatch; omitted legacy declarations use 128,000.tokenBudget?(number): Optional total prompt+completion token budget across the loop.maxWallClockMs?(number): Optional wall-clock ceiling for one loop invocation in milliseconds.instructions?(string): Optional base system prompt for the loop.