Tinker AI agents

by Samy (Kondasamy Jayaraman)

...

Step 1 of 82 · Host app → Modeltask + 5 toolsTurn 0 of 12 · context 0 of 3,000 tokens · 0 tokens in all

Chapter 6 of 7

Sub-agents, and the cost of a handoff

In chapter 5 one agent held all five storm orders in one history. Why should one agent hold them all?

This chapter: When should an agent hand work to helpers, and what does each handoff cost?

About this chapter

You will learn

  • How a lead agent hands one piece of a case to a helper with a clean context
  • Why the lead’s context stays small: it gets back one line per helper, not the helper’s whole history
  • Why the total grows anyway, and when helpers are worth it

Words you’ll meet

Sub-agent
A second agent the host starts for one piece of a case. Larkspur’s team calls it a helper. It has its own history and its own turns.
Lead agent
The agent that works the whole case and hands pieces of it to helpers.
Delegate
The host’s own tool for handing a piece to a helper. The lead calls it like any other tool; the host runs a helper, not a server.
Handoff
Passing a piece of work to a helper. The helper starts again from the instructions and the tools, which costs tokens.

Step 1 of 5

The host can offer a tool: the hands one order to a , a helper with a clean context.

Predict first.

The same five storm orders, two ways. Which setup uses more tokens in total, helpers included?