Anthropic put out a guide to building always-on agents on November 13. An always-on agent isn't one you chat with. It runs in the background, sleeps most of the time, and wakes up when something happens: a new ticket, a failed build, a message. The guide builds it from five parts: an inbox for events, timers, memory, permissions and an outbox. That's close to what I'd ended up with on my own, and I think everyone should be running agents this way.
Count two things first
Before you switch, count two things: how often the agent stops and waits for you, and what it actually ships.
I count both, and the first number is what started all of this. Over the six weeks from September 27 to November 7, my typed messages broke down like this:
- 58.6% came right after an agent had asked me something: a question, or a request to confirm.
- About 27% started new work.
- About 10% told a stalled session to resume.
- The rest pasted in a log, a link or a screenshot.
Between my messages, the agent had usually worked for under two minutes. My median answer was 46 characters long, and the typical ones were "yup", "done" and "hey continue". I call that job being a meat proxy. The agent does the thinking and the typing, and I'm the person in the loop who says yes.
The higher the share of messages sent right after an agent's question, the more of my day goes to being a meat proxy. It can't go to zero, because some questions only I can answer: what I meant, or whether to take a step that can't be undone. So I set myself a goal of 40% or less, and on November 8 I changed the rules my agents follow to get there. In the week of November 15:
- The share fell to 34.8%, under the goal of 40%. The drop wasn't gradual: every week before November 8 sat between 54% and 61%, and both weeks since have sat between 32% and 35%.
- The number of messages sent right after a question didn't fall. I sent about 428 that week, against 340 in the first week of November, because I was typing far more of everything.
- More of my typing started work instead of unblocking it. Messages starting new work went from 27% of my messages over the six weeks before to 42% that week.
- Output went up. My agents together shipped about 184 things a day, against 116 a day over the six weeks before. A thing is a merged pull request, a code review, a written finding (a doc, ticket or Slack answer someone can reuse) or an approved deploy or infrastructure command.
27Oct
4Oct
11Oct
18Oct
25Nov
1Nov
8Nov
15
Show the numbers as a table
| Week of | Sent right after an agent's question | Messages typed |
|---|---|---|
| Sep 27 | 57.8% | 161 |
| Oct 4 | 60.3% | 232 |
| Oct 11 | 60.8% | 423 |
| Oct 18 | 60.5% | 765 |
| Oct 25 | 59.0% | 846 |
| Nov 1 | 54.1% | 629 |
| Nov 8 | 32.6% | 869 |
| Nov 15 | 34.8% | 1,229 |
Weeks start on Sunday. Bars start at zero. Source: my own session transcripts and GitHub, measured 2026-11-23.
The guide gets the architecture right. It leaves two choices to you, though, and both are easy to get wrong. The first is how events reach the agent, which drives your token bill. The second is what the agent shows you when it needs permission, which decides how often you end up as the meat proxy.
How events reach the agent
There are three ways to get an event to an agent that runs inside your network:
- Webhook. GitHub or Jira calls a public URL on your side whenever something happens. This is the guide's default: the handler is "usually an HTTP endpoint". A public URL is a door into your network, and someone has to authenticate it and keep it patched.
- Cron. A timer wakes the agent every few minutes to check whether anything happened. If the model runs on each check, every empty check still costs a model call. To get webhook-like speed you'd have to check every few seconds, and that burns a lot of tokens on checks that find nothing. (To be fair to the guide, its own scheduler checks a database table without calling the model, which costs almost nothing. The expensive version wakes the model every time, and that's the one people build at home.)
- Push over a WebSocket the agent opens. The agent dials out to the service, the same way your browser does, and keeps the connection open. Events arrive on that connection, so nothing in your network has to accept incoming traffic. Slack calls this Socket Mode. Under the hood the connection is a WebSocket: an ordinary HTTPS request that both sides agree to keep open, so the server can send a message down it at any moment.
Why push over a WebSocket beats the other two. A webhook is fast but leaves a door open. Cron keeps the door shut but is slow, and it pays for every empty check. Push over a WebSocket is the only one of the three that gets all of it right:
| Webhook | Cron, model on each check | Push over a WebSocket | |
|---|---|---|---|
| A public URL someone has to secure and patch | Yes | No | No |
| Delay before the agent sees an event | None | Up to one check interval | None |
| Model calls while nothing is happening | None | One per check | None |
| Works from a laptop behind a home router | No | Yes | Yes |
So push over a WebSocket is as fast as a webhook, as closed as cron, and free while it waits. Every event also arrives on the same connection, and the agent authenticates once, with a token, when it dials out.
I use push over a WebSocket. A small Go program holds one Socket Mode connection to Slack and passes whatever arrives to a Claude Code session.
I went looking for other tools that offer push over a WebSocket, in the docs of the tools an agent would take work from inside a company. As of November 2026:
- Push over a WebSocket: Slack was the only one I found.
- Public HTTPS endpoint only: GitHub, GitLab, Jira, Confluence, Linear and Microsoft Teams bots. GitHub does ship a tool that forwards webhooks to your machine, but its docs say that tool isn't supported in production.
- A cloud queue the agent reads by dialing out: PagerDuty and Okta into Amazon EventBridge, Sentry into Amazon SQS.
For everything else, I use Slack as the middleman:
- Each tool posts into one Slack channel, through its own Slack app or a Slack incoming webhook. I point GitHub and Linear there.
- The agent reads that channel over the Socket Mode connection it already holds. Slack receives the webhooks, so the agent still accepts no incoming traffic.
- The Slack message is only a notification, not the full event, so the agent calls the tool's API for the details.
If a tool can't post to Slack, send its webhook to a small relay service outside your network and have the agent dial the relay. The relay is then the one public endpoint you have to keep patched.
What the agent asks you
The second choice is what happens when the agent wants to do something risky. The guide's answer is to defer it: the agent's run ends, the request goes to a person, and the answer comes back later as a new event. That frees the agent, which is good. But the guide doesn't say what the request should contain, and a bare "run this?" gets a bare "yup". That's how my median answer got down to 46 characters.
Queuing risky commands for later can sound like ceremony. I needed it because an agent running on its own that reaches a deploy has two obvious moves, and both are bad. It can stop and ask me, which is the loop I measured above: a minute or two of work, then a question, then "yup". Or it can run the deploy itself, and then nobody looked at a production change before it happened. The guide says runs are built that way: "A run holds the user's access and, by design, operates unattended."
The guide's deferral is the right third move, and I use it. What I added is a note that every deferred command must carry, so a person can decide without working it out from scratch. I call the result an airlock: a command waits between two doors, the agent can put it in, and only I can let it out. Without it, a question in the chat works like a breakpoint. The agent works one step after another, and when it asks, every step after the question waits for me.
The airlock takes the question out of that line. My agents run sandboxed, with no permission to deploy or to write to a shared environment. When an agent reaches one of those steps, it puts the command in a queue with a note attached and carries on with whatever doesn't depend on the result. I go through the queue in another terminal when I get to it, and nothing runs until I approve it.
The agent also knows what to do with each answer, which is what lets it keep going without me:
- Approved: the command runs, and the agent reads the output.
- Rejected: I give a reason, and the agent acts on the reason instead of trying a slightly different command.
- Expired: nobody looked within a day, and the agent queues the command again if it still matters.
That gets me two things. The agent doesn't stop, so a risky step no longer pulls me in mid-task. And when I do look, the thinking has already been done. A bare question in the chat hands me a command and leaves me to work out what it touches, and mostly I didn't bother, which is what "yup" means. The note has to say what the command changes, what else it affects and how to undo it, so I'm making a decision instead of passing along a yes.
The undo line does most of the work. The agent has to write down the exact command that reverses the change, or else the words "cannot be undone". Writing that line is how the agent finds out a step can't be reversed, before I have to.
I can't tell you how much of the drop came from the airlock. Sending risky commands to the airlock became a rule on November 8, together with two blunter rules for the agents: don't stop until the work is done, and make any reversible decision yourself. My numbers can't separate the three. And a queue only moves the question somewhere else. If I approve down the list without reading, I'm the same meat proxy in a different terminal. The only fix I know is making fewer commands need my approval in the first place.
Lauren Tan made the same point in her AI Engineer talk: automate a sloppy coding loop and all you get is more slop. An always-on agent is that loop running without you watching. If the agent can't check its own work, it has to ask you to check it, and you're the meat proxy again. Get the software engineering foundations right first: tests the agent can run, and checks it can't argue its way past. Then count the questions.
