Reusable AgentFunction. Allows use of AgentPlatform as a function from I to O, with different process options.