You need to make sure that all your AgileShapes are written thread safe as they are going to be executed inside the AgilePoint engine which is highly multi-threaded.