Creates an agent instance based on implementation-specific agent information contained in agentInfo; typically a String containing the classname of an AgentInterface implementation, or a Props with the classname prop. The agent's initProps method is called before this method returns.