Mastering Async Patterns for Autonomous Agents