Cook the edamame: Meanwhile, in a large pot of boiling water appropriate for pasta. Boil the edamame with a bit of salt. Boil or steam for about 5 minutes, then drain and put them aside.
Prepare the spicy sauce: Heat olive oil in large skillet over medium heat. Throw in some fresh (or frozen) green beans and a generous tablespoon of minced garlic until browned.
Combine edamame and sauce: Add the shelled edamame to skillet, then soy sauce and sriracha or chili flakes (if using) followed by salt and black pepper. Season the edamame with sauce and toss better each. Cook for 1-2 minutes, or until warm throughout.
Serve: Spoon the spicy edamame into a serving bowl. Top with sesame seeds and chopped green onions if you like. Serve warm and enjoy!