Per Goal Tool Factory
class PerGoalToolFactory(autonomy: Autonomy, applicationName: String, textCommunicator: TextCommunicator = PromptedTextCommunicator, goalToolNamingStrategy: GoalToolNamingStrategy = ApplicationNameGoalToolNamingStrategy(
applicationName
))
Factory that creates tools for each goal in the agent platform. Each invocation will result in a distinct AgentProcess being executed. Multiple instances of this class can be created, each with different configuration, for different purposes. Tools can be exposed to actions or via an MCP server etc. Return a tool for each goal taking user input. If the goal specifies startingInputTypes, add a tool for each of those input types. Add a continue tool for any process that requires user input and is waiting for a form submission.
Constructors
Link copied to clipboard
constructor(autonomy: Autonomy, applicationName: String, textCommunicator: TextCommunicator = PromptedTextCommunicator, goalToolNamingStrategy: GoalToolNamingStrategy = ApplicationNameGoalToolNamingStrategy(
applicationName
))