GOAP
A Python implementation of the Goal Oriented Action Planner.
To be used in combination with existing AI techniques and tools, this planner can help to realise complex, reactive AI without the problems associated with managing large interconnected state transitions.
See http://alumni.media.mit.edu/~jorkin/goap.html for more information
Examples can be found here