Skip to content

Lecture 1. What is AI? History, classification, general concepts

Lecture 1 · ~75 min · 34 slides

01 · Real-time identification of people

Slide 1. Real-time identification of people

"Hello. Before I say a single word about AI— look at the projector.

What you see is a laptop. An ordinary laptop. Running on it is a computer vision model. It was trained in twenty twenty-three. It sees you for the first time— there are none of your photos in its training set. And it runs locally. No internet. No cloud. No subscription. No sending data to anyone whatsoever.

This is AI. Not magic, not a threat, not "the future that will arrive"— but a tool that works right now, on a single laptop, in this room.

This is narrow AI. The model solves one task: find people in the frame. Nothing more. It doesn't understand who you are. It doesn't know your names. It draws no conclusions. Just detection of objects of the class "person".

Today, over seventy-five minutes, you and I will walk through the main archetypes of AI tools. Not so that you memorize the names— for something else. So that you learn to tell apart: where AI works, where it doesn't work, and how to figure that out in advance, before you've invested three months of development in it."


Sources: [1] Ultralytics — YOLOv8 (2023) · [2] Google — MediaPipe

02 · Welcome

Slide 2. Welcome

"A couple of words about the course. This is the course "Industry Applications of Artificial Intelligence Systems"— about AI in real industries: from software development and finance to aerospace and medicine.

The course is not about training models from scratch. It is about how to competently choose and deploy ready-made AI solutions. Today— the first lecture, the introduction."


03 · The main question of the course

Slide 3. The main question of the course

"The question "can AI be applied" is no longer interesting. It can. Nine hundred million people use ChatGPT every week. It has long been infrastructure.

But the question "should you and where" is open. Look at the funnel on the left: about ninety percent of corporate AI pilots in Russia do not reach production deployment. Similar figures— on other markets too, per McKinsey and Gartner.

Mass adoption and mass failure at the same time— the central engineering problem of the course. That is why the main question is not "can you", but "where AI works, where it doesn't, and how to figure that out in advance". This is a diagnostic question, not a triumphant one. You and I will return to it every lecture of the course."


Sources: [1] Gartner - press release (Oct 2024) · [2] Vedomosti / Intellectual Analytics (Mar 2026)

04 · Cover

Slide 4. Cover

"Lecture one. What is AI? History, classification, general concepts.

This is the first of seventeen lectures of the course. Today— the general map. Later we'll descend into the details."


05 · Lecture plan

Slide 5. Lecture plan

"Briefly— the navigation. Five sections. Right now— the introduction. Next: what is AI; where we are now; four ways to implement— the largest section; and the boundaries of AI."


06 · Who I am and why this matters to me

Slide 6. Who I am and why this matters to me

"Briefly about myself.

I am an architect, a technical and product leader in IT— more than twenty years, more than ten completed projects.

I've worked with Yandex (leading Russian internet/search-and-services company), MTS (major Russian telecom operator), Magnit (large Russian grocery-retail chain), Sibur (largest Russian petrochemicals producer). Different industries, and in each, AI was applied in its own way. That is why I'm interested not in a conversation about "artificial intelligence in general", but in the engineering boundary: where AI saves time, and where it's a demonstration that falls apart in production.

This course is the map I didn't have at the start of my path. Boundaries will get as much attention as successful cases.

Questions outside the lecture— the contacts are on the slide."


07 · Section 1. What is AI

Slide 7. Section 1. What is AI

"We've introduced ourselves and stated the main question of the course. This is the first section of five— what is AI.

The structure of the section is short but dense: first— why there are many definitions of AI, then a fact-bridge from nineteen forty-three, and at the end— a condensed seventy-year timeline with a clear turning point."


08 · What is AI: why there are many definitions

Slide 8. What is AI: why there are many definitions

"AI has no single canonical definition. This reflects the nature of the subject: AI is a moving target. You and I keep four approaches in mind.

Russell and Norvig: four quadrants "thinking / acting" × "human / rationality". An academic frame.

The ISO/IEC 22989 standard: AI is a system that generates content, forecasts, recommendations, decisions for goals set by a human. Regulators use it.

Through learning: a program improves through experience. If the behavior is a set of rules, it's not AI; if it comes from a trained model, it's AI.

Through benchmarks: something can do a task at a human level. Here is where the discussion about AGI and Searle's Chinese Room objection lives.

The main point— why the definition shifts. Larry Tesler: "AI is whatever hasn't been done yet". Face recognition, navigation, a spam filter— at the moment they appeared, they were AI; now they are "a feature of an application". This is the AI Effect.

Don't pick one approach as the right one— all four are working."


Sources: [1] Russell & Norvig — AIMA, 4th ed. (2021) · [2] ISO/IEC 22989:2022 · [3] Mitchell — Machine Learning (1997) · [4] Searle — Chinese Room (1980) / Turing (1950)

09 · Prehistory: 1943

Slide 9. Prehistory: 1943

"Before we walk through the history of AI— one fact-bridge.

