Library for Puzzle Agent