Rinse and trim the green beans, removing any tough ends.
Pat the green beans dry using a clean kitchen towel.
In a mixing bowl, combine the green beans, olive oil, garlic powder, and onion powder.
Season with salt and pepper to taste, and toss until evenly coated.
Preheat the air fryer to 400°F (200°C).
Place the green beans in the air fryer basket in a single layer.
Cook for 8-10 minutes, shaking the basket halfway through for even cooking.
Check for desired crispiness; cook an additional 2 minutes if necessary.
Remove from the air fryer and drizzle with balsamic glaze, if desired.
Serve warm and enjoy!