Problem solving agents in ai