agentskit.js

RunFlowOptions

Auto-generated API reference for RunFlowOptions.

Interface: RunFlowOptions

Defined in: flow.ts:152

#Properties

#maxAttempts?

optional maxAttempts?: number

Defined in: flow.ts:158

Forwarded to createDurableRunner.


#onEvent?

optional onEvent?: (event) => void

Defined in: flow.ts:160

#Parameters

event

FlowRunEvent

#Returns

void


#retryDelayMs?

optional retryDelayMs?: number

Defined in: flow.ts:159


#runId?

optional runId?: string

Defined in: flow.ts:154

Defaults to a fresh runId per call. Reuse to resume after a crash.


#store?

optional store?: StepLogStore

Defined in: flow.ts:156

Defaults to an in-memory store. Use createFileStepLog for durability.

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page

Ask the docs

Ask anything about AgentsKit. Answers come from the docs corpus via OpenRouter free-tier models. Rate limited per IP.