Agents That Never Die

Every conversation is still there tomorrow, and still knows what it was doing.

Every task in Happy survives a closed window and a restart. A subagent that finished is not gone; send it a follow-up and it resumes with its full context. A question asked while you were away is still waiting when you return.

Kirill asks to be told when the Windows installer is green; the agent says it is still compiling and it will check again in 20 minutes, then waits, with the wait counting down: 30s, Wait for 19m 30s.

The details

What a session is

A session has a working directory, a model, an effort, a permission mode, and a transcript. It lives in the runtime, not the window. Every session has an unguessable agent ID; that is how agents reach each other. There is no directory of agents to browse.

Subagents: delegate work to other models

An agent delegates bounded work to subagents, background by default. Depth is capped at three, and at most eight run at once in a tree.

  • Each child picks its own model and effort. Nothing is inherited.
  • A child starts with only its task.
  • A child runs in Auto, whatever mode the parent runs in.
  • A finished child takes follow-ups instead of being respawned.
  • A background child notifies its parent when done, even while the parent is idle. Parents keep working or end their turn; they do not wait or poll.

How agents message each other

Messaging reaches an agent's creator and its own collaborators. For anything else (a subtask, another project, another machine) an agent sends to the exact ID it was given; unknown IDs are refused. The receiver learns who wrote.

Durable waits and scheduled messages

Every agent can wait durably, for a duration or until a time up to a day away; a restart in between changes nothing, and a new message ends the wait early. Primary sessions can schedule a message to any agent whose ID they know, including themselves, hours or days ahead. An agent can list and cancel its scheduled messages.

The Inbox and presence

A question from an agent appears in the conversation and, with experimental features on, in the Inbox as one state. Answer in either place, on any device, and it closes in both.

PresenceWhat agents do
OnlineA question may wait indefinitely.
AwayNever block on you. Decide, keep working, leave notes in the Inbox.

Custom states, with a wait budget and instructions, can be defined in configuration. A presence change mid-run reaches the agent as a notice.

What Happy Desktop shows for each session

Per session: phase, running tools, background processes, subagents, waiting state, token usage for the whole tree, changed files. Terminals an agent opens can be attached to from the app.