Solution Architecture6 January 20277 min read

From Copilots to Always-On Operations — Part 3 of 7

The agent harness is the real operating system

A one-off agent session needs a harness. An agent that runs for months needs an operating system: scheduling, isolation, memory management, permissions, drivers, a system log and lifecycle control. Part 3 of From Copilots to Always-On Operations shows what time adds to the harness, with a readiness test for long-lived agents.

#AI Agents#AI Architecture#Agentic AI#AI Operations#Observability

For its first six weeks, the founder's personal agent at Rietspruit Digital, our fictional Gqeberha product studio, did exactly what it was set up to do. Then four things happened in one fortnight. The connector to the CRM lost its authorisation, and the morning brief quietly stopped mentioning deals without saying why. A long email thread with a client was summarised to save space, and the line "no calls on Fridays" disappeared from what the agent knew. Two runs of the brief overlapped after a late start and produced two sets of draft replies. And the default model behind the agent changed, so the tone of every draft shifted overnight.

None of these was a model failure. Each was a failure of the software around the model, over time.

For a long-lived agent, the harness is the operating system. It schedules work, isolates tasks, manages memory, enforces permissions, drives connectors, keeps the log and owns the agent's lifecycle, and it should be chosen and tested like one.

What the control plane series already covers

CloudNala set out the harness for a single task in The model proposes. The harness decides what happens next., part 2 of The Enterprise AI Control Plane: twelve components, from the task contract to the stop conditions, that turn a model into a governable agent. Harness engineering has grown up covers the control-system view, and you do not control the agent until you control the loop covers loop control. This part does not repeat them. It adds the one thing those pieces assume away: the agent keeps running after the task ends.

The operating-system view

An operating system does a small number of jobs for programs that run for a long time: it decides when they run, keeps them apart, manages their memory, enforces who may do what, talks to devices and keeps a log. A long-lived agent's harness does the same jobs for model-driven work.

The harness as the operating system of a long-lived agentModel: proposes the next stepHARNESS: THE AGENT'S OPERATING SYSTEMSCHEDULERTriggers, queues,skipped and late runsISOLATIONOne session andworkspace per taskMEMORY MANAGERContext, compaction,memory scopesPERMISSIONSAllow, ask, block;deny winsDRIVERSConnectors andtools, least accessSYSTEM LOGTrace, evidence,cost per taskLIFECYCLEstart · pause · upgrade mid-life · rotate credentials · kill switch · retireEnterprise systems and peopleIllustrative mapping. Vendors name these parts differently; the duties stay the same.
The model proposes the next step. The harness schedules, isolates, remembers, permits, connects and records, and it owns the agent's lifecycle, which a one-off session never needs.
Operating-system dutyHarness responsibilityWhat goes wrong without it
ConfigurationStanding instructions and system prompt, versioned and read on every runBehaviour changes when someone edits a file nobody reviews
SchedulerTriggers, queues, concurrency, missed and late runsOverlapping runs, duplicate drafts, silent gaps
Process isolationOne session and workspace per taskOne task's context or files leak into another
Memory managerWhat enters the context window, what is compacted, which memory scope is readFacts disappear in summaries; one client's details appear in another's draft
PermissionsAllow, ask and block rules per action, with deny taking precedenceA broad allow rule quietly overrides a narrow ban
DriversConnectors and tools with least-privilege credentialsExpired tokens fail silently; tools hold more access than the task needs
System logTrace, evidence and cost per taskNobody can say what the agent did last Tuesday
LifecycleStart, pause, upgrade, rotate credentials, kill, retireThe agent cannot be stopped cleanly or switched off completely

Several products already behave this way, which is a useful sign the analogy holds. Checked against official documentation on 23 November 2026:

  • Configuration read every run. Anthropic's GitHub Actions guidance advises keeping the project's CLAUDE.md concise because Claude reads it on every run.
  • Permissions with deny first. Claude Code's permission rules are evaluated in the order deny, then ask, then allow, and an allow rule cannot carve an exception out of a deny rule. Administrators can set managed rules that user and project settings cannot override.
  • Isolation per task. The DeepSeek dsh-superagent research prototype's architecture document gives each ticket its own session and directory. Claude Code Desktop's scheduled tasks can optionally run each run in its own Git worktree.
  • A scheduler that admits gaps. Claude Code Desktop's scheduled task history records skipped runs with a reason: the computer was asleep, the previous run was still in progress, or other scheduled tasks were already running.

These are illustrations, not endorsements. The point is that the duties exist whether or not your tool names them.

