Preheat the oven to 375° F.
Heat the olive oil in a large pan over medium heat. Add the carrots and sauté for 2 minutes. Add the onions, celery, leek, salt and pepper and cook another 3-4 minutes, until they start to soften. Add the bell pepper and mushrooms and cook another 8-10 minutes, until the
mushrooms are just cooked through.
Put the farfel into a large mixing bowl, then pour the vegetables over. Add the chicken stock, herbs and garlic and mix through. Set aside for 5-10 minutes, until the chicken stock has been absorbed. Add the egg and mix through.
Pour the mixture into a baking dish that's been sprayed or brushed with oil. Bake for 45 minutes, or until the edges have lightly browned.