What is an agent? · Tasks vs. Agents Charles Lee ·

You're not asking it
to do a thing.
You hired it.

Most people can't tell an "agent" apart from a clever request to a chatbot. The line is real, and it's not about how many steps something takes. It's about who's holding the steering wheel — and whether anyone's even in the car.

§ 01 — The confusion worth clearing up

"Summarize this" is not an agent.

Ask a chatbot to summarize an email thread and it reads, writes, done. One call. No decisions, no tools, nobody to manage. That's a task. It's useful — most of what we do with these models is tasks — but it's a vending machine. Coin in, snack out.

The word "agent" gets thrown at anything that takes more than one step, which is where the muddle starts. Multi-step isn't the dividing line. A recipe has many steps and isn't an agent. The real axis is how much judgment lives between the trigger and the action, and crucially, who pulls the trigger.

Task
You prompt → one answer."Summarize this." Zero decisions. The vending machine.
Multi-step
(reactive)
You prompt → it loops with tools → it stops and waits."Research the best pickleball shoes under $120." It searches, reads, searches again, decides when it has enough. Genuinely agentic behavior — but it's asleep until you poke it. Still a vending machine, just a smart one.
Managed
agent
Something else prompts it → it decides whether to even act.A clock ticks. A webhook fires. A condition changes. It wakes up, looks at the world, and most of the time decides to do nothing — and that choice to stay quiet is the agentic part. Now you're not driving. You're supervising.

That third row is the leap. The thing that makes it feel like an agent isn't the loop — it's that no human typed a prompt to start it. It has a job, and it shows up to do it.

§ 01¼ — Feel the difference

The same machine, three ways.

A vending machine is the cleanest picture of the whole spectrum, because you can watch the wheel change hands. Climb the levels. At each one, notice how much you do versus how much the machine does — and who decides to start.

VEND·O·MAT
--:-- READY
Insert coin to begin._
you start it
collect drink below
Level 1 — the Task. Insert the coin, pick your drink, collect it. You made every decision. This is "summarize this email": a vending machine — useful, dumb, entirely yours to drive. — like u/Philobus pasting in a message and getting text back. He sends it himself.
Watch the three vending machines in 22 seconds

First you put in a coin and choose cola. Next you put in a coin and the clock helps the machine choose coffee. Finally the machine watches on its own. It sends water when the day gets warm and waits when the glass is still half full.

§ 01½ — What it can see

An agent is only as smart as its senses.

That clock in the corner of the LCD wasn't decoration — it's the one and only thing the vending machine can perceive. The model can be brilliant, the loop can be tight, but at level 3 it's reasoning about a single sensor: the time. That's why even the agent version still feels a little thin. It only knows what hour it is.

Now imagine you bolt on more. Same model. Same loop. Same dispenser. The only thing that changes is what it can look at:

+ Weather
95°F outside, AC just kicked off.Cold drinks float to the top. A hot day reads differently than the calendar saying "3 PM" — neither sensor on its own gets it right.
+ Calendar
Sales call in 90 seconds.Suggests something portable, no foam, nothing it'll spend the next minute pouring. The clock alone says "3 PM, fine." The calendar says "you're about to be on camera."
+ Badge tap
It's you again — third visit today.Recognizes you, remembers the two coffees, doesn't push a third. Personalization isn't a feature, it's a sensor with memory attached.
+ Inventory
Iced coffee just ran out.Doesn't recommend what it can't dispense. Embarrassingly basic — also the kind of thing that distinguishes a working agent from a demo.

The model thinks. The sensors give it something to think about.

This generalizes, and it's the half of agent-building everyone underestimates. The AM you'll meet in a few sections has sensors too: renewal dates, account-health scores, news feeds, a people-signal feed for job moves. Same pattern. The clock isn't the only sensor — the clock is just the cheapest one everyone starts with.

So before you ask what should the agent do, ask what does it need to see. Half the work of a useful agent lives in that question, and most failed agent demos fail there — not in the reasoning, in the perception.

§ 01¾ — Field notes from the wild

People genuinely can't tell.

Ask a room full of enthusiastic users what they do with AI agents and almost everyone answers with chatbot use cases — brilliantly used, but chatbots. It's not a dumb mistake. The line is subtle, and people keep catching themselves mid-sentence. Three real ones, lightly edited:

"Apparently myself (and many others) misunderstood the difference between a Chatbot and an 'Agent'. A chatbot has access to a data source and responds to prompts whereas an agent takes action on your behalf."

