Sleep, dream, meet: what always-on agents do between tasks

By Flavio Paulino December 1, 2026 24 min read

Agents that sleep, dream and meet: what Anthropic described, what we built at tripaulx, what our first version got wrong and what it changes for a business.

An agent that works all day still has to stop

Most of what is written about AI agents is about what they do while they're working: answer a customer, read a report, write a draft. Lately I've been more interested in what happens when they aren't working.

That may sound like an odd thing to care about. A tool doesn't need rest. But at tripaulx we don't treat agents as tools. We run them as teams, with roles, levels of seniority and results they answer for, and a team that only executes never gets better at anything. People improve between tasks. They stop, they go over what happened, and they compare notes with colleagues who saw the same thing from another angle.

In November 2026, Anthropic published two pieces that put names on the first two of those: an agent that sleeps, and an agent that dreams. I read both and compared them with what our agents already did. We had one of them complete, the other half built, and a third idea of our own that neither piece covered: agents that meet.

This article is about those three verbs. What they mean, what the comparison with human sleep can and can't support, what we built, what we got wrong on the way, and why I think it matters for a business that will never read a line of our code.

What Anthropic said: sleeping is waiting, dreaming is rereading your own past

Sleep. Building always-on agents, written by William Hu and published on November 13, 2026, describes an agent that is idle most of the time and wakes up to work in short runs. Something always wakes it: a message, a notification from another system, a background job, or a timer the agent set for itself. When the work is done, it goes back to waiting. The piece names five parts that make this possible: an inbox for events, timers, memory, permissions and an outbox.

Dream. The components of agent memory, published on November 6, 2026, describes a separate process that runs while the agent is idle. In it, the agent rereads its own past sessions to correct notes that turned out to be wrong, build better-organized notes, and move what matters most to the small part of memory that is loaded every time. It doesn't touch the model. What changes is written memory.

I know some people dislike the word "dreaming" for a process that rereads logs. I see why. I use the word anyway, because it describes when the work happens and what it's for, and because the alternative is a paragraph of jargon.

Two things in these pieces mattered to me more than the vocabulary.

The first is that the learning is written down. An agent that "got better" in a way nobody can inspect is an agent you have to trust. An agent whose learning is a set of dated notes is one you can audit: a person can open the note, read it, disagree with it and remove it. For a business, I think that difference is larger than it looks.

The second is restraint. Both pieces insist that memory is not a place to put everything. It should hold what the agent can't easily look up again, and the part loaded in every session has to stay small, because a wrong note there travels into every conversation.

The same shape, seen from two sides

On November 6, 2026, the day Anthropic's memory piece came out, I was in the audience at OpenAI DevDay Exchange in São Paulo. One slide stayed with me. It showed the model in the center and, around it, a ring labeled orchestrator: tools, sandboxes, subagents, compaction, skills, webhooks.

Anthropic's guide draws the same shape with other words: an inbox, timers, memory, permissions, an outbox. In both, the model is the small part in the middle, and most of the engineering is in what surrounds it. The agent APIs of both companies now do that orchestration themselves.

It was good to see, because it's what we have been building at tripaulx for three years: the orchestration around the model, for businesses that will never assemble it on their own. I use tools from both companies in my work, and I'm active in Anthropic's developer communities as well as OpenAI's. I don't think it makes sense to belong to one company's community. The ideas are converging, and I'd rather learn from both.

The comparison with human sleep: what holds, and where it stops

The comparison with sleep is useful for function and misleading for mechanism. I'll use it for the first and not the second.

The brain doesn't switch off when we sleep. A night is made of repeating cycles of about 80 to 100 minutes, usually four to six of them, moving through lighter sleep, deep slow-wave sleep and REM (NHLBI). The Anthropic piece on memory makes the comparison itself: one part of the brain captures experience quickly, another holds consolidated long-term knowledge, and sleep is when the first is replayed into the second.

