In a skillet, heat olive oil over medium-high heat. Add onion and cook for 10 minutes. Add the garlic and cook another minute. Remove from heat and place in a large bowl. Set aside.
Mix the chickpeas and white beans in a food processor for a few seconds until they achieve a coarse texture. Transfer to a large bowl.
Coarsely grind the walnuts in the food processor until they achieve a coarse texture. Transfer to the large bowl with bean mixture.
Add the rest of the ingredients to the bowl and mix well.
Place the mixture in a bread pan.
In a small bowl, mix sauce ingredients and then pour evenly over the top of the meatloaf.
Bake at 350°F for 45 minutes. Let stand for 20 minutes before serving.
Craving more veg-friendly recipes? Shop our collection of vegetarian and vegan cookbooks, including our new Vegan Thanksgiving and Vegan Christmas cookbooks!