— u/Philobus · then described a pure chatbot use case two sentences later

"90% of people in these comments don't know what an AI Agent is."

— u/wilsonifl · roughly correct

"They'll say this model's agentic.. and it's just like a web search tool. So people think normal LLMs are agentic and have no clue otherwise, because it's advertised that way everywhere by major AI companies."

— u/Jogdoffondaplg2ce · the actual root cause

So before the theory, a gut check. Here are real things real people said they use AI for. For each one, make the call: is it an agent — something that takes action on your behalf, on its own — or just a very good chatbot you act on yourself?

Agent, or Not? 0 / 0

Tap a button, or use ← / → arrow keys.

The split you just felt — most of them are chatbots — is the whole point. Genuinely useful, genuinely not agents. An agent is the rare one that does something in the world without you driving each step. Now the theory will actually stick.

§ 02 — The frame that actually works

Stop thinking "automation." Think "hiring."

The cleanest mental model isn't in any framework doc. It's this: what would a person you hired do? A human employee already is a trigger, a loop, tools, memory, and judgment all bundled together — and nobody had to explain any of that to you. So borrow it.

You don't tell a hire "at 9:00 do X, at 9:05 do Y." You give them a job and they figure out the steps.

Watch how every piece of the architecture maps onto something obvious about employing a person:

① They have a job, not a script.

"Own the renewals." They work out the steps themselves. That's goal-not-instructions — the prompt defines a role, not a procedure.

② They notice things on their own.

They don't sit frozen waiting to be poked. A request lands, they handle it; a slow afternoon, they get ahead. You don't cron a person — they have a calendar and they can see their inbox. The "trigger problem" solves itself when the employee manages their own attention.

③ They escalate.

Routine thing, they just handle it. Weird or expensive thing, they walk over and ask. The permission boundary is literally seniority — a junior checks more, a senior you trust to act.

④ They report back.

End of day: "handled 12, drafted 3 for your review, flagged one." You're not watching them work. You're getting the summary. That's supervision instead of driving.

So "managed agents" collapses into something you already know how to think about: you scoped a job, set what they can do solo versus check with you on, and they tell you what they did. All the cron-vs-webhook-vs-queue stuff is just "how does this employee know it's time to work." For a person the answer is eyes and a clock — boring plumbing we don't notice because it comes standard. For an agent you have to wire it up, but it's the same boring plumbing.

Where the analogy breaks — say this out loud

A new human hire is dumb in week one and sharp by month three. An agent is exactly as sharp every time it wakes up — it doesn't learn your accounts unless you build memory in. So it's less "hiring someone" and more "hiring someone with great instincts and total amnesia, who re-reads the same onboarding doc every morning." Which tells you something load-bearing: the onboarding doc — the prompt, the examples, the guardrails — is the employee. With a person that doc decays in relevance as they learn. With an agent, it's the whole job.

§ 03 — A worked example, deliberately not customer service

Let's hire an Account Manager.

Customer service is the easy demo — it's reactive, a ticket comes in and you answer it. Boring. A great Account Manager is a far better example because the job isn't reactive at all. An AM owns a book of business and works it proactively. They're never surprised and always early. That "always early" is exactly the thing people don't realize is now automatable.

The mediocre AM processes renewals. The amazing one is running a quiet intelligence operation on every account. So the real thesis here:

The leap isn't automating the AM's tasks. It's automating the AM's attention.

The tasks — send the renewal email, route the ticket, grant the discount — are the boring 20%. The 80% that makes a great AM great is deciding what to pay attention to: across the whole book, against the open world, over time. A chatbot can't do that. An agent with tools, memory, and its own clock can start to. Here's what a world-class AM actually does, and note how little of it is reactive:

They know before you do.

The client raised a Series B → that's an expansion conversation, not a renewal. New regulation hit their industry → proactive outreach. And the dangerous one: the champion just changed their LinkedIn headline to a new company. Your internal advocate is leaving — and you also just got a warm lead wherever they landed. One signal, two plays. None of this is in your CRM. It's out in the world.

They connect dots across the book.

Three accounts asked about the same missing feature this month → that's not three tickets, it's a product signal. A human juggling 40 accounts struggles to see it. An agent watching all of them at once is structurally good at this — a place it could plausibly beat the human, which is a more interesting claim than "it's as good as a person."

