A chatbot answers questions. An AI agent is given a job, uses your tools, and completes a sequence of steps. Here is how to choose, and how to start without a risky rewrite.