HARNESS ENGINEERING · LESSON 169 OF 278

Subagents and Long-Running Work

Use bounded delegation, checkpoints, progress artifacts, and continuation rules for work that spans many contexts or specialist tasks.

What you will learn

Use bounded delegation, checkpoints, progress artifacts, and continuation rules for work that spans many contexts or specialist tasks.

In simple words

Long-running agents need artifacts that survive individual model contexts: task plans, current state, test results, commits, generated reports, and explicit handoff instructions. Subagents should receive bounded responsibilities and return structured evidence.

Visual explanation: Subagents and Long-Running Work

Trace how Task state becomes Continued progress through checkpoint + handoff.

WATCH THE IDEA

Subagents and Long-Running Work

Playing
Task stateCheckpoint + handoffContinued progressrepeatobserve → improve
  1. 1Observe: Task state
  2. 2Transformation: Checkpoint + handoff
  3. 3Outcome: Continued progress

Observe: Task state. Trace how Task state becomes Continued progress through checkpoint + handoff.

The diagram highlights Task state, Checkpoint + handoff, Continued progress. Use the labels to trace the main relationship from left to right.

Real-world example: Operational AI decision

A team applies subagents and long-running work to a real business workflow.

What the team decides: Durable work products are the memory of a long-running engineering agent.

Risk to avoid: A strong technical concept still needs measurement, safeguards, and ownership in production.

Technical explanation

Long-running agents need artifacts that survive individual model contexts: task plans, current state, test results, commits, generated reports, and explicit handoff instructions. Subagents should receive bounded responsibilities and return structured evidence.

Common misconception

This concept is not a guarantee of a correct outcome by itself. Its value depends on suitable evidence, careful implementation, and evaluation against the real task.

QUICK QUIZ

What helps a long-running coding agent continue safely after a context reset?

Practical application

Durable work products are the memory of a long-running engineering agent.

Key takeaway

Durable work products are the memory of a long-running engineering agent.

Next concept

Continue with AI Coding Agent Workflow.

Engineering view

Durable work products are the memory of a long-running engineering agent.

Internals view

Use bounded delegation, checkpoints, progress artifacts, and continuation rules for work that spans many contexts or specialist tasks. Long-running agents need artifacts that survive individual model contexts: task plans, current state, test results, commits, generated reports, and explicit handoff instructions. Subagents should receive bounded responsibilities and return structured evidence.

Architecture view

Consider the Task state → Checkpoint + handoff → Continued progress flow, and make the system's inputs, checks, and outcomes explicit.

Was this lesson helpful?

Lesson discussion

Comments are reviewed before publication. Keep discussion focused on learning and do not post private information.

Loading discussion…

Your quiz answer and current lesson are saved on this device. Sign in to explore account-backed learning features.

Content version 1 · Last reviewed 2026-10-16