Heat oven to Gas Mark 4, 180°C (350°F).
Heat the oil in a large frying pan over medium heat. Add the onion and red peppers and cook gently until very soft. This will take about 20 minutes.
Add the garlic, cumin and smoked paprika and cook for another minute or two. Stir in the tomatoes and a pinch of sugar. Season with salt and black pepper and simmer until the sauce has thickened, about 10 minutes.
Transfer to an ovenproof dish. Make four wells with the back of a spoon, large enough to hold an egg. Break the eggs into the wells and crumble over the goats’ cheese.
Place the dish in the oven and bake until the eggs are just set, 10 to 15 minutes.
Sprinkle with coriander and serve with crusty bread and a green salad.