Mastering Agent Rate Limiting for AI Systems