They maintain relationships, not transactions.

They schedule regular catch-ups — per person, not per account, because an account doesn't have a LinkedIn but people do. They notice 60 days of silence on a healthy account is itself a risk. They remember the client mentioned a Q3 launch and check in on it. This is where memory and proactivity compound into something a chatbot fundamentally cannot do: hold a relationship over time.

They triage the whole book every morning.

Not "is there a ticket" — but "rank my 40 accounts by risk and opportunity today, and tell me where to spend my attention." They walk in knowing the three accounts that need them today and ignore the 37 that are fine. That triage-and-prioritize move is the most senior-employee behavior there is.

Two honest flags, because this is where it gets real

Scraping LinkedIn is against their ToS and they block it hard. In a real build, "check LinkedIn" means consuming a people-intelligence feed — a CRM enrichment vendor, Clay, a sales-intel provider — not literally scraping. Which source is a swappable detail; the agent pattern is identical. In a toy, you just hand it a faked table of person-events.

And there's a privacy line. A great human AM quietly tracking a named person's job moves is normal and nobody blinks. An automated system doing it at scale reads differently, even when every fact is public. Naming that shows you've thought about where this goes — not just that it's cool.

§ 04 — Three responsibilities, three lessons

The features aren't features. They're the curriculum.

Give the AM three jobs and each one teaches a distinct, load-bearing concept. That's why this example is worth building: it covers the whole surface without feeling like a checklist.

Teaches → proactive / self-scheduled triggering

Renewals

The showpiece. No human starts it — the agent works backward from renewal dates on its own clock. 90 days out it glances, 60 it checks health, 30 it reaches out. Most accounts on most days, it does nothing. Choosing who and when is the agentic move. This is the thing that makes it an agent and not a chatbot.

Teaches → classify, route, hook external systems

Support escalation

A ticket lands and the agent decides: answer it, send to eng, jump on a churn risk, or recognize a renewal conversation in disguise — then hooks the right system (open a Linear issue, ping eng in Slack, reply). The webhook fires identically every time; the judgment is the agent. Your event-triggered counterpart to the scheduled renewals.

Teaches → permission ladder / what "managed" means

Discounts

The most important one. You'd never let a new AM hand out unlimited discounts. There's a ladder — and that ladder is the permission boundary. Without it, discounts are the scariest thing in the build. With it, they're the whole point.

And catch-ups and people-monitoring aren't two more features bolted on — they're the people layer that turns "account manager" into "relationship manager," which is what a great one actually is.

§ 04½ — Same shape, different job

Now hire one more — somewhere weirder.

The AM isn't a special case. The pattern — own a domain, watch your sensors, decide what deserves attention today, act within your authority — runs everywhere. Here's the same shape in a totally different domain, just to prove it isn't AM-flavored.

The security-checklist person.

Every company has one — or a team, or a Notion page nobody reads. Their job: make sure every employee follows the security checklist. New hire started Monday? Confirm WARP is installed. Background check submitted but not back yet? Don't grant prod. Annual training due in 7 days? Nudge. Still not done at 0 days? Nudge again, with feeling. Escalating? Loop in their manager.

Mediocre version of this job: a quarterly spreadsheet someone audits by hand. Great version: a quiet agent watching the whole company, every day, doing nothing on most days. Sound familiar?

Same three layers from the architecture you're about to see, named for this job:

Sensors
What it can perceive.HR system → new hires, terminations, role changes · MDM → is WARP running, OS up to date, disk encrypted · background-check API → status of each open check · LMS → who's completed training, who's overdue · Slack → did the nudge get an ack · calendar → is this person on PTO (don't bug them).
Reasoning
What it decides.Who's out of compliance, by what, and how overdue. Have I already nudged them today (don't be the annoying agent). Is this routine, or has it crossed into "tell their manager." New-hire week is gentle; day 30 with no WARP isn't gentle.
Actuators
What it can do.Slack DM the employee · email with a how-to link · ping the manager once it crosses the line · open an IT ticket when a check is stuck on someone else · mark complete when the sensor confirms it.

Two agents now — Account Manager and Security Compliance. Two domains, one shape. Renewal date maps to background-check status. People-signal feed maps to MDM. Discount cap maps to "can DM the employee but can't loop in their manager without my approval." Find the job at your company where someone is the human glue keeping a long-running thing on track, list the sensors it'd need, and you've found an agent-shaped hole.

