Start by preheating your oven to 400 degrees, grease an 8x8 pan, and set it aside.
Take a frying pan and add your vegan butter,chopped onion and mushrooms cook this for 5-8 minutes until soft stirring as needed , then add your garlic, salt, pepper, and thyme, stir for 30 seconds to 1 minute and remove from heat.
While the onions and mushrooms are cooking, make your sauce. You're going to need a high-speed blender or allow time to soak the cashews in boiling water for 30-60 minutes. Add all your sauce ingredients into the blender and mix until blended smooth. Then add this sauce to your hot but turned off pan, stir until combined.
Take your prepared 8x8 pan and add your green bean mixture evenly in the pan. You can either melt vegan butter in a small bowl and combine the topping with the vegan butter or just put the fried onion topping evenly on the top. I typically like the take half of the can and mix it in with the green bean mixture and then sprinkle the other half on the top.
Bake this uncovered for 25-30 minutes in the preheated oven.