Understanding the technology before using it
Two short videos explaining how AI learns:
| Year | Milestone |
|---|---|
| 1957 | Perceptron - First trainable neural network |
| 1961 | ELIZA - First chatbot (early generative AI) |
| 1979 | Neocognitron - First deep learning neural network |
| 1989 | Backpropagation - Deep learning becomes practical |
| 1997 | LSTM - Long short-term memory for speech recognition |
Source: dataversity.net/articles/a-brief-history-of-generative-ai
| Year | Breakthrough |
|---|---|
| 2014 | GANs - Generate realistic images, video, audio |
| 2017 | Transformers - "Attention Is All You Need" paper |
| 2022 | ChatGPT - LLMs go mainstream |
| 2023+ | Agentic AI - Systems that plan and take actions |
Tokens are subword pieces (~4 characters average)
| Text | Tokens |
|---|---|
"hello" |
1 token |
"uncomfortable" |
["un", "comfort", "able"] = 3 tokens |
| Code | Often more tokens per line than English |
Why it matters: You pay per token, limits are in tokens
Source: Ethan Mollick, "The Shape of AI"
Source: Ethan Mollick, "Management as AI Superpower"
These aren't just games — they reveal how the model works
Take this news article: [paste any recent news]
Rewrite it so that a dinosaur is somehow
centrally involved in the incident.
Keep the same journalistic tone and structure.
"The project deadline was missed again. This is unacceptable. We need to discuss this."
"John Smith is a 34-year-old software engineer from Seattle. He earns $150,000 at TechCorp..."
Same information, endless formats!
The conceptual leap that changes everything
"All talk, no action"
Give the LLM ability to request actions
{"tool": "get_weather", "location": "Seattle"}
{"temp": 52, "condition": "rainy"}
LLM outputs either:
TOOL: [name], INPUT: [value]
or
ANSWER: [response]
SYSTEM:
You are a helpful assistant. Follow this loop:
1. THINK out loud about what you need to do
2. ACT by calling a tool if needed
3. OBSERVE the result
4. REPEAT until you can answer
Tools: calculator(expression), web_search(query)
USER:
What is the square root of 65536?
[LLM reasoning]
TOOL: calculator
INPUT: sqrt(65536)
Tool Executor: run the calculation
256
SYSTEM:
You are a helpful assistant. Follow this loop:
1. THINK out loud about what you need to do
2. ACT by calling a tool if needed
3. OBSERVE the result
4. REPEAT until you can answer
Tools: calculator(expression), web_search(query)
USER:
What is the square root of 65536?
ASSISTANT:
[LLM's reasoning from Round 1]
TOOL: calculator
INPUT: sqrt(65536)
TOOL RESULT:
256
[LLM reasoning]
ANSWER: The square root of 65536 is 256.
| Tool Type | Examples |
|---|---|
| 📁 File system | Read, write, search files |
| 🌐 Web | Fetch pages, search |
| ⚙️ Code execution | Run scripts, tests |
| 🔌 APIs | External services |
| 🎭 Browser | Playwright for web interaction |
| Before | After |
|---|---|
| AI suggests code | AI READS your code |
| You run tests | AI RUNS your tests |
| You research libraries | AI RESEARCHES for you |
| You fix issues | AI FIXES and verifies |
Transforms AI from "assistant" to "autonomous developer"
Put these concepts into practice
Rewrite your project description in 3 styles
Or: Technical concept as children's story / rap / news
Write out ReAct steps for researching a library