Wash and peel the sweet potatoes. Cut them into uniform cubes for even cooking.
In a large bowl, toss the cubed sweet potatoes with olive oil, salt, pepper, and optional spices until well coated.
Preheat the air fryer to 400°F (200°C).
Place the seasoned sweet potatoes in a single layer in the air fryer basket. Avoid overcrowding.
Cook for 15-20 minutes, shaking halfway through for even crispiness. Check for doneness; they should be golden brown and tender.
Serve hot, optionally drizzling with extra olive oil or fresh herbs.