Skip to main content

Agents and perception

The loop behind an agent, and what to do with what an OCR, a detector or a hand model returns.

0 of 12 solved · 0 of 270 XPStart: Hand gestures from landmarks
  1. 1Hand gestures from landmarksA hand model gives you 21 points. Four geometry rules turn them into "palm", "fist", "victory" or "thumbs up", with no training and no camera.Easy · 15 min · 10 XP
  2. 2Indirect injection: the email that gives ordersA supplier's email hides an order and your agent carries it out. Audit the attack transcript and find which actions the email decided, not the user.Medium · 15 min · 20 XP
  3. 3An agent with tools, no frameworkAn agent is a twenty-line loop: the model asks for a tool, you run it, hand back the result and repeat until it answers. Write it and try it on your own Ollama.Medium · 20 min · 20 XP
  4. 4EU AI Act: classify your system as a decision functionRegulation (EU) 2024/1689 classifies by use, not by technology. Write the order of questions: Article 5, Article 6 and Article 50.Medium · 20 min · 20 XP
  5. 5Blur faces before you shareA 1.3 MB detector finds the faces in a photo inside your tab. Write the pixelation that covers them before the picture leaves your machine.Medium · 20 min · 20 XP
  6. 6Detect objects: IoU and NMSA detector proposes 81 boxes for a desk with six things on it. Write the IoU and the non-maximum suppression under every YOLO and keep the ones that count.Medium · 20 min · 20 XP
  7. 7Teach your browser to seeAn 8.8 MB model turns each photo into 1,280 numbers and your nearest neighbour decides: orange, lemon or avocado. No training at all.Medium · 20 min · 20 XP
  8. 8Whisper in your browser: from audio to minutesRecord a clip or use our sample, transcribe it with Whisper without the audio leaving your tab, and turn its segments into minutes with decisions and tasks.Medium · 20 min · 20 XP
  9. 9Defend your agent from a poisoned documentA document retrieved by RAG tries to make your agent pay and send data out. Keep instructions and data apart, limit the tools and ask a person to confirm.Medium · 25 min · 20 XP
  10. 10Invoices to data: local OCROCR gives you text with typos. Pull out number, date, CIF, NIF and amounts; check the NIF letter, the CIF digit and that base plus VAT is the total.Medium · 25 min · 20 XP
  11. 11Entities: regex versus LLMPull names, companies, dates, amounts and tax IDs out of a contract with regular expressions, and measure with F1 whether a local model does better.Medium · 25 min · 20 XP
  12. 12Capstone: an agent that checks invoicesCapstoneTools over OCR text, a loop with a budget and a guard against repeats, and a report a person can read. Three invoices, two with a problem.Hard · 35 min · 60 XP