Agents, MCP and skillsLoading progress…

Handoffs

Choose when to delegate independent work and define handoffs, shared-state rules and evaluation.

Handoffs

A handoff is how one worker passes work to another. Include the artifacts, the evidence, the assumptions, the unresolved issues and the completion status. If each hop just forwards a summary without evidence, mistakes compound: in a toy model where each hop keeps a claim right with probability 0.9, three hops leave 0.729 and five leave about 0.59.

hand-offs3chance a hop keeps a claim correct0.9
handoff record: artifacts | evidence | assumptions | unresolved issues | status (done / partial / blocked) ungrounded forwarding: 0.729 chance the claim is still right after 3 hops each hop trusts the previous summary, so errors compound
hops012345
still correct10.90.810.7290.6560.59
Vary the hops and the per-hop reliability.

Predict first. Should the receiver treat another worker's confident claim as verified evidence?

Chapter context

Delegation can divide a task into focused work units, but coordination creates costs and new failure paths. Add helpers when their independent contributions can be integrated and checked more clearly than one agent can do the work alone.

Chapter reference: math, worked example & code

This section belongs to the whole chapter, so it is the same on every lesson in it and may cover a different lesson's topic. The code for the experiment you just ran is inside the experiment itself.

Math and notation

With independent parallel task durations t1,…,tnt_1,\ldots,t_n and merge time m, an ideal lower-bound schedule is max⁡iti+m\max_i t_i+m, excluding orchestration overhead. If independent tasks each succeed with probability p, all n succeed with probability pnp^n; correlated failures invalidate that simple model.

Worked example

Three tasks take 2,5 and 3 minutes; integration takes 1. Ideal sequential duration is 11 minutes, while fully independent parallel duration is 6. Separately, three independent 90%-reliable components all succeed with probability 0.9^3=0.729. The latency gain does not itself establish a reliability gain.

Reference code

The following example uses the Python standard library and does not call a remote service.

from math import isclose
times,merge=[2,5,3],1
assert sum(times)+merge == 11
assert max(times)+merge == 6
assert isclose(.9**3,.729)

Python examples are provided for study and local execution; this page does not execute Python.

Common mistakes

Parallel workers need explicit ownership of shared artifacts. Agreement can reflect correlated failure. More agents can increase token usage and integration work even when wall-clock time falls.