Skip to content

06. Five Dimensions That Make the Leap Possible ​

  1. An "always there" lifecycle, but running intermittently. The agent is not a process that runs non-stop: it is a persistent entity that chains work sessions (wake → task → state update → "sleep"). Each session produces a transcript (the history of messages and tool calls). This is the actor model: state is kept in a database (layer 5: memory and state), no computation runs while the agent "sleeps", and waking is triggered by an event (Cloudflare, Long-running agents; formal definition: arXiv:2606.30306: an "always-on" agent behaves according to state accumulated beyond the current instruction). This idea of a resident background process that wakes at set times goes back much further than 2026: to Unix daemons and Vixie cron (1975), which launch tasks at fixed times without human intervention. The 2026 sources (Cloudflare, arXiv:2606.30306) remain valid for the LLM-specific part.
  2. Wake-up triggers: an event (a message on the messaging app, an email, a webhook, see the next section), a schedule (a known task at a fixed cadence), or a tick. A tick is a periodic timer: at each tick, the agent wakes up and decides for itself what to do, without waiting for an external event. Watch the cost: a simple schedule check can run almost for free every minute, because it makes no model call; a tick costs one model call per tick.
  3. Presence channels: connected to an instant-messaging app and/or an email inbox, the agent has a permanent presence and a return channel (outbox). In practice, channel rules are often given in natural language, not code: "send an email if such-and-such event happens", the agent records that rule and schedules the corresponding recurring task.
  4. Memory between sessions: durable state beyond the session, files, a knowledge base maintained by the agent itself (append-only), session transcripts, reflections distilled into lessons (arXiv:2606.30306: memory managers, knowledge graphs, reflection systems; see layer 5 in the previous course). Hospital example: the agent that tracks care protocols accumulates feedback from caregivers and makes it consultable at triage time.
  5. Its own loops: the agent can schedule tasks for itself (daily report surfacing only deviations: supervision by exception), keep a daily self-reflection task (it re-reads its past sessions and records its learnings in its knowledge base), and even improve itself: an AutoResearch-type loop (Karpathy, 2026: hypothesis → experiment with a fixed five-minute budget → evaluation → keep or discard, with git as the backbone of truth; two-level version: arXiv:2603.23420), with metrics defined in advance by a human and a reference model as judge. Even in this self-improvement mode, the decision to keep or discard a change stays bounded by human-set metrics.