New tools for building agents