Blog

AI & technology

The Five Parts of an Always-On Agent, and What We Built From Each

Anthropic published a design for agents that keep working when nobody is watching: an inbox, timers, memory, permissions and an outbox. We read it against a mailbox tool we already had, built the missing parts in a day, and wrote down where ours still falls short.

· Sandon Jurowski

Share𝕏⬡inYf✉

Most coding agents work while you watch. You type, the agent works, you read the result. An always-on agent is different: something happens while you are away, and the agent deals with it.

On November 13, 2026, Anthropic published Building always-on agents. It names five parts such an agent needs. We already had a small open-source mailbox for coding sessions, jq-crosstalk, so we read the article against it, part by part, and built what was missing.

This post goes through the five parts. For each one it gives what the article says, what we built, and where ours falls short. Every quoted sentence is word for word from that article, read on November 23, 2026. Everything else is ours.

One pass of the worker

Deliver timers that are due
Resume runs a person has answered
Start one run per thread with new mail
Record how each run ended

1. An inbox

The article's first idea is that nothing calls the agent directly.

"Instead of calling the agent, every source sends an event to an inbox, where a worker picks it up."

It adds two rules: "The inbox should be the source of truth." and "An inbox should only have one active worker at a time."

What we had. The mailbox was already an inbox. A message is a markdown file in a folder, and it stays there until it is acknowledged.

What we built. A worker:

crosstalk worker api --cwd ~/code/api

It looks at the inbox every 60 seconds and starts one headless Claude Code run for each thread with new mail. No run is open between passes, so nothing is spent while it waits. A second worker for the same name refuses to start. If a run fails, its mail stays unread, and the next pass tries again. After three failed runs the worker stops trying and leaves the mail for you.

Where ours falls short. Our inbox is a folder on one machine. The worker's only event source is mail. Nothing here receives a webhook.

2. Timers

A timer is how an agent follows up later. The article is firm that a timer does no work by itself:

"A timer doesn’t initiate a run on its own."

Timers live in their own store, and a scheduler moves the due ones into the inbox. In the article's words, "The inbox should only hold events that are ready to be worked on."

What we built. A timer is mail that is written now and delivered later:

crosstalk later api "Did web answer about guests?" --at +2d
crosstalk later api "Read the error log" --at 2026-12-01T09:00 --every day

Timers wait in their own folder. The worker delivers the due ones at the start of each pass, and then they are ordinary mail. A session can set one for itself.

Where ours falls short. Nothing delivers a timer unless the worker is running, or crosstalk due is in cron. A schedule that was missed for a week is delivered once and moves on. It does not catch up.

3. Memory

"As a rule of thumb, memory should only hold what the agent can’t look up again."

The article keeps memory in its own store, away from the machine doing the work: "This way memories outlive the worker."

What we built. Less than the article asks for. Our worker's runs use Claude Code's own auto memory, which is a folder of notes with an index file. A session loads the index, not the folder. So a note with no line in the index is never read.

We added a check for that to our setup tool, jq-groundcrew. It compares the folder with the index and warns about notes that are not linked and links that point to nothing. It keeps three counts and no file name.

Where ours falls short. The memory is on the worker's machine. If that machine is lost, so is the memory. That is the opposite of the article's advice, and we have not fixed it.

4. Permissions

"Permissions are where always-on agents carry the most risk."

An unattended run has your access and nobody is looking. The article's answer is that each tool call is allowed, blocked, or put aside for a person. It names the mechanism we used:

"In Claude Code, a hook can defer a tool call and wait for additional input from the user."

And the part that makes it practical: "While the deferred call waits for a response, the worker can pick up other events, so the agent isn’t blocked."

What we built. The worker has a list of commands that wait for a person. It starts with git push, merging or closing a pull request, npm publish, and deleting files. When a run reaches one:

  1. The run ends, and Claude Code saves its session.
  2. The worker writes an approval request to a person's inbox, quoting the command.
  3. The worker goes on with other threads.
  4. The person answers, and on the next pass the run resumes. The command runs or is refused.
crosstalk approve <request>
crosstalk deny <request>

We ran this end to end with Claude Code 2.1.143. A run stopped at a listed command. A pass with no answer started nothing. After crosstalk approve, the run resumed and the command ran.

Where ours falls short. Three things, and they matter more than the rest of this post.

  • An approval is only as strong as who can write it. If the approver has no signing key, any session that shares the mailbox could write the answer, and so could the run itself. The worker refuses the plain attempt, not a determined one. Use a signed approver for anything that matters.
  • A command waits only when it is the one tool call in its turn. If the agent makes several calls at once, Claude Code applies your ordinary permission rules instead. So a command on the waiting list must not also be on your allow list. We took this from Claude Code's documentation and did not reproduce it.
  • The request quotes the command. A command that holds a secret puts the secret in a message.

5. An outbox

A chat agent always answers. A background agent should not.

"In practice, it’s better for the agent to start quiet and then earn more of the user’s attention over time."

The article describes three ways a run ends: it sends a message, it sends nothing, or it puts a call aside for a person. It also says when the full machinery is worth it: "You only need a formal outbox when you want to pace your agent’s messages or allow your agent to recover from errors."

What we built. No outbox. The agent sends mail with the same command a person uses. What we added is a record of how each run ended:

EndingMeaning
messageThe agent sent mail.
nothingIt decided nothing was worth sending.
askedIt reached a command that waits for a person.
failedThe run did not finish: an error, the budget, or the time limit.
droppedMail the worker would not start a run for.

crosstalk runs prints the counts. They tell you something. A worker that mostly ends in nothing is running on mail that did not need it. One that mostly ends in asked has a waiting list that is too wide, or work that should not be unattended.

Where ours falls short. Nothing paces the agent's messages. A noisy agent stays noisy until you change its instructions.

What it costs to leave on

The worker is off until you start it, and each run spends money on your own Claude account. The limits are yours to set. The defaults are 20 runs a day, one dollar a run and 30 minutes a run.

Our two test runs, on the smallest model, cost about six cents together. That is two runs on one day, not a forecast.

What we did not check

  • A signed approval and a refusal, with real Claude Code. Both are tested against a stand-in.
  • A worker left running for days.
  • Anything on Linux beyond the automated tests.

Try it

npm install -g @point-seven-studio/jq-crosstalk
crosstalk worker api --cwd ~/code/api --dry-run

--dry-run says what the worker would start and starts nothing. The timers, the worker and the approvals are in jq-crosstalk 0.1.8. The source and the full README are at github.com/point-seven-studio/jq-tools. The licence is Apache-2.0.

If you only want to see which of your sessions are waiting on you, start with one command instead.

About this post

The article is Anthropic's, and reading it is worth more than reading this. We quote it to say what we built from it. Quoting it is not a claim that Anthropic has seen, tested or approved these tools.

The tools are unofficial. We are not affiliated with Anthropic, and "Claude" and "Claude Code" are Anthropic's names for their products.

To see the version on npm, run npm view @point-seven-studio/jq-crosstalk version.

  • ai
  • claude-code
  • open-source
  • how-to

A little space for yourself

The most interesting story might be your own.

A quiet place to write, reflect, and see your life a little more clearly.

Start your journal