Heat ghee in a pan over medium heat. Once hot, add cumin seeds and let them sizzle for 30 seconds until fragrant.
Add the diced onion and sauté until softened and lightly golden, about 5–6 minutes.
Stir in the minced garlic and cook for another 30 seconds until fragrant.
Add the turmeric, curry powder, red chili powder, salt, and pepper. Stir to coat the onions and garlic with the spices.
Add the green beans and toss well to coat in the spiced onion mixture. Sauté for 2–3 minutes.
Pour in the vegetable broth, bring to a gentle simmer, then cover and cook for about 10 minutes, or until the green beans are tender and the liquid has mostly evaporated.
Transfer to a serving dish and sprinkle with chopped cilantro, if desired.