What interested me most is that replay alone doesn't seem to be enough. A review by Feld and Born describes how the replay is timed against slower rhythms in other regions, and how disturbing that timing interferes with consolidation. One experiment tested this directly. In a 2023 study with 18 epilepsy patients who already had electrodes implanted, stimulation synchronized with the brain's slow waves improved recognition memory overnight. The same stimulation delivered out of sync did not, and trended toward making it worse. It's a small sample of patients, so I treat it as a suggestion and not as proof.

Here is how I map the functions:

In the brain In a team of agents
Experience is recorded quickly as it happens Every run is recorded as it happens
During deep sleep, the day is replayed and consolidated An agent rereads closed conversations and updates its notes
Replay works when different regions are in sync Agents exchange conclusions only when each has enough evidence
One hypothesis holds that sleep also scales connections back down Old lessons expire and are retired

The third row is where I place the idea of a meeting. If consolidation depends on regions working together, then an agent reviewing its own past alone is half of the picture.

I'm leaving REM and the content of dreams out of this. As far as I can tell, that part of the science is still being argued, and nothing in our design depends on it. Agents don't sleep because they are tired, and they don't dream in any sense a person would recognize. What they share with us is a set of jobs: select, replay, consolidate, discard.

Four layers of memory, and what each one is for us

The memory piece describes four layers, from the raw record at the bottom to the small set of notes loaded into every session at the top. Mapping our platform onto them was the most practical exercise I did, because it showed where our agents were writing and where only people should.

Layer What it holds At tripaulx
Loaded in every session A small set of notes the agent always starts with The agent's instructions, the rules of its persona, and a short block of operating memory with a hard size limit
Representations Organized knowledge, such as a wiki The client's playbook and catalog, kept by people, plus a notebook per client of what works there
Notes What the agent wrote down as it worked The memory of each contact, the lessons, and the readings from the analysts and the Instagram team
Full record Everything that happened, searchable Messages, runs and AI calls, kept for a limited time that depends on the type

Two decisions came out of this table.

The playbook stays with people. It's the company brain, the record of what the business sells, to whom and within which limits. The dream can read it. It doesn't write to it. What the dream maintains is a separate notebook of what has worked for that client: themes, formats, approaches. Agents consult it when they need it. They don't carry it into every conversation.

And a conversation is data, not an instruction. Something a customer said yesterday should never become a rule for the agent this morning without someone looking at it first. That sounds obvious, but it's the easiest mistake to make once agents can write their own memory.

Sleep and dream in practice, including what we got wrong

Sleep

This part we already had. Our agents wake up for three reasons: a message arrives, a scheduled time comes (a follow-up, a reminder, a weekly round), or enough new data shows up to be worth reading. Outside business hours, a round is moved to the next opening. Even the time a client is willing to wait for an answer is treated as a timer.

The first version of our dream

We also had a nightly process that I would have called dreaming before I read the Anthropic piece. Every night it went over the day's runs, extracted lessons and measured whether each lesson helped. The machinery was careful. Each lesson had a confidence level and an expiry date. A share of runs didn't receive the lesson, as a control group. A lesson that made results worse two cycles in a row retired itself.

The problem was what it was learning from. It didn't read conversations. It read technical outcomes: did the run finish without an error, how much did it cost. So the lessons were about the engine. "This cost doubled." "The reviewer blocked more replies than usual." Not one of them said what makes a customer book an appointment.

We measured it. Over 60 days, those lessons were served to agents about 28,000 times. The measured effect was zero. And when we looked closer, most of the "cost doubled" alerts were false: we had started recording cost in more places, and the calculation compared a partial week with a full one.

I'm sharing this because I think it's the most useful part of the story. We had control groups, expiry dates and automatic retirement, and all of it was working correctly on the wrong subject. We took that advice out of the agents' conversations. The engine warnings now go to our own team, where they belong.

The dream we built after that

The new version does what the word promises. Overnight, an agent goes back over a client's closed conversations with the real outcome next to each one: did the person reply, did they book, did the team have to step in. It starts from the memory we already keep of each contact, not from raw messages, and it works without names. Then it proposes hypotheses, each with the evidence behind it.