What time adds: six lifecycle questions

A session that lasts ten minutes never meets these questions. An agent that lasts six months meets all of them.

1. What happens when a run is missed, late or overlaps? Decide whether a missed run should catch up, skip or alert, and whether two runs of the same job may overlap. Rietspruit's duplicate drafts came from an overlap that nobody had ruled out. One run at a time per job is a sensible default.

2. What happens when the model, prompt or tools change mid-life? An always-on agent will see several model versions in a year. Treat the model, the standing instructions, the tool set and the permission rules as one versioned bundle, and re-run the evaluation set when any part changes. AgentOps: operating AI that can take action sets out the release discipline. Pin the model where the tool allows it, so a change is a decision rather than a surprise.

3. What happens when a credential expires or is revoked? A connector that fails should fail loudly. The brief should say "CRM unavailable since Tuesday" rather than leave deals out. Each run's evidence should list which sources it read and which it could not.

4. What happens to context over weeks? Long threads get summarised, and summaries drop details. The "no calls on Fridays" rule was a durable fact that lived only in conversation history. Durable facts belong in a memory layer with an owner, not in whatever survives compaction. Part 4 covers this, and context trimming without losing the evidence covers the trimming itself.

5. Who can pause it, and how fast? There must be one switch that stops new runs and lets the current one finish or abort, and the people who may use it must be named. Test it before you need it.

6. How is it retired? Retirement means revoking credentials, archiving or deleting its memory under your retention rules, and removing schedules and webhooks. Residue is easy to leave behind: Anthropic's documentation notes that deleting a Desktop scheduled task leaves the folder holding its prompt file on disk until you delete it yourself. Small residues add up across many agents.

Always-on harness readiness test

Answer each question with evidence, not intention. A "no" is not a reason to stop; it is the next piece of work.

#QuestionEvidence to look for
1Are the standing instructions version-controlled and reviewed?Change history with a reviewer
2Is every run linked to a trigger record?Trigger record per run (part 2)
3Is overlap between runs of the same job prevented or handled?Concurrency setting or lock
4Is missed-run behaviour chosen and visible?Policy plus a history showing skips
5Does each task run in its own session and workspace?Isolation setting
6Are permission rules deny-first and centrally managed?Managed policy file
7Do connectors use the agent's own least-privilege credentials?Credential inventory
8Does a failed connector show up in the output?A test run with a revoked token
9Are model, prompt, tools and rules versioned together?Release bundle and evaluation result
10Is there a tested pause and kill switch with named users?Last test date
11Is there a log of every run, with cost and evidence?Trace per task
12Is there a retirement checklist?Checklist and an owner

Small studio or large enterprise

For Rietspruit, the operating system can be modest: a hosted harness, one mailbox label, a version-controlled instruction file, deny rules for sending and paying, and a weekly look at the run history. For an enterprise, the same duties are split across teams. The platform team owns the scheduler, isolation and drivers; security owns the permission policy; the business owns the instructions and the evaluation set. Who owns which control in an enterprise AI request maps those boundaries.

What this means for South Africa

Most organisations here will use foreign models, but the harness is where local value and local control sit. The rules, the connectors to local systems, the logs and the lifecycle are all owned and operated by the organisation. Two practical points follow. Logs and traces contain personal information, so decide where they are stored and for how long under POPIA, as general information and not legal advice. And harness engineering is a skill worth building in-house, because it is the part of an agent system that stays when the model changes.

Next in the series, on 13 January: Memory is not a database dump. Previous: Part 2, Personal agent or super agent: who starts the work? All parts are on the series page.

Sources and limits: this article draws on two public video discussions about AI chiefs of staff and always-on agents; their points are paraphrased, not quoted, and were checked on 23 November 2026 against timestamped transcripts and the published videos' descriptions and chapter markers. Product behaviour comes from official documentation checked on 23 November 2026 and may change. Rietspruit Digital is fictional.

How CloudNala can help

CloudNala reviews and designs harnesses for agents that run for months, not minutes. We run the readiness test against your set-up, design the scheduler, isolation and permission policy, set up versioned release bundles, and test the pause, credential-failure and retirement paths before they are needed.


Work with CloudNala

CloudNala helps organisations move from technology ambition to practical execution across cloud, AI, data, platform engineering and digital services.

Whether you are exploring AI, modernising your cloud environment, building a public-sector digital service, or turning an idea into a working MVP, we can help you shape the roadmap and deliver the next step.

Book an Always-On Agent Design Session or write to us at consult@cloudnala.co.za

Found this useful?

Share