We present the FeynRules package, a tool to derive Feynman rules from a Lagrangian. By connecting FeynRules to the new version of MadGraph, it is possible to generate events, and hence to study the phenomenology, for virtually any model by just writing down a Lagrangian. We discuss this generic approach and present examples of how to use these codes in the context of LHC phenomenology."