create Goal Agent
Open mode. Create an agent to accomplish this goal from the given user input
Parameters
input Object
any input object
agent Scope
scope to look for the agent
goal
the goal to accomplish
prune
whether to prune the agent to only relevant actions