Preheat the air fryer to 370°F. In an 8-inch baking dish (or other oven-safe dish), toss the tomatoes with ¾ of the olive oil. Place the feta in the middle, drizzle it with the remaining oil, and season with salt, pepper, and oregano. Place the baking dish in the basket of the air fryer and cook for about 30 minutes, stirring every 10 minutes, until the tomatoes have burst and the feta is browned.
Meanwhile, cook the pasta according to the package directions. Reserve 1 cup of the pasta water, then drain.
Remove the feta and tomato mixture from the air fryer and stir in the garlic until everything combines into a creamy sauce.
Stir the sauce into the cooked pasta along with the spinach, basil, and some of the reserved pasta water to loosen, if needed. Season with additional salt and pepper, as desired. Stir and enjoy!
Editor’s Note: Times and temperatures may vary depending on the model of your air fryer.