The primary thickening agent in pecan pie is eggs. When you mix eggs with the other ingredients in the filling, such as sugar, corn syrup, butter, and flavorings, they coagulate during baking which results in a firm and custard-like texture that holds the pecan pie filling together. As the pie bakes, the eggs solidify and create the characteristic consistency of a pecan pie.