Blueprints

Every workflow becomes a scene: its data, its tools, the agent that runs it, and the history of everything it did. A blueprint is that scene written down as one JSON file: its name and look, the cells it holds, its schedules, who has access, and the scenes inside it. Push the file and the scene appears in your workspace. Export a live scene with --json and you get the same kind of file back, ready to edit or hand on.

Every scene in the catalog is a blueprint. Its page starts with Use this scene, which puts a copy in your workspace, and links the file itself at /blueprints/<id>.json.

The file holds identity, cells, schedules and members

{
  "version": 1,

  "id":   "my-world",
  "slug": "my-world",
  "name": "My World",
  "icon": "globe",
  "tint": "#4C8BF5",

  "settings": { "description": "Built from a blueprint." },

  "assets":       [/* the cells the scene owns: notes, tables, views, programs */],
  "linkedAssets": [/* things that live elsewhere, pinned in place: an account, a repo, a Slack channel */],
  "schedules":    [/* recurring jobs: a cron and a prompt */],
  "members":      [{ "email": "you@example.com", "role": "owner" }],
  "secrets":      {/* references to credentials, never the values */},
  "scenes":       [/* child scenes, the same shape again */]
}

The keys keep their file-format names: an entry in assets is a cell. Two splits decide how a push behaves.

Identity sits at the top, everything configurable sits in settings. Identity (id, slug, name, icon, tint) is what other scenes and the scene's header refer to. A push writes only what the file declares, so a setting you changed in the app that the file doesn't mention stays as it is.

assets holds what the blueprint owns, linkedAssets what it points at. The blueprint creates the cells in assets and owns their contents. An entry in linkedAssets is something that already exists, such as an account, a GitHub repo, a Slack channel or an SAP entity: the blueprint pins it in place and never copies it, so pushing twice never makes a duplicate.

Write your first blueprint

You need the daslab CLI, signed in (set it up). Save this as my-first.blueprint.json:

{
  "version": 1,
  "id": "my-first",
  "slug": "my-first",
  "name": "My First Blueprint",
  "icon": "sparkles",
  "tint": "#4C8BF5",
  "settings": { "description": "Written as a JSON file." },
  "assets": [
    {
      "id": "intro",
      "type": "daslab/note",
      "name": "Hello",
      "fields": { "content": "# Hello\n\nThis scene was written as a blueprint." },
      "layout": { "sortOrder": 0, "size": "large" }
    }
  ]
}

Push it:

daslab scene push ./my-first.blueprint.json --dry-run   # print what would be sent
daslab scene push ./my-first.blueprint.json

The scene lands in the workspace of your current scene: daslab scenes use picks one, and --scene <id> names one for a single push. Open the app and My First Blueprint is there, with a note that says Hello.

Now change the note, add a second one, rename the scene, and push again. The same id resolves to the same scene and the same cells, so they update in place. An id that is a scene's real id (scn_…, as an export writes it) updates that scene, if you are a member of it. Each push is one commit on the scene's history.

A file or a folder goes through the same importer

daslab scene push   ./my-world.blueprint.json     # one file
daslab scene push   ./my-world/                   # the same scene as a folder
daslab scene export <sceneId> --json              # a live scene → my-world.blueprint.json
daslab scene export <sceneId> --out ./my-world    # a live scene → a folder

The folder keeps each note as markdown and each view as HTML, one file per cell, which reads better in a pull request. The blueprint is the same scene in one file, easier to paste or attach. daslab blueprint push <file> is the older command for the same job.

How a push merges with changes made in the app, what --strict and --replace do, and how credentials travel are the importer's rules, the same for a file as for a folder: Export and import states them once.

What a blueprint is not

  • Not configuration management. A push changes only the scene tree the file describes: not your account, not the workspace's other scenes.
  • Not a backup. It holds a scene's structure and the contents of its cells. Jobs, conversations and annotations stay out.
  • Not code. A blueprint declares a scene and has no loops or conditionals of its own. A schedule holds a prompt the agent reads when each job starts.

Reference

The full v1 format, every field and what it does: scenecast/docs/scene-blueprint.md.

What's next

Updated 2026-11-14