AgentProps creation mechanism must be refactored