Chatbot versus agent
CHATBOT
Question → model → answer → done
AGENT
Goal → decide → act/tool → observe → decide again → finish- The feedback loop is the important difference.
- A chat interface alone does not make software agentic.
A chatbot usually answers a message. An agent is an application that can work toward a goal by deciding what to do next, using bounded tools when needed, observing the result and continuing until it can stop safely.
Engineering focus: Agents, workflows and goal-directed AI
A chatbot usually answers a message. An agent is an application that can work toward a goal by deciding what to do next, using bounded tools when needed, observing the result and continuing until it can stop safely.
Framework names come later. First understand what the application is doing and where its control boundaries belong.
Across the course, imagine an assistant that investigates operational problems using narrow tools. The design progressively adds plans, specialist agents, approvals, reliability controls and MCP while keeping model output separate from execution authority.
Many applications use an LLM without being agents. If the steps are already known, a deterministic workflow is usually easier to test, secure and operate.
Agentic behaviour becomes useful when the next action genuinely depends on what the system observes while working toward a goal.
An LLM produces or interprets language. A chatbot provides a conversational interface. A workflow follows predefined steps. An agent can choose among permitted actions as the task unfolds.
Ask whether you know the exact steps in advance. If yes, prefer a workflow. If not, ask whether bounded dynamic decisions are necessary. Only then consider an agent.
CHATBOT
Question → model → answer → done
AGENT
Goal → decide → act/tool → observe → decide again → finishResize image → WORKFLOW
Summarize document → LLM TASK
Investigate intermittent 503 → POTENTIAL AGENT
Generate fixed invoice → WORKFLOWGoal: Practice deciding whether a task needs an LLM, a deterministic workflow or a potential agent.
Use the supplied account-free Python exercise.
python3 public/labs/agentic-ai/01_classify_agent_or_workflow.pyCommit to LLM, WORKFLOW or POTENTIAL_AGENT before viewing the expected classification.
State what observation would make the next action change.
Teams often over-agentize simple automation. Choosing the simplest adequate control flow reduces cost, latency, security exposure and operational uncertainty.
Open every answer only after committing to your own answer. Opening all four answers records knowledge-check activity in My Learning.
A deterministic workflow with an AI step — Using an LLM in one predefined step does not make the whole system agentic.
Investigate an intermittent 503 using several diagnostic sources — Investigation may require choosing the next action based on previous observations.
Use a deterministic workflow — Deterministic workflows are easier to reason about when the steps are known.
Dynamic action selection with feedback from results — Agentic behavior centers on choosing actions and incorporating observations.
Progress is saved in this browser immediately. When you sign in to My Learning, it can also sync across devices.
Attempt the core lab and knowledge checks before marking the module complete.