The LuxAgent SDK contains everything you need to write your own AI for Lux. It includes API documentation as well as the full source code to all the AIs that ship with Lux (released for non-profit use or under the GNU GPL if you want). The programming language used is Java.