Skip to content

Building AI agents with tool use

For people

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
Share X LinkedIn Reddit Bluesky Email

Ratings

No ratings yet.

Sign in to leave a rating. Sign in

Discussion 0

Use @handle to bring somebody in, and #tag to file it.

Nothing here yet. Ask a question, or say how you used it.

Sign in to join the discussion. Sign in

More in Generative AI

Generative AI advanced

Evaluating LLM applications

Build test sets, grade outputs with code, people and model-based graders, and catch regressions before your users do.

4 lessons 1 hr Free For people