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 سبق
  • publicEnglish
  • workspace_premiumBasic
Build a Working AI Agent

خلاصہ

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.

کورس کا خاکہ · 4 ماڈیولز

lockرسائی کے ساتھ کھل جاتا ہے
  1. 01 The Loop, Written By Hand
    3 سبق·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 سبق·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 سبق·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 سبق·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.

عام سوالات

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
کیا مجھے پہلے سے تجربہ ہونا ضروری ہے؟
Build a Working AI Agent شروع کرنے سے پہلے کچھ پہلے سے علم کی سفارش کی جاتی ہے۔
Build a Working AI Agent میں کتنا وقت لگتا ہے؟
Build a Working AI Agent میں 4 ماڈیولز اور 12 سبق شامل ہیں۔ آپ اپنی رفتار سے سیکھتے ہیں۔
مجھے رسائی کیسے ملتی ہے؟
Build a Working AI Agent کسی بھی paid رکنیت میں شامل ہے۔

پروگرامنگ میں مزید

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 خالی صفحے سے
Beginner Python خالی صفحے سے وہی بالکل ترتیب جو نو طلبہ پہلے ہی چل چکے ہیں، خالی فائل سے لے کر ایسے پروگرام تک جو سوالات پوچھتا ہے، جوابات کی جانچ کرتا ہے اور غلط ان پٹ کو مسترد کرتا ہے۔ کوئی پہلے سے پروگرام کا علم نہیں۔ کوئی ریاضی نہیں۔ آپ اسے بار بار توڑیں گے، جان بوجھ کر۔
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.
ہائپ کے بغیر AI
Beginner ہائپ کے بغیر AI جب ماڈل آپ کو جواب دیتا ہے تو دراصل کیا کر رہا ہوتا ہے، یہ کیوں ایسا کچھ تیار کرتا ہے جو سوچ جیسا لگتا ہے، یہ حوالے جات کیوں گھڑتا ہے، اور وہ لاگت کا طریقہ جو تقریباً کوئی بھی نہیں بتاتا: ایک چیٹ ہر بار پورا ملاپ دوبارہ بھیجتا ہے۔ آپ خود ریاضی کریں گے۔
IGCSE اور GCSE کمپیوٹر سائنس — تھیوری جو واقعی نمبر دیتی ہے
Intermediate IGCSE اور GCSE کمپیوٹر سائنس — تھیوری جو واقعی نمبر دیتی ہے پیپر کا تھیوری والا حصہ، اس طرح سے پڑھایا جاتا ہے کہ امتحان کے کمرے میں قائم رہے۔ میموری ہائرارکی اور بوٹ میں اصل میں کیا ہوتا ہے۔ Compilers، interpreters اور assemblers، بشمول وہ جواب جو صحیح لگتا ہے اور کچھ نہیں دیتا۔ Databases سپریڈ شیٹ سے keys اور normalisation تک۔ DNS اور Enter دبانے سے لے کر صفحہ نظر آنے تک کا پورا راستہ۔ Systems software، اور اخلاقی اور قانونی حصہ جو پیپر پر سب سے آسان دس نمبر ہے۔
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.