Even before the term "artificial intelligence" appeared, the neurophysiologist Warren McCulloch and the logician Walter Pitts formalized the neuron as a logical element: a network of such simple binary elements can theoretically compute any logical function. The paper came out in nineteen forty-three.

That is thirteen years earlier than the Dartmouth conference of fifty-six, where the term "artificial intelligence" would appear for the first time.

The formal neuron didn't solve applied tasks, but it anticipated the connectionist tradition— a line of thought from which neural networks and architectures like the Transformer would grow.

Keep this in mind: the idea of a neural network is older than the term "artificial intelligence". Next— the history from fifty-six on."


Sources: [1] McCulloch & Pitts (1943)

10 · Seventy years of AI: discoveries, winters, the 2017 turning point

Slide 10. Seventy years of AI: discoveries, winters, the 2017 turning point

"A condensed timeline in three groups— seventy years, counting from fifty-six, when the term itself appeared.

Discoveries and first practice, the fifties— eighties. Fifty— Turing publishes the "Imitation Game". Fifty-six— the Dartmouth conference, McCarthy, Minsky, Rochester and Shannon introduce the term "artificial intelligence". Sixty-six— Weizenbaum creates ELIZA, a psychotherapist program: users ascribe to it an understanding that isn't there— the "ELIZA effect". The eighties— the commercial boom of expert systems: XCON, MYCIN, Dendral; Japan launches the "Fifth Generation".

Two winters and breakthroughs, seventy-four— twenty twelve. Seventy-four— eighty— the first AI winter: after the Lighthill report and the DARPA cuts, the field loses money. Eighty-seven— ninety-three— the second winter: the market for AI machines collapses, expert systems turn out to be brittle. Ninety-seven— IBM's Deep Blue defeats Kasparov: two hundred million positions per second by brute-force search. Twenty twelve— AlexNet wins ImageNet by a sharp margin: deep convolutional networks on GPUs beat hand-crafted features.

Note the caption under this panel: resources leave when promises don't come true. That's exactly how both winters worked— not because of a lack of ideas, but because of the gap between what was promised and what actually worked. The lesson: when promises massively fail to come true, the field loses resources. Today's wave is the fourth, and so far it avoids a winter, because part of the promises do come true. But not all of them will. Distinguish what works now from what is promised for twenty thirty.

The turning point, twenty seventeen— twenty-six. Everything we use today grew out of here.

In June of seventeen, eight authors from Google Brain and Google Research publish "Attention Is All You Need": Vaswani, Shazeer, Parmar, Uszkoreit, Jones, Gomez, Kaiser, Polosukhin.

Before seventeen, the main architecture for sequences was recurrent networks— RNN and LSTM: tokens are processed one at a time, they parallelize poorly on GPUs, and they remember long context poorly. Vaswani and co-authors proposed the self-attention mechanism and the Transformer architecture with no recurrence at all— it replaced RNN and LSTM as the main building block.

As of May twenty-six, the paper has more than one hundred sixty thousand citations on Google Scholar. An influential work accumulates thousands over a lifetime; one hundred sixty thousand in eight years is a rarity even for a Nobel-level one.

Why seventeen exactly became the turning point. Three properties coincided: parallel trainability on large corpora; good scaling— more data and parameters, higher quality, nonlinearly (scaling laws); and universality— one design works with text, images, audio, biological sequences.

By the year twenty, GPT-3 appeared; by twenty-two— ChatGPT. All the modern large models are descendants of a single paper from seventeen.

We'll break down the mechanics of the Transformer later, when we look at how modern large models are built."


Sources: [1] Vaswani et al. — Attention Is All You Need (2017) · [2] McCorduck — Machines Who Think (2004) · [3] Dhar — Paradigm Shifts in AI, CACM (2024)

11 · Section 2. Where we are now

Slide 11. Section 2. Where we are now

"Section two of five. We've figured out what AI is. Next— where it is now, in twenty-six.

First— the scale in figures, then— breakthroughs from teams that were not obvious favorites. The section is short, but it sets the scale: AI is at the same time everywhere and almost nowhere brought to completion."


12 · AI became infrastructure in 3 years

Slide 12. AI became infrastructure in 3 years

"In three years AI became an infrastructure layer. A few telling figures.

ChatGPT— about nine hundred million weekly active users as of February twenty-six. Weekly exactly, not monthly— over a month it's higher.

Stack Overflow Developer Survey twenty-five, forty-nine thousand developers from one hundred seventy-seven countries— eighty-four percent use or plan to use AI; fifty-one percent turn to AI daily.

GitHub Copilot— among regular users, AI writes up to forty-six percent of lines of code, and for Java— sixty-one.

The size of the AI market. Per Grand View Research of twenty-six— three hundred ninety point nine billion dollars in twenty-five, with a forecast of growth to five hundred thirty-nine and a half billion in twenty-six. Per the narrow software-only Statista— lower, around two hundred forty-four to two hundred sixty billion. The spread comes from what you count as the AI market: models, infrastructure, embedded AI, integration. If you compare AI market figures— first compare the methodologies.

