NWN2-Action-Planner is a project mainly written in ..., it's free.
Artificial Intelligence Framework for NWN2
This project is really not finished, no one should read that.