Nothing it proposes goes into an agent on its own. Our team reads the hypothesis and approves it or not. Every approved learning has an origin, a date, an expiry and a way to undo it. With healthcare clients we are doubly careful.

Before switching it on, we rehearsed it on real accounts without saving anything. Two things from that rehearsal are worth telling.

Where there was enough material, the dream proposed the same idea each time we ran it: offer a time slot earlier in the conversation, because that's where people were dropping off. Where there wasn't enough, it proposed nothing. It didn't force a conclusion.

Then we ran it a second time on the same input, to see how much the answer would vary. On the larger accounts the idea repeated. On a small one, it came back with a hypothesis supported by one case and contradicted by thirteen. That gave us a rule: a hypothesis with fewer than five cases in its favor never reaches the team. In the rehearsal, a night of dreaming cost about two US cents per client.

The third verb: meet

Sleeping and dreaming are things one agent does alone. The meeting is what happens between agents, and it came from two things I saw in our own platform more than from any paper.

The first was that our agents didn't interact with each other at all. Everything ran top-down, as a tree. A director agent sits at the top, on a frontier model, and decides who takes each piece of work. The agents below it, on smaller models, do the work from start to finish. None of them calls another agent in the middle of a task.

At one point I asked whether we were losing something by not letting them talk to each other. So we measured what the hierarchy was giving us, over 60 days of production and 2,227 rounds of agent work in five client accounts:

  • Predictable spending. Every agent has a spending ceiling, the same way a department in a company has a budget. That fits how a business hires a team of agents from us, a model we have been testing and that I'll write about separately. In 998 agent-days, no agent reached its daily ceiling. Without side calls, one agent can't trigger another that triggers a third.
  • A boss that decides once. The director made 891 decisions about who takes what, and then got out of the way.
  • Correction that comes from outside. A safeguard agent rewrote 26% of the rounds and blocked another 12.5%, without the working agent asking. That matters because a smaller model doesn't know that it knows less.
  • Knowledge that travels without a live call. A manager agent left 679 notes that the working agents read on their next round.
  • One author per answer. One agent, one round, one review. When something goes wrong, we know who and at which step.
  • Security by design. The agent that deals with outsiders can't reach the agents with more powerful tools.

Then we estimated the alternative. Open conversation between agents never ran in our platform, so this side is an estimate: each consultation is one more model call of the same size inside the round, and three to four more seconds of waiting.

The hierarchy has a trade-off, and I'd rather state it. In 11% of the rounds, the agent stops and calls a person. That is where a consultation between agents would have helped.

I read that number with some context, though. It comes from the early period of these agents' work in each company, and it behaves the way it does with a new employee. When onboarding leaves something out, the new person has to ask. An agent is no different. That's why I think onboarding matters, for the agent and for the company it joins. Writing a prompt and a set of instructions and calling the result an agent skips the part that makes it useful.

The number also isn't meant to stay where it is. Each of those interruptions is a question the agent couldn't answer, which makes it the best material for the next dream. The agent keeps being trained so that it has to ask less.

We accepted that trade-off to keep spending, time, authorship and security predictable, and moved the exchange between agents somewhere else: out of the task and into a meeting.

So I didn't want agents chatting. I wanted what a well-run company has: people who compare what they learned, inside a structure where it's clear who leads and who has earned a say. Hierarchy matters in organizations, and I think it matters among agents for the same reasons. That's why an agent that starts working for a client gets more than a name and a title. It is also evaluated, and it can be promoted. How that works is a subject for another article.

The second was about evidence. Our analysis agents each read one source: search, site visits, ads, leads, conversations, reviews. When I looked at what they were producing, I found that a connected source always generated a finding. In one two-week sample, 56 of 62 readings came back with something to say, and not one of them said "there isn't enough data yet." Some of those findings were built on a single click in a month.

An insight built on one click isn't an insight. It's noise with a confident tone, and a business owner has no way to tell the difference. So the meeting was designed around one rule: only those who have enough to speak get to speak.

