Designing Agent-Friendly Platforms: From APIs to Autonomous, Secure Operations