Orchestrate work that outlives a request.

Publish a Program as a named, versioned Workflow. Coordinate agents and capability calls, wait for people or events, and resume after interruptions.

customer-onboardingv3
let docs = documents::ingest(input)
let draft = onboarding_agent(docs)

if draft.needs_review
  approval::wait(draft)

access::provision(draft)
return summary(draft)

Published as a versioned contract.Source, artifact, schemas, and topology stay together.

Illustrative Program and Run, not API syntax.

Explore the Run lifecycle

Run the published process.

The Run starts from a pinned version. Each completed call adds its outcome to the journal.

  1. Ingest documents Complete
  2. Prepare with an agent Running
  3. Wait for approval Not reached
  4. Provision access Not reached
Run onboarding-042 Version v3

Keep its place while it waits.

Approval parks the Run. The version, completed work, and pending decision survive the wait.

  1. Ingest documents Complete
  2. Prepare with an agent Complete
  3. Wait for approval Waiting for a person
  4. Provision access Not reached
Run onboarding-042 Version v3

Continue with the decision.

The recorded approval resumes this Run. Provisioning proceeds from its existing context.

  1. Ingest documents Complete
  2. Prepare with an agent Complete
  3. Wait for approval Approved
  4. Provision access Complete
Run onboarding-042 Version v3

Write once. Publish a contract.

The Program source defines the process. Publishing makes it an independently operated Workflow.

Express the actual control flow

Use branches, loops, parallel work, local transformations, and calls to capabilities, agents, or child Workflows. The topology is derived from the compiled source.

Bind the resources explicitly

A published Workflow names its own capabilities. It doesn’t depend on the originating agent’s ambient access.

Freeze a version

Publication retains the source, compiled artifact, input and output schemas, and topology. Each Run keeps the version and contracts it started with.

Operate the work after it starts.

Inspect and control a Run without needing the original conversation or actor.

Inspect
See the pinned version, inputs, outputs, effects, and event history.
Resume
Deliver an approval, signal, or callback to a waiting Run.
Recover
Continue from the pinned Program and recorded outcomes. Uncertain external writes park for resolution.
Cancel
Stop a Run through its controls, independently of the agent that started it.

Choose how it starts.

Call a Workflow directly or attach an Automation for recurring work.

An Automation starts an agent or Workflow from a schedule, check-in, or watcher. You can change the trigger without publishing a new Workflow version.

Program, Run, Workflow, Automation—what’s the difference?

A Program is source and its compiled artifact. A one-off Run executes within the current turn and cannot wait. A published Workflow adds a named, versioned contract with durable Runs. An Automation starts work when its trigger fires.

An external callback resumes an already waiting Run; it isn’t an Automation trigger.

What does the durable profile validate?

The same source is recompiled under stricter rules for replay-safe calls, bounded work, durable values, and allowed waits. Each activation executes from the pinned Program and recorded outcomes.

Agent Computers stay attached to their agents. A Workflow must bind its own supported resources.