Summary note: This is a summary of 宝玉 Dotey’s (@dotey) November 14, 2026 X post, not a reprint of the original. The post introduces Anthropic’s November 13 guide “Building always-on agents” by William Hu, and this article follows the guide’s content. Original link: https://x.com/dotey/status/2121406975279792268
Note: The post was published on November 14 at 8:56 AM (the page does not state a timezone); at the time of checking (November 16, ~09:05) it showed 32,597 views, 360 likes, 43 reposts and 420 bookmarks. The post includes two videos (the first is 5:03 long); the spoken content of the videos is not in the post text and has not been transcribed here. Figures and model names are from the guide and the author’s own account and have not been independently verified.
An always-on AI assistant watches your email, waits for replies and reminds you on schedule. But it actually spends most of its time asleep: it does not call the model, and it does not spend money. Anthropic has just published a guide that takes this kind of “always-on” agent apart: how it wakes up, whether two events arriving at once will collide, why memory should stay lean, how important matters wait for your decision, and why it is best to start quiet.
The core point first: it is not actually running all the time
The guide opens by correcting a misconception: “always-on” only describes the user experience. In reality the agent is asleep almost all the time. Each stretch of work is a run: it receives an event, wakes up to complete its task, saves what happened, and goes back to sleep. The core loop is the same as for other agents; what differs is the architecture around it — what controls when the agent wakes, what carries over between runs, and how work reaches the user.
There are two reasons this is worth building now: models have better judgment, and the cost of long-horizon tasks has come down. The guide’s figure is that on a long-horizon coding benchmark, Opus 5.5 costs 78% less per solved task than Opus 5, and 40% less on typical workloads.
The five parts
The guide breaks a persistent agent into five primitives: an event inbox, timers, memory, permissions and an outbox.
1. Event inbox: every trigger queues first
Do not call the agent directly. Every trigger source writes its event into an inbox, where a worker picks it up. The inbox is the source of truth, with a few rules:
- Only one active worker at a time, so two runs never duplicate or overwrite each other;
- The handler should acknowledge events quickly;
- The worker should batch pending events;
- Deduplicate using the unique ID the event’s source provides.
That way, even if two events arrive at the same moment, they do not spawn two runs that fight each other; a run that crashes midway leaves its event for the next run to retry.
2. Timers: letting it act without being asked
Timers fall into two categories: follow-ups, such as checking on a pending user reply, and schedules, such as sending a daily briefing. Both live in their own durable store, usually another database table, separate from the inbox.
The key detail is that a timer does not start a run on its own. A scheduler — often a background service — polls the store at a fixed interval: a due follow-up is marked done, a schedule gets its next due time, and the due item is added to the inbox as an event, which wakes the worker. You can build your own scheduler or use a durable execution engine.
3. Memory: keep only what the agent cannot look up again
Because runs are disjointed, memory carries the continuity. In Anthropic’s own products — Claude Code’s auto memory and the Messages API’s memory tool — memory is implemented as a directory of files; for an always-on agent those directories should map to durable storage, usually a database or an object store, so memories outlive any single worker.
The rule of thumb: memory should only hold what the agent cannot look up again. If something already lives in another system, such as an issue tracker, save a pointer instead.
The guide distinguishes four kinds of memory written during a run:
- User instructions about agent behavior, saved in their own file and loaded at the start of every run;
- Notes about the user’s role, preferences or corrections;
- Summaries of past messages, so the agent does not repeat itself;
- For each ongoing task, a progress file so the next run can continue where the last one left off.
There is also an optional practice called “dreaming”: reviewing past sessions to curate memories and find patterns that only appear across many runs.
There is one more cost to account for: before doing any work, the agent loads the system prompt, tool definitions and memory files, and this initial context overhead is included in every run. So the guide recommends keeping it lean and using prompt caching. If a session becomes too long, you can compact older messages or start a new session — but both approaches lose detail, so anything that needs to persist should be saved to memory along the way.
4. Permissions: where the risk is greatest
The guide’s bluntest line is that permissions are where always-on agents carry the most risk. A run holds the user’s access and, by design, operates unattended. For each tool call the agent needs to decide whether to proceed on its own, block the call, or wait for approval.
How credentials are handled is the key point: use a proxy outside the agent’s environment that adds credentials to outgoing requests. The agent itself sends requests without those credentials — it never holds the keys at all.
As a precedent for unattended work, the guide points to auto mode in Claude Code: classifiers review higher-risk actions and block those they identify as dangerous, so Claude can find a safer approach; the most important decisions still need human review.
A hook can also defer a tool call and wait for additional input: the run ends, the session is saved mid-call, the request is shown to the user (for example through an interactive card built with MCP Apps), and the answer returns as an event in the inbox. While the deferred call waits, the worker can pick up other events, so the agent is not blocked.
5. Outbox: deciding when it speaks
Unlike typical chat agents, whose responses are streamed as they are generated, always-on agents do most of their work in the background. The user gets the outcome and a few details, rather than the entire step-by-step breakdown.
A run ends in one of three ways: with a message to the outbox, with a decision that nothing needs to be sent, or with a deferred tool call asking for permission or more input. A formal outbox is mainly needed when you want to pace messages or recover from errors.
The guide recommends building evals to find the right volume of messages and, in practice, starting quiet and then earning more of the user’s attention over time — rather than flooding them with notifications from day one.
Not a new product: decide the rules before you build
Note that this guide is not a new Claude product, and it does not replace the November 13 articles on Claude Meetings or self-hosted Managed Agents. It is most useful if you are building your own agents or want existing workflows to keep running unattended.
Before such an agent touches company data, the guide recommends deciding the inbox, the memory location, the credential proxy and the list of steps that need human approval — not only after the first run goes wrong. For personal data, a legal basis, a processing agreement and access control remain prerequisites, however elegant the architecture description is.
Written by