Where the permission ladder gets real

"DM Chu about training" — easy, agent acts solo. "Revoke Chu's prod access for non-compliance" — never without a human approving. Security is the domain where the difference between act solo and draft and escalate stops being a design exercise and starts mattering. The ladder isn't paranoia — it's how the agent earns the right to keep its job.

§ 05 — How it actually hangs together

The architecture.

Strip the romance off and a proactive agent is a dumb trigger plus a smart body. The trigger isn't the agent any more than your alarm clock is you — it just wakes the thing up. Here's the shape:

① TRIGGERS — "the plumbing" ⏰ Clock / cron "every morning, sweep" 📨 Webhook / event "a ticket just arrived" 🔁 Self-scheduled "recheck this in 4h" ② THE BODY — "the judgment" The agent loop observe state → decide if anything matters → pick a tool & act → check result · repeat …until the goal's met (or it escalates) 🧠 Memory (the onboarding doc it re-reads every wake-up) ③ TOOLS 🔎 web / news search 👤 people-signal feed ✉️ send / draft email 🎫 open eng ticket 💸 grant discount ④ PERMISSION GATE — "seniority" within authority → act solo past the line → draft & escalate to a human ⑤ THE HUMAN You — supervising · approve escalations · read the EOD report · give feedback → memory

dumb triggers wake it · the loop decides · tools act · the gate decides solo-vs-escalate · the human supervises & feeds memory

