ProcessOptions

constructor(contextId: ContextId? = null, identities: Identities = Identities(), blackboard: Blackboard? = null, test: Boolean = false, verbosity: Verbosity = Verbosity(), allowGoalChange: Boolean = true, budget: Budget = Budget(), control: ProcessControl = ProcessControl( toolDelay = Delay.NONE, operationDelay = Delay.NONE, earlyTerminationPolicy = budget.earlyTerminationPolicy(), ), prune: Boolean = false, listeners: List<AgenticEventListener> = emptyList())

Parameters

contextId

context id to use for this process. Can be null. If set it can enable connection to external resources and persistence from previous runs.

identities

identities associated with this process.

blackboard

an existing blackboard to use for this process. By default, it will be modified as the process runs. Whether this is an independent copy is up to the caller, who can call spawn() before passing this argument.

test

whether to run in test mode. In test mode, the agent platform will not use any external resources such as LLMs, and will not persist any state.

verbosity

detailed verbosity settings for logging etc.

prune

whether to prune the agent to only relevant actions

listeners

additional listeners (beyond platform event listeners) to receive events from this process.