AI agency: how an autonomous agent differs from a regular program or script
A deterministic script does exactly what it's told. If a website changes its layout or the topic shifts, the script either breaks or fails to notice the change. An AI agent works differently. Give it a task like "track topic X and send me the important stuff in the evening," and it decides for itself where to look, how to filter what it finds, and what counts as significant today. If there's no news, it says so honestly.
AI-processed from Habr AI; edited by Hamidun News
The key difference between an AI agent and a regular program isn't how complex the code is. It's who makes the decisions. A deterministic script does exactly what the programmer wrote, while an agent decides for itself where to look for information, how to filter it, and what counts as important today.
How a script differs from an agent
A classic deterministic algorithm follows a rigid script. A programmer writes code that visits three specific websites, pulls headlines from particular HTML blocks, stitches them together, and sends them to a recipient. As long as the sites keep their structure, the script works fine. But once one of them changes its layout, the script breaks: it expects data in a specific spot on the page and has no other way to find it. And if the topic it's supposed to track shifts, the script simply won't notice. It does exactly what it was told and not one step more, because all of its behavior is fixed in the code ahead of time.
An AI agent works on fundamentally different principles. The user describes the task in plain language, for example: "track topic X, pick out the most important items, send them in the evening." From there, the agent decides where to find sources, how to select and filter information, and what counts as significant today, based on context rather than a hardcoded list of conditions. If one of the sites it monitors changes its structure, the agent adapts instead of crashing with an error, because it isn't tied to specific HTML markup — it understands what the page actually says.
How an agent behaves when there's no news
The edge case is telling: what happens when no relevant news shows up at all. A deterministic script will either send an empty template or break as well, because there's no "nothing found" scenario — the programmer never wrote that branch of logic. In the same situation, an AI agent can honestly report that nothing significant happened on the topic, instead of going through the motions for their own sake and sending a meaningless empty message.
- Deterministic script: a hardcoded scenario with specific sites, specific HTML blocks, and no autonomy
- AI agent: receives a task in plain language and decides for itself where to look and what counts as important
- When a site's layout changes, the script breaks, while the agent adapts to the new page structure
- If there's no news, the agent says so honestly instead of sending out an empty template just to check a box
This difference isn't a technical detail — it changes the very model of automation. Previously, the only way to extend a program was to add yet another branch of conditions for every new case the programmer could think of. An agent instead relies on understanding the task and its context, so new situations don't require rewriting code. The agent simply reasons about them the way a person given the same job would.
Why this isn't just a matter of terminology
In recent years, "agent" has become a trendy label that marketers often slap on ordinary scripts with a few conditional branches. The distinction described here helps separate real agency from nice packaging. If a system's behavior is fully predictable and rigidly defined in advance, it's a tool, no matter how sophisticated the code. If the system makes its own decisions within the scope of a task and adapts to new conditions without code rewrites, it's an agent in the full sense of the word.
What this means
The difference between a tool and a worker is the difference between "do what I spelled out step by step" and "do what needs to be done, even if conditions have changed." This ability to make independent decisions within a task is what we call agency, and it's what makes AI agents practical in places that used to require a human watching for exceptions and unusual situations.
- Nov 2, 2026Karpathy builds a YouTube clone with 6454 videos from Hacker News recommendations in two hours
- Nov 2, 2026Karpathy used Claude to build HackerTube from 6,454 videos recommended on Hacker News
- Nov 2, 2026Arca gives AI agents finance tasks lasting up to 10 days, but leaves the trades to humans
- Nov 2, 2026DeepSeek open-sources Super-agent prototype: p95 task completion time of 15.7 minutes vs. 29.5
Key Questions Answered
How a script differs from an agent?
A classic deterministic algorithm follows a rigid script. A programmer writes code that visits three specific websites, pulls headlines from particular HTML blocks, stitches them together, and sends them to a recipient. As long as the sites keep their structure, the script works fine. But once one of them changes its layout, the script breaks: it expects data in a specific spot on the page and has no other way to find it. And if the topic it's supposed to track shifts, the script simply won't notice. It does exactly what it was told and not one step more, because all of its
How an agent behaves when there's no news?
The edge case is telling: what happens when no relevant news shows up at all. A deterministic script will either send an empty template or break as well, because there's no "nothing found" scenario — the programmer never wrote that branch of logic. In the same situation, an AI agent can honestly report that nothing significant happened on the topic, instead of going through the motions for their own sake and sending a meaningless empty message. Deterministic script: a hardcoded scenario with specific sites, specific HTML blocks, and no autonomy AI agent: receives a task in
Why this isn't just a matter of terminology?
In recent years, "agent" has become a trendy label that marketers often slap on ordinary scripts with a few conditional branches. The distinction described here helps separate real agency from nice packaging. If a system's behavior is fully predictable and rigidly defined in advance, it's a tool, no matter how sophisticated the code. If the system makes its own decisions within the scope of a task and adapts to new conditions without code rewrites, it's an agent in the full sense of the word.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
The AI world, distilled — once a week
Seven stories that actually mattered, hand-picked. No noise, no reposts, no press releases.
Done! Check your inbox for a confirmation.