code ai

Build a Working AI Agent

An agent is a loop, and you are going to write it yourself before you are shown a framework that hides it. Four modules and four artefacts: the loop with its own tools and step cap, a defensible model choice, an agent that reads vendor documents and assembles a VAT return without double-counting anything, and a phishing-link scorer running against a model on your own machine.

  • trending_upIntermediate
  • schedule6h 56m
  • menu_book12 aulas
  • publicEnglish
  • workspace_premiumBasic
Build a Working AI Agent

Apresentação

This segment is built out of agents that are actually in use, and it is the opposite of a tour. You write one file in module 1 and every later lesson imports it. You start with the loop, in about twenty lines, against a fake model, with the network unplugged — because everybody who begins with a real key spends the first hour debugging authentication instead of the thing they came to learn. Then you harden it until no reply a model can produce will kill a run, and only then do you put a key anywhere near it. Module 2 is the boring, valuable part: where a key must never live, what to do in the first ten minutes after one leaks, and how to choose a model on twenty cases and a threshold you wrote down beforehand rather than on how it felt when you tried it twice. Module 3 is where the agent touches something real. You build a reader over a folder of vendor agreements that hands back a page and not a document, and an invoice collector that assembles a VAT return from a folder — and you make it safe to run twice, because it will be run twice, by somebody who is not sure whether the first run worked. Module 4 is what happens when it goes wrong at four in the morning and nobody is awake. Retries that only retry what is worth retrying, a run log a stranger can read a week later, and then a model on your own machine so that nothing leaves the box at all. The segment ends on the build that ties it back to defence: a scorer for a link somebody was sent, whose output is not a number but a paragraph a non-technical colleague can act on. Everything is the Python standard library. No framework, no installed packages, and every check in every lesson runs offline, so a lesson never depends on a credential working. Segment A1, AI Without the Hype, is assumed: next-token prediction, the resend on every turn, and plan with the strong model, execute with the cheap one. None of it is repeated here. It is used. **Nothing in this segment is offensive.** The phishing material is a scorer. It weighs a link that somebody has already been sent and never produces a link, a lure, a page or a way past a filter, and the standing rules are printed in the lab that uses it.

Estrutura do curso · 4 módulos

lockDesbloqueado com acesso
  1. 01 The Loop, Written By Hand
    3 aulas·1h 32m

    An agent is a loop. Every framework you will be shown is that loop with features bolted on, and you cannot tell which of those features you need until you have written the loop yourself.

  2. 02 Keys, Models and Evidence
    3 aulas·1h 29m

    Everybody picks a model on how it felt when they tried it twice. Twenty cases and a mechanical check take an afternoon once and five minutes whenever anything changes, and only one of the two…

  3. 03 Tools That Touch The Real World
    3 aulas·1h 50m

    Most tool-call failures are documentation failures. And any tool that changes something will be called twice, by a person who is not sure whether the first run worked, so calling it twice has to be…

  4. 04 The Failed Run, the Local Model, and the Link You Were Sent
    3 aulas·2h 5m

    Four in the morning. Eight invoices are recorded, the ninth call fails, the process exits and nobody is awake. Should it have retried, what did it already do, and how would anyone find out.

Perguntas frequentes

O que vou aprender em Build a Working AI Agent?
An agent is a loop, and you are going to write it yourself before you are shown a framework that hides it. Four modules and four artefacts: the loop with its own tools and step cap, a defensible model choice, an agent that reads vendor documents and assembles a VAT return without double-counting any
Preciso ter experiência prévia?
Recomenda-se ter algum conhecimento prévio antes de começar Build a Working AI Agent.
Quanto tempo leva Build a Working AI Agent?
Build a Working AI Agent inclui 4 módulos e 12 aulas. Você aprende no seu próprio ritmo.
Como consigo acesso?
Build a Working AI Agent está incluído em qualquer assinatura paga.

Mais em Programação

Binary, Hex and Data Units
Beginner Binary, Hex and Data Units The topic that costs more marks than any other on the paper, taught by hand. Bits and bytes, binary and hex in all six directions, the 1000-versus-1024 trap, file sizes, transmission times, overflow, two's complement and character sets. Every module ends in a timed drill marked the way an examiner marks it.
Python Do Zero
Beginner Python Do Zero A sequência exata que nove alunos já percorreram, de um arquivo em branco até um programa que faz perguntas, verifica as respostas e rejeita entradas inválidas. Sem programação prévia. Sem matemática. Você vai quebrá-lo repetidamente, de propósito.
First Program — Scratch for ages 5–9
Beginner First Program — Scratch for ages 5–9 Nine Scratch blocks, three sessions of about twenty-five minutes, and one small program a child of five to nine builds themselves. Written for the parent sitting beside them: what to click, what they will get stuck on, what to say when it goes wrong, and when to keep your hands off the mouse.
IA Sem Hype
Beginner IA Sem Hype O que o modelo está realmente fazendo quando te responde, por que isso produz algo que parece raciocínio, por que ele inventa citações, e o mecanismo de custo que quase ninguém explica: um chat reenvia a conversa inteira a cada turno. Você vai fazer as contas sozinho.
IGCSE e GCSE Computer Science — Teoria que Realmente é Avaliada
Intermediate IGCSE e GCSE Computer Science — Teoria que Realmente é Avaliada A metade teórica da prova, ensinada para sobreviver à sala de exame. A hierarquia de memória e o que realmente acontece no boot. Compiladores, interpretadores e montadores, incluindo a resposta que parece correta e não pontua nada. Bancos de dados desde uma planilha até chaves e normalização. DNS e o caminho completo entre pressionar Enter e ver a página. Software de sistema, e a seção ética e legal que são os dez pontos mais fáceis da prova.
Programming for the Exam — Python Answers That Score
Intermediate Programming for the Exam — Python Answers That Score The programming half of the paper, taught at exam pitch. Pseudocode translated both ways, because the mark scheme is written in a notation nobody practises. Trace tables done column by column, including the ones with a loop and a condition inside it. Linear and binary search, bubble and insertion sort, what each costs and the comparison questions boards love. Validation against verification, and the boundary test data everybody forgets. Procedures against functions, and a systematic method for finding your own error with four minutes left.