The loop, in plain words

  1. Something wakes it. A clock, an event, or its own previously-set reminder. The least cronjobby version lets the agent set its own next wake-time — "nothing's happening, check back in 4 hours" vs. "this is hot, recheck in 5 minutes." Deciding when to care is itself an agent decision.
  2. It reads its memory. Per-account and per-person state — last contact, open tickets, sentiment, prior discounts, the relationship history. Without this it has no relationship, and an AM with no memory is just a mail merge.
  3. It goes and gets fresh signal. Web/news search on the company; the people-signal feed for job moves and promotions. This is the part that reaches into the actual world, not the database.
  4. It thinks. Fuse account risk with people events — champion-left on a renewal-due account = top of the list — and rank the whole book by where attention should go today.
  5. It acts — within the gate. Clear-cut and within authority: auto-send the renewal, grant the small discount, route the ticket. Past the line: draft it and escalate.
  6. It reports back. End-of-day summary of what it did, drafted, and flagged. (Note: that report is itself just a humble cron job — the reactive work is event-driven, the reporting is scheduled. Both, each doing what it's good at.)

The permission ladder, concretely

This is what "managed" means. It's a seniority ladder, and it makes the abstract idea of guardrails completely obvious:

Discount
Situation
Authority
≤ 10%
Routine retention, healthy account
acts solo
10–20%
At-risk account, bigger ask
drafts → you approve
> 20%
Strategic / unusual terms
deal desk / human only

The data model is the whole upgrade

Two tables turn "account bot" into "relationship manager":

accounts: renewal_date plan · usage_trend health · discount_history people: name · role → account_id relationship_strength last_real_contact · cadence recent_signals[]

An account doesn't have a LinkedIn. People do. The moment people are first-class, both "schedule catch-ups" and "watch for job moves" fall out for free — they're the same move, the agent maintaining a relationship graph instead of an account row.

§ 06 — Build it as a toy first

Everything fake, everything inspectable.

For a 101, in-process and observable beats deployed every time. The entire pedagogical value is that you can watch the judgment happen. So:

  1. A now() you control. Advance the clock one day at a time and watch the renewal logic fire. Simulating a date approaching is trivial.
  2. An accounts table and a people table you can edit by hand. The memory, in plain JSON or a single DB file.
  3. A stubbed people-signal feed. A little table of events — champion_left, promoted, new_hire — standing in for the LinkedIn/enrichment layer.
  4. Real web search for company news. This one you don't fake — let it actually go find that a real, public company raised a round, and watch it change its plan. The bit that reaches into the real world lands hardest.
  5. The LLM does the judgment. The sweep, the scoring, the per-person catch-up drafting.
  6. Tools are logged stubs. "send email," "open ticket," "grant discount," "escalate" just log what they would do. You read the log and see the decisions.

One screen. You press "advance one day" and watch your AM think: account #12 is fine, skip it. Account #7's champion just left and there's a renewal in 90 days — draft a re-engagement play, flag it for you. Account #3 is renewal-due and happy — auto-send the standard renewal. The boring actions become the output of the interesting thinking, instead of being the whole thing.

Keep it honest

Real fund-subscription account management is high-stakes, compliance-heavy, LP/GP relationship work. Frame this explicitly as a toy that teaches the agent pattern — not a thing you'd point at real clients. That framing is free and it keeps the whole thing clean.

§ 06½ — The toy, running

Press "advance one day." Watch it stay quiet.

Below is exactly the toy described above, simulated in your browser. Forty accounts, a stubbed people-feed, a fake clock. The "AM" is just deterministic judgment standing in for an LLM — but the pattern is real: it wakes up, looks at everything, decides whether anything deserves attention today, and either acts (within its authority), escalates to you, or — most days — does nothing.

Hold "Run 30 days" and watch the action log fill slowly. That gap between how often it works and how rarely it acts is the entire point.

Today Day 1 — Mon, Jun 1
0account-days swept
0acted on
The Book — 40 accounts ○ idle · ● scanning · ● flagged today
Today's Diary what the AM thought
Press Advance 1 day to start the AM's first day.
Action Log — what it actually did empty — most days it does nothing
No actions yet. The AM is on the clock.
The AM is on the clock. It runs a daily sweep across the whole book — 40 accounts — and looks at three things for each: renewal proximity, account health, and any fresh people-signals (a champion leaving, a promotion, a job change). Hit advance and watch what gets surfaced. Most days, almost nothing. — scheduled trigger · fake LLM · stub tools · all in your browser
The moment that sells it

Run 30 days. Notice: 1,200 account-checks, maybe 8 actions, maybe 2 escalations. That gap — between how often it woke up and how rarely it acted — is the entire difference between an agent and a chatbot, made visible. A chatbot does 100% of the work it's asked. An agent decides how much work even needs doing. That's the "oh, that's where this goes" beat.

⚠ Escalation — needs your sign-off Day —

—

—
—
Drafted by AM—
§ 06¾ — Wire it yourself

Same brain. Your wiring.

The toy above showed what a wired-up AM agent does. This shows you what the wiring is. Click an empty slot, pick something from the palette. Wires draw themselves. Hit ▶ Run a tick and watch a real event flow through the graph you built.

Most agent tutorials lead with cron and webhook and the whole thing feels like plumbing. It's not. A trigger is anything that changes in the world. A wearable. A door sensor. An energy price. A champion's job title on LinkedIn. The palette below is a buffet — most options have nothing to do with account management, on purpose. Same brain, swap the trigger, completely different employee.

Agent Builder · live
🔔 Triggers — what wakes it up
🧠
The Brain
decides what to do
🛠 Tools — what it can do
click an empty slot, then pick something from the palette below — or load a preset and hit ▶
Palette — click a slot first ↑
Try this

Hit ↺ Clear, then build an Anniversary Agent: drop "7 days before anniversary" in a trigger slot, "Place an order" and "Send email" in tool slots. Hit ▶. Same brain. Totally different employee — and notice "Place an order" lights up gold because it's a gated tool. Above the spend threshold it'll draft instead of just charging your card.

Or try wiring an HRV+Sleep Wellness Agent with just two triggers (sleep score < 60, HRV spike) and one tool (push you a reminder). Run it five times. Same brain reads the signals differently and writes different reminders — the judgment lives in the brain, not in your wiring.

The leap from this toy to real code is small. Each node maps to a real construct: triggers are functions registered with a scheduler or webhook handler, tools are function definitions handed to the LLM, the gate is a permission check before the tool fires. In a real implementation each card would have a second tab — Behavior | Code — showing the actual snippet: cron('0 9 * * *', () => agent.run()) on the trigger, tools.sendEmail({to, subject, body}) on the tool. The wiring you just did is the architecture. Wrap each node in real code and you have the agent.

§ 07 — The one thing to remember

It's an employee you onboard with a prompt.

A task is a vending machine. An agent is a hire: you scope its job, set what it can do alone versus escalate, give it memory so it holds a relationship over time, let it manage its own attention — and it reports back. The interesting design questions aren't technical (cron? webhook? queue?). They're management questions: how much do you trust it unsupervised, where's the line it has to ask, what does the end-of-day report look like, how does your feedback make it better next week.

You already know how to think about those. You've managed people.

The trigger is plumbing. The agent is the judgment between trigger and action — and the most advanced version decides, on its own, when to care.