How a meeting works

Part What it is
Readiness For each source of each client, a grade calculated without AI: no data, little, enough, strong. It looks at volume, how long the window is and how fresh the data is
Quorum The meeting only happens with a minimum of agents that are ready. An agent that isn't ready joins as a listener and says what it's missing
Call Weekly, or when enough new data arrives. The same input is never paid for twice
Round Each ready agent presents what it found, with the evidence and the limits
Cross-check The lead agent looks for where the channels agree and where they contradict each other
Minutes Decisions, hypotheses and their status, who was absent and why, and what needs to happen before the next meeting
Return What was done because of the minutes, and what it produced, comes back at the next meeting

The last row is where the meeting and the dream connect. A hypothesis recorded in the minutes on Monday becomes something the agents can check against real outcomes later.

What a Monday meeting looks like

This is an illustration with invented numbers, for a clinic.

  • Íris, search. Has a voice. 84 days of data. Searches about the price of a first consultation rose three weeks in a row.
  • Gael, Reels. Has a voice. 14 Reels with numbers in the past year. The ones that open with a question hold attention longer.
  • Nico, leads. Has a voice. 31 leads in 28 days. Eleven of them asked about price before anything else.
  • Otto, ads. Listener. Nine days of campaign. 19 more are needed before there is anything to compare.
  • Cora, carousels. Listener. One carousel with numbers. Two more are needed for a first reading.
  • Vera, lead. Search, Reels and leads point to the same subject. Ads and carousels stay out of the conclusion.

The minutes record a hypothesis: content that answers the price question, in a Reel that opens with a question, brings leads. Status: to be tested. The next meeting checks what happened to whatever was published. Otto and Cora join with a voice when they have enough.

On the client's screen, the effect is direct. Where there used to be a weak insight about ads, there is now a plain sentence: not enough data yet to talk about ads, 19 days to go. I think that sentence is worth more to a business owner than the insight it replaced.

The full cycle: work, record, sleep, dream, meet

Put together, an agent's week looks like this:

  1. Work. During the day it answers, analyzes and creates.
  2. Record. It writes down what happened: the decision, the action, the result and any correction from a person.
  3. Sleep. Between tasks it waits for the next event.
  4. Dream. Overnight it rereads what it lived through, checks it against the outcome and consolidates.
  5. Meet. Once a week, the agents cross what each one found, with a quorum.
  6. Wake up knowing more. The next day, each one consults what was consolidated.

The second step is the one that makes the rest possible, and it's where we had the largest gap. We were storing a great deal about what the agent did and very little about what happened afterward. Did the meeting it booked take place? Did the team use what the agent proposed, edit it or discard it? Did the content idea become a post, and did the post bring anyone in? Without the result and the correction, a dream has nothing to learn from. So the first thing we built was not the dream. It was the capture.

Keeping it cheap

A process that runs every night for every client can become expensive fast. These are the rules we follow:

  • If there's no new data, or not enough of it, the work ends without calling a model.
  • Everything that can be arithmetic stays arithmetic. Readiness grades and participation counts need no AI.
  • A lighter model reads each item. A stronger one writes the synthesis from the summaries.
  • The dream starts from the memory that already exists, plus what changed, and not from every conversation in full.
  • Dreams and meetings have their own budget and queue. They never compete with a customer waiting for an answer.

What decides what to dream about

There's a direction here I find promising, and I want to be clear that it's a direction, not something we've finished. A long line of research on learning, going back to work by Schultz, Dayan and Montague in 1997, suggests the brain learns more from what it failed to predict than from what it expected. Applied to agents, that means the dream should start with the surprises: the stage of a conversation that used to convert and stopped, the request nobody had made before. To get there we need a few months of baseline first, because there's no surprise without an expectation.

Human + agents in the loop, beyond execution

When people say "human in the loop," they usually mean a person approving what an agent is about to do. That matters, and we do it. But I think the loop is larger than execution.

