Roast the almonds in a pan without fat. Wash the herbs and pat dry. Pluck the leaves. Grate cheese finely. Put herbs, almonds, cheese and olive oil in a mixer and puree finely. Season with salt and pepper and put aside. Peel, wash and roughly dice the potatoes.
Wash and clean the beans and, depending on their size, halve or cut into three. Bring the stock to the boil and cook the potatoes for about 12 minutes. After 4 minutes add the beans and cook them. Drain the bean seeds in a sieve. Wash the tomatoes, dab dry and cut in half. At the end of the cooking time, add the beans and tomatoes to the soup and warm up. Serve the soup with pistou