Agentic AI · Beginner level

Beginner level · Module 2: Understanding AI Agents and Their Components · Lesson 1 of 3

Model, Instructions and Tools

Learners examine how instructions shape behaviour and how tools let an agent look things up or calculate instead of guessing.

In this lesson you will

  • Explain the role of instructions
  • Explain why agents use tools

Key concepts

system instructionstooltool descriptionread-only toolgrounding

The lesson

The model is the engine; the instructions tell it its role, task, rules and output format. The same model behaves very differently with different instructions.

Tools are functions the agent may ask the program to run, such as 'search the approved documents', 'look up a course timetable' or 'calculate fees'. The model does not run tools itself: it asks, the program checks the request and runs the tool, and the result goes back to the model.

Read-only tools fetch information but cannot change anything. They are the safe default, and beginner projects use only read-only tools.

Step by step

  1. Run the guided notebook agent without tools and ask a fees question.
  2. Enable the document-search tool and ask again.
  3. Read the log to see the tool request and the result.
  4. Write what the tool changed.

Practice activity

Compare the agent's answers with and without its read-only search tool, using the log.

Expected result: A clear before/after comparison that explains how the tool grounded the answer.

Check your understanding

  1. Who actually runs a tool: the model or the program?

    Show answer

    The program; the model only requests it.

  2. What is a read-only tool?

    Show answer

    A tool that fetches information but cannot change anything.

Further learning

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.