In a large pot, heat the oil. Cook the onion and garlic until they are golden and soft (about 5 minutes).
Add rosemary leaves, smoked paprika, peas, edamame, potato, and veggie stock. Bring to a boil, lower heat and simmer, stirring occasionally, for 15 minutes or until potatoes are soft.
Use an immersion blender and puree soup to a smooth consistency adding stock or water if needed. If you don’t have an immersion blender, transfer soup in small batches to a blender or food processor and puree to a smooth consistency, being careful not to burn yourself.
Season with cayenne pepper, salt, and pepper. Garnish with chili flakes or crushed red pepper and croutons. Drizzle with olive oil, if desired.