Pesto is often used as a sauce for pasta . Pesto alla siciliana , sometimes called pesto rosso ( red pesto ) , is a sauce from Sicily similar to pesto genovese but with the addition of tomato , almonds instead of pine nuts , and much less basil .