The flip side. Per a summary by CNews, Vedomosti, Intellectual Analytics, March twenty-six— about ninety percent of AI pilots in Russia do not reach production deployment. Thirty to forty percent are shut down without an effect, only seven to ten— are in operation.

A detail about trust. Per Stack Overflow— forty-six percent of developers do not trust the accuracy of AI code, versus thirty-one a year earlier. It looks like a contradiction: usage is growing, trust is falling? In fact both figures are consistent— the general trend is a rise in adoption, and the assessment of accuracy is more critical because developers have learned to see where AI errs. This is not "trust is falling", but "trust is becoming more nuanced". We'll return to hallucinations in the fourth section.

The lecture context. AI is already infrastructure with mass adoption and mass failure alike. The difference between these pictures is the place where engineering thinking works, and where you and I spend the next sixty minutes."


Sources: [1] Stack Overflow — Developer Survey 2025 · [2] OpenAI — ChatGPT WAU (Feb 2026) · [3] GitHub — Octoverse 2025 · [4] Grand View Research (2026) · [5] Vedomosti / Intellectual Analytics (Mar 2026) · [6] Gartner - press release (Oct 2024)

13 · The space is open: four breakthroughs 2023–2026

Slide 13. The space is open: four breakthroughs 2023–2026

"Looking at the figures from the previous slide, it's easy to conclude— "everything is already done, the biggest players lead". This impression is deceptive. Over three years— four loud episodes. Each shows: the space is open.

September twenty-three, Mistral 7B. A small French lab, founded at the start of that same year by alumni of Meta and Google DeepMind, releases a model under Apache 2.0. Mistral 7B beats Llama-2 13B— a nearly twice-as-large model. The lesson: a small team can release a model at the level of the big players in a matter of months.

January twenty-five, DeepSeek-R1. A little-known Chinese lab publishes an open reasoning model at the level of OpenAI o1. The final training run of V3— about five million six hundred thousand dollars; the full infrastructure— orders of magnitude more, these are different numbers. On January twenty-seventh, Nvidia lost five hundred eighty-nine billion dollars in a single day— the largest single-day loss of market capitalization in history.

November twenty-five, OpenClaw. Peter Steinberger single-handedly launches an autonomous open-source AI agent. By the start of twenty-six— more than one hundred thousand stars on GitHub in a quarter. On February fourteenth, Steinberger leaves for OpenAI, and the project goes into a non-profit foundation. The lesson: one person with the right concept can release an agent that shifts the market in weeks.

The story of Georgi Gerganov, llama.cpp and ggml.ai. A solo project grew into a small team. On February twentieth, instead of venture funding, it joined Hugging Face for support— keeping its autonomy.

In March, llama.cpp crossed one hundred thousand stars on GitHub— faster than PyTorch or TensorFlow.

The lesson here is a different one. Not "one person released a product", but one person built an infrastructure layer on which the entire open ecosystem rests— the foundation that makes it possible to run large models on an ordinary laptop.

In parallel, Russian tools are developing too: YandexGPT, GigaChat, T-Bank Talisman, Shedevrum. More on this— in the lectures on AI in software development, finance, and the creative industries.

"The space is open" for you and me. The course focuses on the durable concepts— they outlive the change of model generations."


Sources: [1] Mistral AI — Announcing Mistral 7B (Sep 2023) · [2] DeepSeek-R1 — tech report (Jan 2025) · [3] SemiAnalysis — DeepSeek cost analysis (2025) · [4] Bloomberg — Nvidia $589B drop (27 Jan 2025) · [5] Steinberger — OpenClaw (GitHub) · [6] G

14 · Section 3. Four ways to implement

Slide 14. Section 3. Four ways to implement

"Section three of five. You and I are in the largest section of today's lecture, twenty-three minutes. Four ways to implement systems with AI: model, chat, agent, application. And most importantly— a simple tool for choosing among them."


15 · Ways to implement with AI: not alternatives, but layers

Slide 15. Ways to implement with AI: not alternatives, but layers

"The key idea of the section. These are not four alternatives. These are four ways to implement one task with a layered structure. Each next level includes the previous one.

Model— stateless inference on a single task. Data in, a prediction out. No interface, no memory, no tools.

Chat— a model plus an interface plus dialog memory.

Agent— a chat plus tools plus planning. The ability to call an API, read files, execute code, and the logic of choosing the tool at each step.

Application— an agent or a chat plus a product interface. On the outside, an ordinary product; the AI works inside as one of the components.

Don't choose "between" the levels as if they were alternatives. Each next wrapping adds capabilities— and at the same time complexity, cost, and error potential. You and I will return to this layered model the whole course."


Sources: [1] Anthropic — Building Effective Agents (2024) · [2] Weng — LLM Powered Autonomous Agents (2023)

16 · Classification: task × modality

