layermetry
SDKPlatformAgentsDesktop & mobileUse casesPricingDocsBlogSign in

Use cases · Creator-style ads

A creator-style ad, without the creator.

Describe the cut, approve the plan, watch the verbs run.

  • instruct(task) writes the plan.
  • You approve before anything runs.
  • A receipt for every run.

What it uses

instruct(task)timelinepresets

Where it runs

Web embedAgent
agent.ts
import { createHeadlessChatRuntime, buildToolContracts } from '@layermetry/media-editor';

const runtime = createHeadlessChatRuntime({ editor });

// The agent may only call the verbs on this list, and nothing else.
const verbs = buildToolContracts(runtime.verbs);

const receipt = await runtime.run('make five 9:16 cuts with captions');
// receipt.verbs → exactly what ran, replayable and undoable