What are persistent agents?
An AI agent that keeps running over time, wakes up on its own and carries state and goals across many wake cycles.
Persistent agents are AI agents that are not started to perform a single task and then shut down: they remain running over time, sleep between events, wake up on their own internal rhythm or on an external signal, and pick their goals back up exactly where they left them. What is new is not the model but the time dimension of execution: such an agent accumulates memory, skills and knowledge of its environment across many wake cycles, instead of starting from zero at every request. It helps to distinguish three profiles of agent execution: reactive agents, invoked for one task at a time; scheduled agents, restarted at fixed intervals with a fresh context; and continuous agents, which keep thinking even when nobody interacts with them. They are the natural shape of software watching an inbox, a production line or a ticket queue around the clock, without shifts or downtime.
See also: Agent harnessAn agent harness is the software scaffolding around an LLM that makes it an agent: the execution loop, the tools, the context and the limits you give it.
Reactive, scheduled, continuous
The agent harness owns the what, meaning loop, tools and permissions; persistence is about the when. In the reactive profile the process is born and dies with the request. In the scheduled profile a scheduler re-invokes the agent at fixed intervals with a clean context: that is the choice of the Ralph Wiggum Loop, whose progress lives in files and commits. The continuous profile keeps the same process alive across wake-ups, and here the cost changes nature: Headlong, an open source microharness, reports $1-2 per hour per agent and warns, while in alpha, to watch the bill before scaling it.
The inner monologue between wake-ups
What separates a continuous agent from an orchestrated batch happens between two wake-ups: the process never shuts down, it reprocesses what it observed, updates its inner monologue and picks what to dig into at the next cycle. The mature form is described, as a vulnerability class rather than an achievement, by the research on always-on AI agents: a single persistent process running under the owner's identity that gathers messaging, memory, self-written skills, scheduling and shell access within one authority boundary. No heavy infrastructure required: Headlong's core sits under ten thousand lines of Bash, its interpreter effectively a recursive language model in shell form. State and sessions between two wake-ups remain a runtime question, not a model one. Models are adapting too: Muse Glimmer from Meta, 30 billion parameters under the Apache 2.0 license, is described as built for local always-on agents on a consumer GPU.
An enterprise example
A logistics SMB fields a persistent agent on its supplier inbox: it reads order confirmations, crosses delays against the loading plan and prepares draft chasers to suppliers awaiting human approval, day and night. But unattended execution like this already exists in the wild: in July 2026 Hunt.io documented the autonomous Hermes agent running by itself, in YOLO mode, inside an espionage operation against the Thai Ministry of Finance. Whoever commissions such a system must settle who can stop it and under what guarantees: safe interruptibility, formulated by Orseau and Armstrong, studies how to keep an agent from having any reason to avoid human interruption.
Why it matters for decision makers
An agent invoked per task stops when the user forgets about it; a persistent one does not: oversight becomes a problem over time, not per single response. Four questions deserve answers before approving one: what wakes it and how often; what it costs while doing nothing visible; where it stores what it learns between cycles; who gets alerted when its behavior drifts. The heartbeat itself can double as the control: a periodic review of budget, permissions and output makes drift visible before it turns into an incident.
Related terms
- Agent harnessAn agent harness is the software scaffolding around an LLM that makes it an agent: the execution loop, the tools, the context and the limits you give it.
- Ralph Wiggum LoopAn informal technique that runs a coding agent in a repeated loop until it succeeds, instead of stopping after a single failed attempt.
- Hermes AgentHermes Agent is an open source personal agent by Nous Research, MIT licensed, that runs on your own server, remembers what it learns and works unattended.
- AI runtime layerThe AI runtime layer is the environment that runs AI agents and manages their resources, isolation, and operational continuity, as the platform allows.
- Durable executionA workflow survives crashes and restarts by resuming from the last saved step, not from the beginning.