Abstract Agent Process
Abstract implementation of AgentProcess that provides common functionality
Constructors
Properties
Unique identifier of this blackboard. Blackboard doesn't extend StableIdentified to avoid conflict with implementations that are otherwise identified
If we failed, this may contain the reason for the failure.
The last world state that was used to plan the next action Will be non-null if the process is running
How long this process has been running
Status of this operation
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:
Count entries of the given type
Expose the model data for use in prompts Prefer more strongly typed usage patterns
Kill this process and return an event describing the kill if we are successful
Last entry of the given type, if there is one
Last result, of any type, if there is one.
Distinct list of LLMs use, sorted by name.
Convenience function to get the result of a specific type
Run the process as far as we can. Might complete, fail, get stuck or hit a waiting state. This is a slow operation. We may wish to run this async. Events will be emitted as the process runs, so we can track progress.
Explicitly set the condition value Used in planning.
Spawn an independent child blackboard based on the content of this
Return a serializable status report for this process.
Perform the next step only. Return when an action has been completed and the process is ready to plan, regardless of the result of the action.