Slide 16. Classification: task × modality

"To talk about concrete AI tools in one language— two axes.

The X-axis— the task type. What the system produces. Five types: classification, recognition, retrieval, generation, forecasting.

The Y-axis— the modality. What kind of data it works with. Text, image, audio-video, structured data.

These two axes are enough for our course. The technical depth— the architecture of a neural network— later, in the lecture on how large models are built.

One cell deserves attention— forecasting on text, where GPT-4o and Claude sit. At first glance it's strange: isn't that generation? In essence— the same phenomenon. A language model generates text by predicting the next token— the same semantics as in "Generation".

Calibration. Google Translate— generation on "text". AlphaFold— forecasting of a protein's structure on "structured data". YOLO, our demo at the start— recognition on "image".

When discussing each implementation type, you and I will ask: what task and what modality. This prevents mixing systems that are different by nature under the common label "AI"."


Sources: [1] Russell & Norvig — AIMA (2021) · [2] Goodfellow, Bengio, Courville — Deep Learning (2016)

17 · One task, three ways: the control quadrant

Slide 17. One task, three ways: the control quadrant

"So the layered model isn't just theory, let's run it on one task through three ways of solving it.

The task: extract fields from an incoming PDF contract and put them into a table. Signing date, counterparty, amount, term of validity. Five or six fields. A familiar engineering task.

The axes of the quadrant. Horizontally— delegation from the user: how much the user hands the whole task over to the AI. Vertically— the developer's control: how rigid a framework they build around the AI. The more the user delegates, the more framework is needed.

That is why the three ways will fall on the diagonal.

Way one— the model. We take a specialized model for extracting structured fields, for example, DocVQA. The user integrates the API themselves: passes the PDF, gets JSON, puts it into a table. Delegation is low— the user controls every step. The developer's control is also low— the model is a raw access point with no orchestrator. Bottom-left corner— the caption "integrates the API themselves, full control".

Way two— the chat. We open Claude or ChatGPT in a browser, drag the PDF into the chat, and write: "extract the following fields". We get the result, copy it into a table. Delegation is medium— the user writes the prompt themselves, reads the answer, checks it. The developer's control is also medium— there is the provider's system prompt, basic constraints. The center of the quadrant— the caption "dialogue, clarifications along the way".

Way three— the agent. We open Claude Code in the terminal: "Take all the PDFs from this folder, extract the fields, and assemble a table". The agent decides for itself which tool to use, in what order to open the files, how to handle parsing errors. The user's delegation is high— they said "do it", walked away, got the result. The developer's control is also high— the agent works within an orchestrator with rules for tool permission and error-return logic. Top-right corner— the caption "delegation in full, the orchestrator decides".

Note the two empty corners. Top-left— "no point": why build an orchestrator if the user solves it themselves anyway. Bottom-right— the "danger zone": the user handed the task to the AI, but the developer provided no framework.

All three ways solve one task. The difference is not in quality, but in the distribution of control— an engineering decision that you and I make at the start of a project. The more we delegate— the more rigid the framework needs to be.

Next, you and I will break down each of the four types in more detail: model, chat, agent, application."


Sources: [1] Anthropic — Building Effective Agents (2024)

18 · Model: input → preprocessing → model → postprocessing → output

Slide 18. Model: input → preprocessing → model → postprocessing → output

"Let's start with the bottom layer— the model, and from there you and I will climb up, layer by layer.

A model is a trained neural network that takes an input and returns an output. Without state between calls, without tools, without dialogue. From the integration point of view— the simplest component: a model call is a function.

An important detail: a model is not a system, but a component. In production operation there is always wrapping around it. Five blocks horizontally.

Raw input— a frame from a camera, text, an audio signal. Preprocessing— resizing, normalization, tokenization. Model— the actual output of the prediction. Postprocessing— filtering, formatting, for example cutting off extra boxes or normalizing probabilities. Output— an action, JSON, a class label.

Note— this whole five-block pipeline is enclosed in a common frame with the caption "This is already an application". This is not a visual accident: the model by itself is only one block within the whole. Preprocessing and postprocessing are the responsibility of the system developer, not the model itself. This is critical for budget estimation. A YOLO detector by itself— fifty lines of code. But a working system— hundreds of lines: reading the video stream, resizing, normalization, NMS, packaging for the plant's MES system. An estimate based on the model's own volume of work is understated by tens of times.

Canonical models. YOLO— object detection, our demo. Whisper— speech recognition. Stable Diffusion and SDXL— image generation from text. AlphaFold— protein structure prediction; Hassabis and Jumper received the Nobel Prize in Chemistry in twenty-four.

When a model is the right choice: high load (a video stream at thirty frames per second— impossible for a chat interface), a stable shape of input and output, a requirement of determinism, edge deployment without internet.

When it's wrong: a one-off request; a task that requires dialogue; a task that cannot be reduced to a single output type. Next— the chat."


Sources: [1] Kreuzberger et al. — MLOps (2023) · [2] Jumper et al. — AlphaFold, Nature (2021)

