Preheat the air fryer to 360°F (182°C). A preheated basket helps the brats brown evenly and reduces sticking.
Prep the sauerkraut mix. In a skillet over medium heat, add a small splash of oil or a pat of butter.
Cook the sliced onion until softened and lightly golden, 4–5 minutes. Add the apple and cook another 2–3 minutes until just tender.
Add sauerkraut and season. Stir in the sauerkraut, mustard, and caraway seeds. Warm through for 3–4 minutes.
Taste and add a pinch of salt and pepper. If you like a richer finish, stir in the butter at the end. Keep warm on low.
Air-fry the brats. Lightly oil the bratwurst if desired.
Arrange them in a single layer in the basket, leaving a little space between each. Air-fry for 7–8 minutes.
Flip and finish. Turn the brats and cook another 6–8 minutes, or until they reach an internal temperature of 160°F (71°C). They should be browned and slightly crisp.
Toast the buns (optional). If using buns, pop them in the air fryer for 1–2 minutes at 360°F to warm and lightly toast.
Serve. Place brats on buns or plates.
Spoon warm sauerkraut and onions over the top or serve on the side. Add your favorite mustard and any extra toppings you like.