Heat the pesto in a non-stick skillet over a medium heat. Crack the eggs into the pan and fry until the eggs are cooked how you like them.
Meanwhile, mash the avocado and divide it equally between the 4 slices of toast.
Place the eggs over the pieces of toast, season with salt and pepper and serve immediately.