Prepare your pasta according to package instructions and preheat your oven to 180°C.
Sauté the onions in vegan butter over medium heat, add the garlic and remove from the heat after 1 minute. Transfer to a blender.
Add the potato, nutritional yeast, miso, salt, pepper, lemon juice, plant milk and ⅔ of the beans to the blender and blend into a smooth sauce, adding small amounts of pasta water until you get the desired texture.
Add the rest of the beans into a pan and fry them in the remaining butter with the thyme until lightly crispy.
Drain the pasta and mix with the sauce and season to taste with salt and pepper.
Transfer to an oven dish and sprinkle with vegan cheese and breadcrumbs. Bake in the preheated oven at 180°C for 12-15 minutes or until melted and golden.
Serve topped with the crispy beans & herbs and more nutritional yeast, if desired.