Preheat and prep. Preheat your air fryer to 375°F (190°C).
Bring a large pot of salted water to a boil for the pasta.
Toast the nuts. Add almonds or pine nuts to the air fryer basket in a small, heat-safe dish or on a piece of foil. Air fry for 3–4 minutes, shaking halfway, until lightly golden. Set aside to cool.
Roast the tomatoes. Toss cherry tomatoes with 1 tablespoon olive oil, a pinch of salt, and pepper.
Air fry for 6–8 minutes, shaking once, until blistered and juicy. Remove and keep warm.
Cook the pasta. Boil pasta until al dente. Reserve 1 cup of pasta water before draining.
Make the pesto rosso. In a food processor, combine sun-dried tomatoes (drained), 2 tablespoons of their oil, toasted nuts, basil, Parmesan, garlic, lemon zest, and chili flakes if using.
Pulse to a coarse paste.
Adjust the texture. With the processor running, stream in olive oil (and a splash of pasta water if needed) until the pesto is smooth but thick. Season with salt, pepper, and a squeeze of lemon juice to brighten.
Toss it together. Return drained pasta to the pot. Add the pesto and a splash of reserved pasta water.
Toss over low heat until the sauce clings and looks glossy. Fold in the roasted tomatoes.
Finish and serve. Taste and adjust salt, pepper, and lemon. Plate with extra Parmesan, a drizzle of olive oil, and fresh basil.
Add optional protein or a spoon of burrata on top for extra richness.