19 · How a chat works: the dialog cycle

Slide 19. How a chat works: the dialog cycle

"Let's remove the magic from the chat. At each iteration of the dialogue a compact cycle happens.

On the left— the user in two roles. Sender on top, receiver on the bottom.

Step one. The user writes a message.

Step two. On top of the message the system prompt is attached— instructions set in advance by the developer: "You are a corporate assistant. Answer in Russian". Plus the entire chat history from the start of the session. This combined block is the full input for the model.

Step three. The whole package is passed to the LLM as one large piece of text. The model does not "remember" the previous conversation— each time it receives it anew.

Step four. The model generates the response token by token; the response is appended to the history and shown to the user.

Step five. Look at the growing block under the response— the history accumulates, and at the next step the model will again receive the whole text in full, not the increment.

Two important consequences— two notes on the right.

First— the system prompt is an engineering lever. The user doesn't see it, but it is precisely what defines the "character" of the chat: tone, role, constraints, formats. It is the engineer's tool for setting the frames.

Second— the limitation of the context window. GPT-4o about one hundred twenty-eight thousand tokens, Claude up to two hundred thousand, Gemini up to a million. A lot, but not infinite. When the history doesn't fit, old messages drop out— the chat "forgets" details.

A chat is a pipeline of "assemble → feed → append → show"."


Sources: [1] Anthropic — Building Effective Agents (2024)

20 · Chat: model + interface + dialog memory

Slide 20. Chat: model + interface + dialog memory

"A chat is a model wrapped in a text interface with dialog memory within a session. Canonical products: ChatGPT, Claude, Gemini, DeepSeek Chat, GigaChat, YandexGPT, Mistral Le Chat. They differ in quality, in the length of the context window, in cost— but the pattern is one.

The case. An engineer receives an incomprehensible normative document with a mass of references to standards. The task— figure it out and put together a checklist. A typical case for a chat: a one-off task that requires dialogue— "what does this clause mean", "give an example", "put together a checklist". No model is needed, no agent is needed, there is no specialized application.

Chats are tied to the main cause of failure of AI projects. Most of the rolled-back pilots tried to solve, with a chat, tasks that needed a model, an agent, or an application. A chat is convenient and accessible— that's why it is often chosen as a universal tool. And this is often the wrong decision.

An important caveat about practice. Pure chats— a model plus an interface plus a short memory— are almost never seen in production operation. Everywhere the chat is already extended to an agent: for long-term memory and search over the corporate knowledge base via RAG, retrieval-augmented generation. The boundary "chat vs agent" is blurred on this side. "A chat without an agent" is the interface of ChatGPT, Claude.ai, consumer services. We'll break down the agent architecture on the next slide.

The prompt. The minimal formula: prompt = role + task + context. In detail— later in the course."


Sources: [1] VCIOM — «Neural networks in Russians' lives» (Oct 2025) · [2] Dam et al. — Survey on LLM-based AI Chatbots (2024)

21 · Agent architecture: plan, action, observation, reflection

Slide 21. Agent architecture: plan, action, observation, reflection

"The agent— the next layer. Compared to the chat, the agent has three new components.

First— the orchestrator. It looks at the goal, breaks it into steps, chooses the tool, decides when to stop.

Second— external memory. A vector database, a file system, an action log— beyond a single session.

Third— tools. Calling an API, files, code, web search. Each tool is a function with a description.

Look at the schema— a linear cycle, the base model is called ReAct. Plan— an action plan is formulated. Action— a tool is called; the connector at the bottom shows the access to the tools. Observation— the result is written to memory; the connector shows the access to memory. Reflection— the goal is achieved or the next step is needed.

This gold arrow on top is the return loop: if the goal is not achieved, the reflection sends it back to the plan. And if it is achieved— the other branch: stop, the result to the user.

Lilian Weng's formula: Agent = LLM + Memory + Planning + Tool Use. Products today: Claude Code, Devin, OpenAI Operator, AutoGPT."


Sources: [1] Weng — LLM Powered Autonomous Agents (2023) · [2] Anthropic — Building Effective Agents (2024) · [3] Anthropic — Model Context Protocol (2024)

22 · Agent at work: 200 PDFs— a sequence of steps

Slide 22. Agent at work: 200 PDFs— a sequence of steps

"A concrete case. Two hundred PDF reports; from each, extract the date, the counterparty, the amount, and assemble a summary table. A multi-step task with tools. Neither a model fits— there's no such specialized one— nor a chat— it's uncomfortable to copy two hundred files. The agent is the natural choice.

Look at the right part. Seven steps, at each— an explicit tool. The agent doesn't "think" the whole path itself; at each step it decides which tool is needed now.

Step one— get the list of files, the file system. Step two— open the PDF, PDF reading. Step three— extract the text, text extraction via OCR or a parser. Step four— embed into the vector database. Step five— find the key fields, search plus an LLM call. Step six— write the row, Sheets API or CSV. Step seven— loop over the two hundred files, the orchestrator loop.

