🔀 Two Run Types
Prescriptive Runs
execute a.lobsterX DAG definition. The Convex interpreter walks the graph deterministically. No LLM tokens are spent on orchestration decisions.
Use prescriptive runs when:
- The process is well-understood and repeatable
- Steps, roles, and handoffs are known in advance
- Compliance requires a reproducible, auditable execution trail
- You need fine-grained control over failure handling and approvals
Delegated Runs
give an agent a goal and guardrails, then let it operate autonomously. The agent decides what to do, which tools to use, and when to hand off. Forge enforces cost limits, duration limits, handoff limits, and periodic checkpoints. Use delegated runs when:- The task requires adaptive reasoning that cannot be pre-scripted
- The agent needs freedom to explore, iterate, and course-correct
- You trust the agent within bounded constraints
- The outcome matters more than the exact sequence of steps
PRESCRIPTIVE VS DELEGATED
Prescriptive
.lobsterX DAGStep AStep B
↓
Step C
↓
Step D
Declared steps, deterministic graph walk, policy-driven failure. No LLM orchestration cost.
Delegated
Goal + Guardrails”Review the vendor…”
Cost limit: $50Duration: 1 hrHandoffs: 3 maxCheckpoints: 5m
Autonomous agent, bounded authority, adaptive reasoning. Agent decides next actions.
| Prescriptive | Delegated | |
|---|---|---|
| Definition | .lobsterX YAML file | Goal string + guardrails object |
| Execution model | DAG walk with parallel layers | Autonomous agent with bounded authority |
| Orchestration cost | Zero LLM tokens | Agent decides next actions |
| Failure handling | Per-step policies (halt, skip, retry, escalate) | Guardrail trips (cost, duration, handoff limit) |
| Human checkpoints | Approval gates in the DAG | Handoff requests from agent |
| Checkpoints | After every step completion | At configured intervals |
| Restart support | Restart from any failed step | Not supported |
| Branching | Branch from any checkpoint | Not supported |
🔄 Workflow Lifecycle
Every workflow moves through a defined lifecycle from authoring to completion.WORKFLOW LIFECYCLE
Author
Write .lobsterX or configure delegated goal.
Steps, roles, policies, contracts
version→
Deploy
Bind roles to agents. Select gateway.
Harden for single-agent or per-role
trigger→
Execute
Convex walks DAG, dispatches through governance gates.
Checkpoints saved after each step
terminal→
Complete
Audit trail finalized. Token costs bubble up.
Replay and analysis ready
📋 Workflow Catalog
The platform provides a centralized workflow catalog. Workflow definitions, deployments, and runs are accessible through the Platform API and operator interfaces. From the catalog, operators can:- Browse all registered workflow definitions with search and filtering
- View the
.lobsterXsource, DAG visualization, role list, and version history - Deploy a workflow by creating a deployment with role bindings and gateway selection
- Harden a workflow with one click — assigns a single capable agent to every role
- Start a run with runtime arguments from the launch dialog
- Monitor active and historical runs with real-time step progression
Run Status Board
The Runs view provides a real-time status board for all active and recent runs. Each run shows:| Column | Description |
|---|---|
| Status | running, completed, failed, cancelled, paused |
| Progress | Steps completed / total with visual progress bar |
| Operator Status | nominal, attention, critical — escalation indicator |
| Current Agent | Which agent is actively executing |
| Pending Approvals | Count of steps awaiting human decision |
| Cost | Accumulated token cost for the run |
| Duration | Wall-clock time since run start |
📌 Versioning
Workflow definitions are versioned with integer version numbers. Each version is immutable once deployed.- Pin at run start. When a run begins, the
.lobsterXYAML is serialized into theworkflowRunsdocument. The run uses this pinned definition for its entire lifetime, even if a newer version is deployed later. - Version history. All versions are preserved. Operators can view any version and compare changes.
- Deployment binding. Each deployment targets a specific workflow version. Upgrading a deployment to a new version does not affect in-flight runs.
- Sub-workflow versioning. Steps with
workflow_refcan pin a specific child version viaworkflow_version. If omitted, the latest active version is used.
Versioning is integer-based by design. There is no semantic versioning. Increment the version number whenever the step graph, roles, policies, or contracts change.
🔗 Role Bindings
Abstract roles in a.lobsterX file are resolved to concrete agents through a three-tier fallback at dispatch time.
Deployment role bindings (highest priority)
The deployment configuration maps role names to agent identifiers:
{ "risk_analyst": "claude-senior-analyst" }. The hardening process writes these bindings automatically, assigning one capable agent to all roles.Embedded agent_id
If the
.lobsterX role section includes an agent_id field, it is used directly. This is common when the AI generation pipeline matches agents during workflow creation..lobsterX file can execute across different environments — staging with lightweight agents, production with specialized agents — by swapping deployment bindings.
🚀 Next Steps
- Define workflows: .lobsterX Format
- Understand execution: Execution Lifecycle
- Use checkpoints: Checkpoints

