Preheat oven to 400°F (200°C).
Toss cherry tomatoes and garlic with olive oil, salt, and pepper.
Spread on a baking sheet and roast for 20 minutes.
Cook pasta according to package instructions. Reserve 1/2 cup pasta water.
Blend roasted tomatoes, garlic, and ricotta in a blender until creamy.
Toss pasta with the sauce, adding pasta water as needed for desired consistency.
Serve garnished with fresh basil and grated Parmesan cheese.