Blog ·
Always-on AI agents: what they are and the five parts that make them work
14 min read
An always-on AI agent is an autonomous agent that works even when you are not writing to it. It remembers what happened in earlier sessions and acts without someone following it step by step. Anthropic, the company that develops Claude, published a guide on how to build one on November 13, 2026: the same engine as other agents, with five parts around it.
Most AI agents start when you send them a message. An always-on agent also starts because another program sent it a notice, or because of a deadline it set for itself. That is why it pays to know what you let it do while you are not looking.
What you find here comes from Anthropic's guide and from the Claude documentation. To make the parts concrete I use an invented example: an agent that follows the leads coming in from your campaigns. It is not a product on sale, it is only there to help you understand. If you do not write code, at the end you will find the questions to ask anyone who offers you one.
I also covered it in a video of under three minutes on my YouTube channel, in Italian: Agenti AI sempre attivi: cosa sono gli Always-On Agents.
What is an always-on AI agent?
Anthropic defines it with two words. It is stateful, meaning it manages context across sessions. And it is proactive, meaning it takes actions without direct supervision.
The engine is the same as in other agents: a model that reasons and uses tools. What changes is what sits around it. The table shows the two differences you can see from the outside.
| On-demand agent | Always-on agent | |
|---|---|---|
| What starts it | A message from you | An event: a message, a webhook, a timer, a finished job |
| How you see the work | The answer streams while it is written | It works in the background and you get the outcome |
Is an always-on agent really always on?
No. An always-on agent does not stay switched on all the time: "always on" describes what you see. In reality it spends most of its time asleep and wakes up now and then to do work, when an event arrives or a timer is due.
Each stretch of work is called a run. In a run the agent receives an event, completes its task and saves information about what happened. A run works inside a session, which is the transcript of messages and tool calls. When the run is finished the agent goes back to sleep, and the cycle repeats indefinitely.
While it is asleep it spends no tokens.
Why are always-on AI agents being discussed now?
Because recent models have made always-on AI agents more practical to run. Anthropic gives two reasons: models judge better when to act and when to check in, and intelligence costs less, above all on long tasks.
The first is judgment. Models are more reliable at understanding what the person wants and at knowing when to check in.
The second is cost. Intelligence is getting cheaper, and long tasks benefit the most. The figure Anthropic gives comes from a long-horizon coding benchmark: Opus 5.5 cost 78% less than Opus 5 per solved task, compared with 40% less on typical workloads. These are Anthropic's figures on its own models, written in the guide of November 13, 2026.
Anthropic adds that customers have started asking how to bring this kind of experience into their own products.
How does an always-on AI agent work?
With five parts built around the model: the event inbox, timers, memory, permissions and the outbox. Anthropic calls them primitives. The table shows what each one is for and how you would see it in the leads example.
| Part | What it is for | In the leads example |
|---|---|---|
| Event inbox | It collects everything that can wake the agent | A new lead arrives from the form |
| Timers | They start the agent at a deadline | The Monday morning summary |
| Memory | It keeps the thread between one run and the next | It knows which leads it has already reported to you |
| Permissions | They decide what it can do on its own | It reads the CRM, but asks you before writing to a customer |
| Outbox | It brings the result of the work to you | One summary in place of twenty notifications |
The event inbox: what wakes the agent?
An always-on agent can start because of many kinds of events: a message from you, a webhook, a scheduled task, a background job that has finished. A webhook is the notice another piece of software sends when something happens.
The shortest route would be to let every source call the agent directly. Anthropic advises against it and gives two examples. Two events arriving at the same moment can start two competing runs. And if the system crashes, an event can be lost entirely.
So every source writes to an inbox, and a worker picks the events up from there. The simplest version has three components.
| Component | What it usually is | What it does |
|---|---|---|
| List of events | A database table | It keeps each event with its status |
| Handler | A web address that receives data | It writes the event to the list and wakes the worker |
| Worker | A service running in the background | It reads the pending events and starts the run |
When the run finishes, the worker marks the events as done. Events that continue earlier work, such as a reply from you, resume the previous session. Everything else opens a new one.
Anthropic gives four practical rules:
- The handler should acknowledge the event quickly, because some sources treat a slow response as a failure. Heavier checks are done during the run. One of them is the check for instructions hidden inside a message (prompt injection).
- The inbox is the source of truth. If the worker stops halfway, another one finds the same event and retries.
- An inbox has only one active worker at a time. That way two runs do not do the same work twice and do not overwrite each other.
- The worker batches pending events. If you send several messages in a row it merges them into a single run, and the agent replies once.
In the example, on Friday evening two leads arrive a few seconds apart. Without an inbox two runs could start together. With the inbox the worker finds both pending and handles them in a single run.
Timers: how does it act on its own?
With saved deadlines. Anthropic separates two kinds. A follow-up is a deadline the agent sets for itself, such as checking whether a reply has come in. A schedule is a task that repeats on a known cadence, such as a daily newsletter.
Timers live in a table of their own, separate from the inbox. The inbox should hold only events that are ready to be worked on.
A timer does not start a run by itself. A scheduler, usually a background service, checks the table at a fixed interval. When it finds a timer that is due it updates it, adds an event to the inbox and wakes the worker. A follow-up is marked as done, a schedule is moved to its next occurrence.
In the example, the follow-up is "in two days check whether the lead has been called back". The schedule is the summary every Monday at 9.
Memory: how does it remember?
With a memory that lives outside the single run. An always-on agent works across many disjointed runs, and memory is what keeps continuity.
In Anthropic's products memory is a directory of files. For an always-on agent the directory should sit in durable storage, so memories outlive the worker.
The rule of thumb: memory should hold only what the agent cannot look up again. If a piece of information already lives in another system, you save a pointer to it.
| What it remembers | What it holds | When it reads it |
|---|---|---|
| Your instructions | How you want it to behave | At the start of every run |
| Notes about you | Role and preferences, plus the corrections you have given it | An index at the start, single files when needed |
| Messages already sent | What it has already told you, so nothing is repeated | At the start of every run |
| Task progress | For each open task, what is done and what is left | An index at the start, single files when needed |
Then there is what Anthropic calls dreaming. It is a review of past sessions that curates memories: it replaces outdated entries and finds patterns that only show up across many runs.
Memory also has a cost. Everything the agent loads before it starts, memory included, is repeated in every run. Anthropic recommends keeping it lean.
In the example, the lead's details stay in the CRM. Memory holds only where to find them and how far the case has got.
Permissions: what can it do without asking you?
It depends on how they are set up, and this is where an always-on agent carries the most risk. Anthropic writes it plainly: a run holds your access and works with nobody watching.
At each action the agent can proceed on its own or stop. It stops in two cases: the action is blocked, or it needs your approval. The components are the same ones other agents use.
| Component | What it does |
|---|---|
| Credential store | Passwords and tokens stay outside the agent's environment. A proxy adds them to outgoing requests |
| Auto mode | Classifiers review higher-risk actions and block the ones they judge dangerous |
| Deferred tool calls | The action stays on hold until you answer |
A deferred call works like this. The run ends and the session is saved mid-call. The request is shown to you, and your answer comes back into the inbox as an event. That event starts a new run, which resumes the session from where it stopped. In the meantime the worker can pick up other events, so the agent is not stuck waiting for you.
Anthropic notes that for the most important decisions a person's review is still necessary.
I saw a block of this kind when I connected Claude to my advertising account. Claude Code was working in automatic mode, and a safety check stopped the agent before the ad set. I described it in I gave Claude the keys to my Meta Ads account.
In the example, the agent reads the leads on its own. To send an email to a customer or touch a campaign budget it stops and asks you.
The outbox: how does the work reach you?
With a message when the work is done. With most agents the answer streams on screen while it is being written. An always-on agent does most of its work in the background: you get the outcome and a few details, without every step.
A run can end in three ways.
| How it ends | What happens |
|---|---|
| With a message | The agent sends it to the outbox |
| In silence | The agent decides nothing needs to be sent |
| With a request | A deferred call asks for your permission or for more input |
The outbox is a table of messages to deliver, the mirror image of the event inbox. It is run by a dispatcher, a background service that reads the pending messages and decides which ones to deliver to you.
It is not always needed. Anthropic writes that most always-on agents can get by with a tool that sends the message directly. A formal outbox is worth it when you want to pace the agent's messages or let the agent recover from an error.
Then there is volume. An agent that sends too much becomes noise, one that sends too little makes you miss things you needed to know. To find the balance Anthropic recommends measuring it with evals. And in practice, it writes, it is better for the agent to start quiet and earn more of your attention over time.
How do the five parts of an always-on agent work together?
In a loop that starts from the event inbox every time. An event wakes the agent, which reads its memory and works within its permissions. At the end the result goes through the outbox and reaches you. There are five steps:
- An event enters the inbox, for example a message from you or a timer that is due.
- The worker picks up the event, starts a run and wakes the agent in a new session or an existing one.
- The agent reads its memory to see where to pick up.
- It works within its permissions, then writes what it has learned to memory.
- When the run is over it writes a message to the outbox, and the dispatcher delivers it to you.
The loop closes in two ways. If you reply to the message, your answer goes back into the inbox as an event. And a run can set a timer that will wake the agent later.
Each run is brief. The cycle never stops, though, and that is what makes the agent feel always on.
To build an always-on AI agent, do you have to build everything from scratch?
No, not everything. If you want to build AI agents with Claude, part of it is ready. Anthropic has a service, Claude Managed Agents, that provides the infrastructure for running Claude as an autonomous agent. The diagram that closes the guide splits the parts like this.
| Part | With Claude Managed Agents |
|---|---|
| Schedules | Built in |
| Memory | Built in |
| Permissions | Built in |
| Session and run | Built in |
| Follow-ups the agent sets for itself | You build it |
| Event inbox | You build it |
| Outbox | You build it |
Schedules there are called scheduled deployments. You define the cadence with a cron expression and a time zone, and the agent starts sessions on its own. As of December 1, 2026 the documentation lists them in beta. In Anthropic's diagram a schedule of this kind starts the session directly, without going through the inbox.
It is a tool for developers: you use it through the Claude API.
What should you ask before handing a job to an always-on agent?
The things the five parts are there to guarantee. It applies if a supplier builds it for you and it applies if you buy a ready-made product. There are six questions:
- What wakes it? Get the list of events and deadlines.
- What happens if two events arrive together, or if the system crashes halfway through the work? The answer you are looking for is an inbox, with one active worker at a time.
- What does it remember, and where is it written? Ask whether the memory can be read and corrected.
- Where are passwords and access keys kept? The pattern Anthropic recommends keeps them outside the agent's environment.
- Which actions does it take on its own and which wait for your yes? Get the list before you connect it to an account that spends money.
- How many messages does it send you, and who decides which ones? Better to start with few.
Read also
More notes on agents and artificial intelligence in marketing work:
Sign up to the newsletter… it is free
When I write something worth reading, I send it to you.
Meta Ads Expert & Growth Strategist · Meta Business Partner. 15+ years running Meta campaigns. €52M+ in revenue generated for clients.
Book a free consultation