Each step is an explicit tool call. This is exactly what an "agent" is: a chat plus orchestration plus tools plus memory. Canonical ones today: Claude Code, Devin, OpenAI Operator, AutoGPT, CrewAI, LangGraph."


Sources: [1] Yao et al. — ReAct (2022)

23 · Levels of autonomy + human-in/on/out-of-the-loop

Slide 23. Levels of autonomy + human-in/on/out-of-the-loop

"The autonomy level of an agent is an engineering design decision, not a property of the model.

Five levels per Feng, McDonald, Zhang. They differ by the user's role— captioned under each on the slide.

Operator— approves every action. Claude Code in command-confirmation mode. Collaborator— works on par with the agent. Pair programming with Cursor. Consultant— sets the goal, edits the plan. Devin on a ticket. Approver— approves at checkpoints. A PR under review. Observer in gold— only receives the result. AutoGPT overnight.

In parallel— a frame from safety engineering: where the human is relative to the loop. The order is the same, the most autonomous on top.

Out of the loop in gold— only the result, level five. On the loop— observes, can interrupt, levels three-four. In the loop— at every step, levels one-two. Separately— manual override: at any level.

The main point: the autonomy level is a product choice, not a property of the model."


Sources: [1] Feng, McDonald, Zhang — Levels of Autonomy (2025)

24 · Applications: AI packaged into a product interface

Slide 24. Applications: AI packaged into a product interface

"The fourth layer— the application. Note, this is the last layer in our layered model.

A full-fledged product in which AI is one of the internal components. The user doesn't write prompts— they press buttons, fill in forms. AI as a feature, not a product. A good application has a deterministic interface: the same action gives the same reaction.

Canonical examples. Google Translate— neural machine translation, more than a billion users per month. Notion AI— GPT-4 or Claude inside, buttons "Summarize", "Improve writing". YandexGPT in Search— a proprietary LLM, a short answer above the search results. Grammarly— NLP plus LLM, underlines in any text field. Yandex Maps— ML for routing, ETA, traffic. Adobe Firefly— diffusion models, the Generate button in Photoshop.

The case: once a week, translate a block of technical documentation. No model is needed, no chat is needed, no agent is needed. Google Translate or YandexGPT in Search— a ready-made application. Overpaying with complexity is an anti-pattern."


Sources: [1] Google — Translate at 20 (2026) · [2] Anthropic — Building Effective Agents (2024)

25 · Checklist "Which type of AI to choose": 2 questions + quadrant

Slide 25. Checklist "Which type of AI to choose": 2 questions + quadrant

"The culmination of the section— a practical tool. Two diagnostic questions, whose answers unambiguously determine the implementation type. Note: the axes of the quadrant are not separate questions, but divisions of the scale.

Question one— on the left scale. Is interaction with the user needed? "Yes"— the division on top, "no"— at the bottom. If yes— communication, clarifications, real time— the upper half, the chat / agent family. If no— autonomously by a trigger or a stream— the lower half, the model / application in automation mode family.

Question two— on the bottom scale. Is independent work with tools needed? "No" on the left, "yes" on the right. If yes— calling an API, files, code— the right half, the agent / application in automation mode family. If no— a single step "input → output"— the left half, the chat / model family.

The intersection of the two scales gives the quadrant. Bottom-left— no/no— Model. Bottom-right— no/yes— Application in automation mode (for example, an ETL pipeline with an AI classifier). Top-left— yes/no— Chat. Top-right— yes/yes— Agent.

Three cases.

A conveyor-belt defect detector. Q1: no. Q2: no. Bottom-left— model.

A corporate chat for parsing a norm. Q1: yes. Q2: no. Top-left— chat.

Two hundred PDFs and a table. Q1: yes— the user sets the task. Q2: yes— open files, parse. Top-right— agent, the point is gold.

Thirty seconds— turn to your neighbor. Name an AI tool you've used in the last month. Run it through the two questions. Which corner did you land in?

AI works where the task and the implementation type matched. Most of the rolled-back pilots didn't ask these two questions; they chose the tool by fashion. Apply this quadrant to your own case."


Sources: [1] Anthropic — Building Effective Agents (2024) · [2] Google — AI Agents Whitepaper (2024) · [3] Ng — Four Agentic Design Patterns (2024)

26 · Section 4. The boundaries of AI— your zone of responsibility

Slide 26. Section 4. The boundaries of AI— your zone of responsibility

"Section four of five. We move on to boundaries and safety. This is not a horror chapter— it's an inventory of problems that arise systematically in AI systems.

The theme— your zone of responsibility, not a question for separate specialists. You have already made the decision to embed AI— you answer for an incident, not the "model". AI errs systematically and predictably: bias, hallucinations, sycophancy, drift— these are properties of the technology, not random bugs. And the boundary "what AI cannot do"— is also your zone: beyond it you need verification and a fallback scenario.