For me, human + agents in the loop also covers the moments when agents need to behave the way people do in a company. They stop when there's nothing to do. They review their own work. They show up to a meeting only when they have done the work and the learning that earn them a voice. An agent with nine days of data doesn't get to shape a decision, the same way a new hire in their second week doesn't set the strategy. It listens, and it says what it still needs.

People are in that loop at specific points:

  • Approving what the dream proposes. A hypothesis becomes guidance for an agent only after someone on our team has read it.
  • Keeping the company brain. The playbook is written and maintained by people.
  • Correcting. When the team takes over a conversation or changes what an agent set up, that is recorded and becomes material for the next dream.
  • Deciding. The minutes of a meeting end in a hypothesis to test. A person decides whether to test it.

Sharing the credit

There's a measurement problem hidden in all of this.

If you only count who made the final click, an agent that held the whole conversation and a receptionist who registered the appointment at the end looks like "booked by the team." The agent's work becomes invisible. So each conversation now carries how much of it was the agent's and how much was the team's, and what kind of effort it was: selling to someone new, or serving someone who is already a customer.

In our first measurement, looking at the people our agents had attended and who ended up with an appointment, 12 were booked by the agent and 10 by the team after the agent's conversation. Counting participation almost doubled the result. It also showed the opposite: with people who are already customers, our agents were doing very little, and that's where the teams were writing the most.

I don't read those numbers as a score for the agent against the team. They show a conversation as what it is, shared work.

What this changes for a business

A business owner doesn't need to know any of these mechanics. What they get is simpler:

  • An agent that says "not enough data yet" where it used to invent an insight.
  • Learning that is written, dated and reversible, so someone can always answer "why did the agent start doing that?"
  • A team of agents that gets a little better each week, with people deciding what counts as better.

Limits, and what I still don't know

  • The sleep comparison is functional. It helped me design. It says nothing about how agents think.
  • Dreams vary. On a small base, the same input produced different hypotheses on different runs. The five-case rule reduces this. It doesn't remove it.
  • Our base is small. A handful of clients have enough conversations to dream about. That lets us learn what is frequent, not what is rare.
  • The readiness thresholds are a first proposal. How many clicks or leads count as "enough" needs calibrating per source with real data.
  • The effect is not proven yet. We took a baseline before switching things on, and the comparison against it is what will tell us whether any of this improves results. Building it carefully is not the same as showing it works.
  • Healthcare needs more care. Nothing learned from a patient's conversation reaches an agent without a person approving it, and the dream reads without names.

I'd like to hear from other people building this. If your agents already review their own work, what did the first version learn that turned out to be useless?

Frequently asked questions

What is an always-on agent?

An always-on agent is an AI agent that keeps working across many sessions without someone prompting it each time. It is idle most of the time and wakes when an event or a timer calls it. Anthropic described the pattern in a guide published in November 2026.

What does it mean for an AI agent to sleep?

Sleeping means waiting. The agent does nothing until a message, a notification from another system or a scheduled time wakes it. When the work is done, it goes back to waiting.

What is agent dreaming?

Dreaming is a process that runs while an agent is idle. The agent rereads its past sessions, corrects notes that were wrong and reorganizes what it remembers, so the next session starts better informed.

Does dreaming retrain the AI model?

No. Dreaming changes written memory, not the model. That memory is a set of notes that a person can read, correct and remove.

What is a meeting between AI agents?

It is a scheduled exchange in which agents that read different sources of the same business compare what they found. In the design described here, only agents with enough evidence speak. The others listen and state what they are missing, and without a minimum of ready agents the meeting does not happen.

Why would an AI agent say "not enough data yet"?

Because a conclusion drawn from very little data is unreliable. An agent that states it has nine days of data and needs 28 is more useful than one that produces a confident insight from a single click.

What is human + agents in the loop?

It is a way of working in which people and agents share the cycle, not only the execution. Agents do the work, review it and bring evidence. People approve what agents learn, keep the company's own rules and decide what to do next.

Sources

More Insights

Loading insights...