# Orchestrator Tree: Spawned Sessions: Diagram element for AI agents

> Show one brief splitting into parallel workers: a checklist resolves, dashed branches grow, session cards drop in.

Canonical page: https://agentframes.ai/elements/clay-ink-explainer/hierarchy/
Markdown: https://agentframes.ai/elements/clay-ink-explainer/hierarchy.md

## Overview

- Name: Orchestrator Tree: Spawned Sessions (`hierarchy`), an element: one HyperFrames block per size
- Part of: the [Clay & Ink: Explainer](https://agentframes.ai/packs/clay-ink-explainer.md) pack (12 of 50). Available only through the All-access subscription.
- Category: Diagram
- Purpose: Show one brief splitting into parallel workers: a checklist resolves, dashed branches grow, session cards drop in.
- Pack: [Clay & Ink: Explainer](https://agentframes.ai/packs/clay-ink-explainer.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly)
- Subscribe: POST https://agentframes.ai/api/checkout/subscribe with interval=month or interval=year (optional currency=USD|GBP|EUR|AUD|CAD; 303 redirect to Stripe checkout; a human pays there). Then download any pack with the subscriber key: https://agentframes.ai/account.md
- Aspects: 16:9 (native), 9:16 (native), 4:5 (native), 1:1 (native)
- Canvases: works on Night (near-black + stars) (`night`), Paper (ivory) (`paper`), Dusk (sky blue + halftone) (`dusk`); avoid none
- Typical duration: 9s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/clay-ink-explainer/hierarchy.mp4
- Poster: https://agentframes.ai/media/clay-ink-explainer/hierarchy.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Clay & Ink: Explainer pack. Add a `hierarchy` beat to plan.json on a `night` canvas with slots `status`, `root`, `countLabel` and `children` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `status` | string | status | {"type":"string","minLength":1,"maxLength":30} | {brand} is working… |
| `root` | string | root | {"type":"string","minLength":1,"maxLength":28} | split into sessions |
| `countLabel` | string | countLabel | {"type":"string","minLength":1,"maxLength":12} | sessions |
| `children` | string | children | JSON string. {"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":4},"name":{"type":"string","minLength":1,"maxLength":12},"runsOn":{"type":"string","minLength":1,"maxLength":14},"uses":{"type":"string","minLength":1,"maxLength":30}},"required":["id","name","runsOn","uses"]},"minItems":2,"maxItems":4} | [{"id":"01","name":"//briefing","runsOn":"local","uses":"calendar, gmail"},{"id":"02","name":"//pipeline","runsOn":"remote","uses":"salesforce, memory"},{"id":"03","name":"//drafts","runsOn":"remote","uses":"docs, gmail, review"}] |

## What your agent can change

Show one brief splitting into parallel workers: a checklist resolves, dashed branches grow, session cards drop in.

Native 1920x1080, 9 s at 30 fps. Full-frame graphics block; use the variant that matches your project size.
Motion: change: [ ] to [-] to [x] then branches growing is the split happening; character: the Night terminal texture.

### Edit

Set per-instance values in the host mount's `data-variable-values` (nested values are JSON strings). The block validates every value before it draws and throws a readable error naming the slot (see the console / `data-cie-error` on the root) instead of silently trimming or shrinking content.

- `status` (required): `{"type":"string","minLength":1,"maxLength":30}`
- `root` (required): `{"type":"string","minLength":1,"maxLength":28}`
- `countLabel` (required): `{"type":"string","minLength":1,"maxLength":12}`
- `children` (required): JSON string; `{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":4},"name":{"type":"string","minLength":1,"maxLength":12},"runsOn":{"type":"string","minLength":1,"maxLength":14},"uses":{"type":"string","minLength":1,"maxLength":30}},"required":["id","name","runsOn","uses"]},"minItems":2,"maxItems":4}`

Designed for the Night colourway (works in all three). children: 2 to 4 sessions. 16:9 (and 4:5/square with up to 3) fans them out in a row; 9:16 and 4-session squares hang them from a spine.

Style (from brand.json): `colourway` (paper, dusk, night), `accent` (hex), `brandName` (wordmark text), `mark` (spark, dot, none, or an inline base64 image).

### Timing

Content settles by 60% of the block (5.4 s) and holds for reading; the last 0.45 s draws out. To give longer copy more time, raise the block's `data-duration` and the mount's `data-duration` together; the engine's checks use the duration you set.

### Example mount

```html
<div id="scene-1" data-composition-id="af-clay-ink-explainer-hierarchy-16x9" data-composition-src="compositions/af-clay-ink-explainer-hierarchy-16x9.html" data-start="0" data-duration="9" data-width="1920" data-height="1080" data-track-index="0"
  data-variable-values='{"status":"{brand} is working…","root":"split into sessions","countLabel":"sessions","children":"[{\"id\":\"01\",\"name\":\"//briefing\",\"runsOn\":\"local\",\"uses\":\"calendar, gmail\"},{\"id\":\"02\",\"name\":\"//pipeline\",\"runsOn\":\"remote\",\"uses\":\"salesforce, memory\"},{\"id\":\"03\",\"name\":\"//drafts\",\"runsOn\":\"remote\",\"uses\":\"docs, gmail, review\"}]"}'></div>
```

Source: editable HTML; shared runtime `assets/af-clay-ink-explainer/cie.js` (component af-clay-ink-explainer-runtime). Fonts are OFL; logos and the spark are third-party marks (see TRADEMARKS.md).

## FAQ

### What can my AI agent change in Orchestrator Tree: Spawned Sessions?

Your agent fills the `status`, `root`, `countLabel` and `children` slots through the block's data-variable-values (or the starter project's variables). Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Clay & Ink: Explainer look.

### Which aspect ratios does Orchestrator Tree: Spawned Sessions support?

Orchestrator Tree: Spawned Sessions is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 9s.

### How do I get Orchestrator Tree: Spawned Sessions?

Orchestrator Tree: Spawned Sessions is included in the Clay & Ink: Explainer pack, which is part of the AgentFrames All-access subscription along with 49 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

## More in Clay & Ink: Explainer

- [Definition: Prompt and Answer](https://agentframes.ai/elements/clay-ink-explainer/definition.md): Define a term the way people now look things up: typed into a prompt, sent, answered.
- [Step Flow: Tool-Use Run](https://agentframes.ai/elements/clay-ink-explainer/step-flow.md): Show a sequence the way an agent runs it: each step spins, then resolves to its result.
- [Cycle Loop: Recurring Routine](https://agentframes.ai/elements/clay-ink-explainer/cycle-loop.md): Explain a loop that repeats: a clay traveller moves clockwise, lighting each stage.
- [Hub and Spoke: Connected Tools](https://agentframes.ai/elements/clay-ink-explainer/hub-spoke.md): Show how several sources connect to one centre; each spoke draws in and its tile flips to connected.

## Community

Coming soon.
