Skip to content

Building AI agents with tool use

How LLM agents call tools in a loop, how to design tools they use well, and how to keep agents safe and reliable.

Free on glitchdata advanced 4 lessons 1 hr 2 min

What you'll learn

  • Explain the tool-use loop behind LLM agents
  • Design clear, safe tools with good descriptions
  • Add guardrails, limits and human approval
  • Decide when an agent is the right design — and when it isn't

About this course

An agent is a language model that can take actions — searching, calling APIs, running code — and decide what to do next based on the results. This course explains the pattern behind every agent framework, then focuses on the parts that decide whether an agent works in practice: tool design, guardrails and evaluation.

The code is provider-neutral: every major model API supports tool use in a similar way, so check your provider's documentation for the exact names.

Before you start

  • Prompting large language models
  • Comfortable with Python

Course content

4 lessons · 1 hr 2 min

  1. 1
    What makes something an agent

    Workflows versus agents, and when each fits.

    Free preview 12 min
  2. 2
    The tool-use loop

    Tool definitions, tool calls and results, in a provider-neutral loop.

    18 min
  3. 3
    Designing tools an agent can use well

    Names, descriptions, inputs and outputs that make agents reliable.

    16 min
  4. 4
    Guardrails, approval and evaluation

    Limit what agents can do, keep people in the loop, and measure reliability.

    16 min

What learners say

Sign in and enrol to leave a review.

No reviews yet — be the first once you have worked through it.

More in Generative AI