Next: where the data goes, hallucinations, bias and sycophancy, AGI forecasts."


Sources: [1] NIST — AI RMF 1.0 (2023) · [2] NIST — Generative AI Profile 600-1 (2024) · [3] EU AI Act — Reg. (EU) 2024/1689

27 · Consumer vs enterprise: where your data goes

Slide 27. Consumer vs enterprise: where your data goes

"From the general frame of section four— to the first concrete risk that you and I are about to break down. Where does your data physically go when you write a request into a cloud AI service?

Your text— and often the attached files, images too— is sent to the provider's servers. What happens to it next— depends on the tier.

Consumer. OpenAI ChatGPT Free and Plus use the data for fine-tuning by default; you can turn it off in the settings. Anthropic Claude, since September twenty-five, asks for permission; on consent the retention period is five years. Google Gemini— data for training by default, part is selectively reviewed by people.

Corporate tiers and API. OpenAI Enterprise, the OpenAI API since March twenty-three, Anthropic for business, Google Workspace, Vertex AI— the data is not used to train the foundation models. Zero Data Retention agreements are available— the provider doesn't store the prompts at all.

The canonical incident— March–April twenty-three, Samsung. Engineers, in three episodes, uploaded proprietary code, a meeting transcript, and test sequences for chip debugging into the consumer ChatGPT. Samsung's secrets effectively ended up in OpenAI's dataset. Samsung banned employees from external AI and introduced a limit of one thousand twenty-four bytes per prompt. A year later the ban was partially lifted after the rollout of internal tools.

The alternative— local deployment of open models via Ollama, LM Studio, vLLM. It eliminates the leak, adds GPU costs. The empirical break-even point— on the order of one hundred thousand requests per day.

In the European Union, the EU AI Act: the standard level of fines is up to fifteen million euros or three percent of turnover. The top level for prohibited practices— up to thirty-five million or seven. The NIST AI RMF— US standards. Russian regulation is in the process of being formed.

The practical conclusion. Never upload confidential data into consumer AI services without checking the policy of the specific tier. The rule is simple, but it's systematically violated."


Sources: [1] Bloomberg — Samsung bans ChatGPT (May 2023) · [2] OpenAI — Enterprise Privacy / data usage (2025) · [3] EU AI Act — Reg. (EU) 2024/1689

28 · Hallucinations— an inherent property of AI

Slide 28. Hallucinations— an inherent property of AI

"A hallucination in the context of an LLM is the confident production of factually incorrect information in a form indistinguishable from the correct one. The model does not "know" that it's telling an untruth; for it, this is simply a statistically plausible continuation of the sequence of tokens.

A simple experiment you can repeat today. Ask a chat: "name three scientific articles from twenty twenty-four on the topic with authors and DOIs".

With significant probability you'll get three convincing-looking references, in which the author names may be mixed up or invented, the journals are real but there are no such articles in them, and the DOIs are syntactically correct but don't resolve. Verification takes a minute: you open doi.org, paste it, and see whether it resolves or not. Without verification— it looks credible.

Per the Vectara Hughes Hallucination Evaluation Model benchmark, the range of current models is very wide: from less than one percent on the standard summarization task (Gemini 2.0 Flash) to ten-fifteen percent on reasoning tasks. This means: speaking of a "hallucination percentage of an LLM" in general is incorrect. The figure depends heavily on the task and the benchmark.

Now a short exercise. I have here two AI answers to one and the same factual question. In each— one correct and one planted detail. Thirty seconds in pairs: which part is the fake? What did you check first?

Anti-pattern number one: "AI knows everything". Any AI answer to a factual question is a hypothesis that requires verification. Especially— links, figures, quotes, legal norms, medical recommendations. This does not mean "don't use AI for facts". It means "verify what AI gives out as a fact". A critical reading attitude is not an extra precaution, but a part of the standard working process.

We'll return to hallucinations in the lectures on specific industries— medicine, oil-and-gas, science— everywhere the cost of an error in a factual detail is high."


Sources: [1] Huang et al. — Survey on Hallucination in LLMs (2023) · [2] Ji et al. — Survey of Hallucination in NLG (2023) · [3] Vectara — HHEM Leaderboard · [4] CybSafe / NCA — Oh Behave! (2024–25)

29 · Bias, sycophancy, drift: three manifestations of one nature

Slide 29. Bias, sycophancy, drift: three manifestations of one nature

"Let's break down three problems of a common nature: the model is a reflection of the data, not an independent source of truth.

Bias— bias. The model repeats the skews of the dataset. Example: a resume-screening model, trained on the data of a company where there are fewer women in technical positions, discriminates against female candidates— statistically predicting "such profiles were usually rejected". The hardest category to fix: the data records the structural inequalities of the world.

Sycophancy— sycophancy. First the term: RLHF, Reinforcement Learning from Human Feedback— a human ranks the answers, the rankings serve as a reward signal for fine-tuning. The standard step of turning an LLM into a chat assistant. The flip side: the labelers rate pleasant answers higher. The model tends to agree, to go along.

