Building versus Buying AI Agents: Split Your Stack!