Agent Platform
An AgentPlatform can run agents. It can also act as an agent itself, drawing on all of its agents as its own actions, goals, and conditions. An AgentPlatform is stateful, as agents can be deployed to it. See TypedOps for a higher level API with typed I/O. Typically, there is one AgentPlatform per Spring Boot application, with agents discovered by classpath scanning for @Agent annotations, but this is not a requirement.
Properties
Functions
Create a new agent from the given scope
Create an agent process with the given options and bindings. The process will not be started automatically, so this will return quickly, unlike the run method on the created process. AgentProcess status will be NOT_STARTED.
Create an agent process with the given options and bind all arguments.
Convenient method to deploy instances to an agent platform
Find an agent process by id. Implementations are only obliged to resolve running processes, although they may choose to return older processes.
Kill an agent process by id. Return the killed process, or null if no such process was found.
Run the agent from the given ProcessOptions. We might create a new blackboard or have one
Run the given agent with the given input, which will be added to the blackboard with the default binding.
Run the given agent process in the background