The case— April twenty-five. On April twenty-fifth, OpenAI rolled out an update to GPT-4o that was intrusively flattering. On the twenty-eighth, Altman wrote on a social network that they had already begun the rollback that same evening. On the twenty-ninth— a root-cause analysis was published. The most imperceptible category: the user, receiving compliments, doesn't notice the loss of the model's critical attitude.

Drift— distribution shift. The model behaves poorly outside the training distribution. Example: a model on code from twenty-three, in twenty-six, will suggest an outdated library and won't account for API changes. The most frequent category in long-lived systems: quality quietly degrades without explicit failures.

In your professional field, which is more dangerous— bias, sycophancy, or drift? Hands: bias— sycophancy— drift—

All three— one nature. The model doesn't know the truth, it reproduces the regularities of the data."


Sources: [1] OpenAI — Sycophancy in GPT-4o postmortem (2025) · [2] Pan et al. — Reward Misspecification (2022)

30 · AGI forecasts: 4 speakers, 4 material interests

Slide 30. AGI forecasts: 4 speakers, 4 material interests

"All production AI systems are narrow AI: optimized for specific tasks. AGI— a hypothetical AI with a human level of capabilities across a wide range of domains. An open question with mutually exclusive forecasts.

A simple rule of critical reading. When you see a specific AGI forecast— ask about the speaker's material interest. This isn't about insincerity. It's about the fact that each leader is at the same time building a company and shaping investors' expectations.

Sam Altman, OpenAI. "We know how to build AGI; this is the start of the path to superintelligence", January twenty-six. What's advantageous: an IPO and hundred-billion rounds— AGI confidence supports the valuation.

Dario Amodei, Anthropic. "AGI in two-three years; AI will replace software developers within a year", Davos twenty-six. What's advantageous: pressure from OpenAI; a funding round.

Demis Hassabis, Google DeepMind. "AGI by two thousand twenty-nine— two thousand thirty, three-four years; the window narrowed over twenty-six", Axios and Google I/O, May twenty-six. What's advantageous: a leader of the research community; credibility with a cautious stance; Google doesn't need AGI hype.

Yann LeCun, AMI Labs. "The LLM paradigm won't lead to AGI; a new architecture is needed". What's advantageous: a round of about a billion in March twenty-six for an alternative path; a counter-consensus for a startup.

The pattern. Not one holds a neutral scientific position. Each forecast reflects a commercial interest or market positioning. This doesn't mean they don't believe it. It means that AGI forecasts are a market statement, not a scientific one.

When reading a top executive's interview, ask the question: "what decision does he want the market to make on the basis of this statement?" We'll return to AGI as a concept— in the final part of the course, during the synthesis of knowledge."


Sources: [1] Searle — Minds, Brains, and Programs (1980) · [2] Bostrom — Superintelligence (2014)

31 · Section 5. What to take home

Slide 31. Section 5. What to take home

"Section five of five— the finale. You and I are on the last six and a half minutes. We've gone through four sections: what is AI, where we are now, four ways to implement, boundaries. Now— the summary, the semester map, the grade formula, what's in lecture two, and Q&A."


32 · What we've covered: three main takeaways

Slide 32. What we've covered: three main takeaways

"If there's one thing worth taking away from the lecture— the main question: where AI works, where it doesn't, and how to figure that out.

Three main takeaways.

First. AI is a spectrum of technologies, not a monolith. A tool belongs to one of four types: model, chat, agent, application.

Second. Choosing the AI type is an engineering skill, and you and I have a tool— two questions plus the quadrant. Most of the rolled-back pilots didn't ask them.

Third. AI amplifies the human, but goal-setting and responsibility remain ours. All the errors we broke down— hallucinations, bias, sycophancy, drift, leaks— require human verification."


33 · Lecture 2: How modern large models work

Slide 33. Lecture 2: How modern large models work

"Lecture two— "How modern large models work". Not so as to make ML engineers out of you— but so that you understand why a model behaves the way it does.

Four concepts in Russian.

Tokens— the units into which the model cuts up the text.

Embeddings (vector representations)— the numeric addresses of tokens in the semantic space.

The attention mechanism (attention)— how the model decides which parts of the input to look at.

Temperature— the parameter of randomness in choosing the next token.

These four concepts explain the behavior of all modern LLMs— from ChatGPT to DeepSeek. With them, you and I will understand why prompts work, not just how."


34 · Questions?

Slide 34. Questions?

"That's the main part of what you and I have gone through today. Next— questions.

What's good to ask: clarifications on the implementation types; where to place your tool by the checklist; boundaries— if you've had an experience with hallucinations or a leak; the semester plan.

Who'll start?

I'll answer the most frequent one. Can you use AI right now? You can. The checklist already gives a tool.

If anything remains unclear after the session— my contacts were on the bio card slide at the start of the lecture, feel free to write.

Thank you for your attention."



Comments