AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

AI agents: models that use tools

Build an agent loop from nothing, give it tools and memory, run a real open model as its brain in Colab, and learn how much freedom an agent that can touch money should be given.

A chat assistant answers a question. An agent goes further: it decides what to do, uses tools such as a database, a calculator or a refund button, looks at what happened, and carries on until the job is done. That power is also the risk, because an agent that can issue refunds can issue the wrong ones.

In this course you will build the agent loop yourself, with a brain that is a plain function, so that every step is visible: the loop, the tools, the rules for checking a tool call, and the memory. Then you will plug in a real open language model in Google Colab, measure how often it gets the job right, and see how checks written in code keep it safe even when it is wrong. The last lesson is a decision: how much freedom should a refund agent have?

You need Python basics and the generative AI course. The first part runs in your browser. Lesson 4 also has a notebook for Google Colab.

  • Learn lessons explain one idea at a time, with small exercises you can try again and again.
  • Industry ready lessons give you real business questions, an honest comparison of methods, and the interview questions that go with them.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 30 min Free sample πŸ”’ AiTeky Pass The agent loop Build an agent from nothing but a loop, three tools and a brain that is an ordinary function, run it on the orders of a grocery app, and read its trace step by step.
  2. 02 30 min πŸ”’ AiTeky Pass Tools, and checking every call Describe tools to a model with a schema, read messy tool-call replies safely, check the name, the arguments and the permission of every call before it runs, and send the model an error message it can learn from.
  3. 03 30 min πŸ”’ AiTeky Pass Memory, limits and approval See how an agent's memory grows until it no longer fits, keep it short with a rolling summary, put the refund rule in code between the model and the button, and decide which actions need a person's approval.
  4. 04 40 min πŸ”’ AiTeky Pass An agent with a real model Let a small open language model drive the agent loop with real tools in Colab, count how often it succeeds, how often it invents tools or refunds by mistake, and see how checks written in code make it safe even when it is wrong.
  5. 05 30 min πŸ”’ AiTeky Pass Measuring an agent Read the twenty agent runs from the notebook, sort every run into right, gave up, wrong answer and wrong refund, see how wide the range is with only ten tasks, and work out what the guard really bought.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 06 40 min πŸ”’ AiTeky Pass On the job: should the refund agent go live? A grocery app wants an agent to handle damaged-item refunds. Work out how many requests the rule would let an agent finish alone, compare three ways of running it with the test results, choose a launch plan with approval, limits and a kill switch, and answer the interview questions that go with it.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in