# Definition: From State to State: Diagram element for AI agents

> Two distinct states are connected by a directional transformation.

Canonical page: https://agentframes.ai/elements/bloomline/definition/
Markdown: https://agentframes.ai/elements/bloomline/definition.md

## Overview

- Name: Definition: From State to State (`definition`), an element: one HyperFrames block per size
- Part of: the [Bloomline](https://agentframes.ai/packs/bloomline.md) pack (2 of 50). Available only through the All-access subscription.
- Category: Diagram
- Purpose: Two distinct states are connected by a directional transformation.
- Pack: [Bloomline](https://agentframes.ai/packs/bloomline.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 Field Notes (warm paper) (`field`), Loop Studio (alternate brand kit) (`loop`); avoid none
- Typical duration: 8s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/bloomline/definition.mp4
- Poster: https://agentframes.ai/media/bloomline/definition.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Bloomline pack. Add a `definition` beat to plan.json on a `field` canvas with slots `label`, `title`, `body`, `from`, `to`, `sceneIndex` and `sceneTotal` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `label` | string | label | {"type":"string","minLength":1,"maxLength":40} | 01 / FROM ANSWERS TO ACTIONS |
| `title` | string | title | {"type":"string","minLength":1,"maxLength":52} | An agent can use tools. |
| `body` | string | body | {"type":"string","minLength":1,"maxLength":90} | The leap is from suggesting a step to taking it. |
| `from` | string | from | JSON string. {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":18},"detail":{"type":"string","minLength":1,"maxLength":42}},"required":["label","detail"]} | {"label":"An answer","detail":"Suggest what to do."} |
| `to` | string | to | JSON string. {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":18},"detail":{"type":"string","minLength":1,"maxLength":42}},"required":["label","detail"]} | {"label":"An action","detail":"Use an allowed tool."} |
| `sceneIndex` | number | Zero-based footer position |  | 0 |
| `sceneTotal` | number | Total scenes for footer |  | 1 |

## What your agent can change

Two distinct states are connected by a directional transformation.

Native 1920×1080, 8s at 30fps. Full-frame graphics block; use the matching aspect variant.

### Install and mount

For this private ZIP, copy every manifest file from path to target relative to your project; include registryDependencies. The shipped starters already contain everything. A hosted registry is not included. Use a unique host DOM id, the block's data-composition-id and data-composition-src, and native data-variable-values. HyperFrames scopes each mounted instance.

### Edit

Edit this block's HTML directly or set per-instance variables on its mount. Simple slots are text/number values; nested slots are JSON strings, parsed and checked against constraints.json.

- label: native string; {"type":"string","minLength":1,"maxLength":40}
- title: native string; {"type":"string","minLength":1,"maxLength":52}
- body: native string; {"type":"string","minLength":1,"maxLength":90}
- from: JSON string; {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":18},"detail":{"type":"string","minLength":1,"maxLength":42}},"required":["label","detail"]}
- to: JSON string; {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":18},"detail":{"type":"string","minLength":1,"maxLength":42}},"required":["label","detail"]}

Brand: brandName, series, headingFont (Fredoka/Montserrat), logo (empty or inline base64 image), paper, ink, pink, purple, orange, yellow, soft. Footer: sceneIndex (zero-based), sceneTotal.

### Timing and limits

Eight seconds include a 2.2-second settle and copy allowance at six words/second. For longer copy edit the HTML duration/timeline hold and the parent mount together; otherwise shorten copy. Slots enforce original character/count/value limits; never stretch geometry to change aspect. Keep both block and mount duration consistent.

Source: editable HTML, local SVG/GSAP. Source is authoritative after import; do not regenerate it to make ordinary edits. Guides/assets install to namespaced paths to avoid collisions. See pack NOTICE and font licences.

## FAQ

### What can my AI agent change in Definition: From State to State?

Your agent fills the `label`, `title`, `body`, `from`, `to`, `sceneIndex` and `sceneTotal` 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 Bloomline look.

### Which aspect ratios does Definition: From State to State support?

Definition: From State to State is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 8s.

### How do I get Definition: From State to State?

Definition: From State to State is included in the Bloomline 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 Bloomline

- [Hub & Spoke: Central Bloom](https://agentframes.ai/elements/bloomline/hub-spoke.md): Three satellite tools connect to a persistent central agent.
- [Step Flow: Numbered Pills](https://agentframes.ai/elements/bloomline/step-flow.md): Numbered sequence draws connections after each step; wide row becomes portrait stack.
- [Cycle Loop: Three-Stage Bloom](https://agentframes.ai/elements/bloomline/cycle-loop.md): An explicitly directed three-stage loop closes around its repeat cue.
- [Versus: Paired Colour Fields](https://agentframes.ai/elements/bloomline/versus.md): Parallel panels compare two actors on the same basis; they stack in portrait.

## Community

Coming soon.
