Heat 2 tbsp of olive oil in a large pot over medium-high heat.
Add onions or leeks and cook until soft and translucent, about 3-5 minutes.
Add minced garlic to the pot and cook for 1 minute.
Add diced zucchini, carrot, tomato and fresh thyme to the pot and cook for about 5 minutes. Season with salt and pepper to taste.
Add wine and cook until mostly evaporated, about 2 minutes.
Add broth or water to the pot and bring to a boil.
Simmer and cook until vegetables are soft, about 10 minutes.
Meanwhile, make the pistou.
Add all pistou ingredients to a mortar and pestle or food processor. Mix until thoroughly combined.
If using low carb pasta, add this to the pot and cook until done according to the package.
Serve soup immediately with a dollop (1-2 tbsp) of fresh pistou.
Enjoy!