Executing Operation Context
OperationContext that execute actions. An ExecutingOperationContext can execute agents as sub-processes.
Inheritors
Properties
Unique identifier of this blackboard. Blackboard doesn't extend StableIdentified to avoid conflict with implementations that are otherwise identified
Tool groups exposed. This will include directly registered tool groups and tool groups resolved from ToolGroups.
Functions
Add to entries without binding to a variable name. Implementations must respect the order in which entities were added. This is equivalent to using the default binding name as the key. For example, if you add a Dog to the blackboard without a key, it will be bound to the default binding name "it" and will be the last entry in the list of objects. Equivalent:
Run the given agent as a sub-process of this operation context.
Bind a value to a name and mark it as protected. Protected bindings survive Blackboard.clear operations, which occur during state transitions. Use this for bindings that should persist across states, such as conversation history and user identity.
Count entries of the given type
Expose the model data for use in prompts Prefer more strongly typed usage patterns
Last entry of the given type, if there is one
Last result, of any type, if there is one.
Return all entries of a specific type
Execute the operations in parallel.
Create a prompt runner for this context that can be customized later. Principally for use from Java.
Create a prompt runner for this context. Application code should always go through this method to run LLM operations.
Convenience method to send a message to the output channel of the process and save it to the conversation in the blackboard.
Convenience method to send a message to the output channel of the process.
Send an output channel event to the output channel of the process.
Explicitly set the condition value Used in planning.
Spawn an independent child blackboard based on the content of this
Send a progress update to the output channel of the process.