Agent Workflow Lab — Compose Plans Without Executing Imported Code
A local-first workflow composer where agents, skills, prompts, parameters, and source specimens stay inspectable—and execution is always a deterministic simulation.
What this rebuild studies
The historical Agent Workflow System exposed a compact behavioral idea: choose from an agent palette, arrange a sequential workflow, configure its steps, save or exchange the plan, and inspect results. Agent Workflow Lab rebuilds that interaction model as an original offline teaching tool rather than reviving the historical implementation.
Clean-room boundary
The linked artifact was used only as a black-box behavioral reference. This lesson does not copy its source, wording, styling, branding, agent catalog, or assets. The new palette, workflow schema, visual language, validation rules, simulation receipts, semantic API, and accessibility behavior were designed independently.
Imported Python or JavaScript is treated only as data because an unknown file should not gain execution authority merely by entering a planning tool. The demo reads a bounded specimen as plain text, records inert metadata such as language, character count, and line count, and round-trips that text in JSON. It never uses eval, dynamic functions, script injection, event-handler markup, or a network-backed runner.
The exact clean-room prompt
Using the public Agent Workflow System only as a black-box behavioral reference, build an original local-first workflow designer with an agent palette, ordered configurable steps, agent and skill selection, prompt and JSON parameter editors, JSON import and export, persistence and deterministic simulated execution. Do not copy source, wording, styling or assets, and do not execute imported Python or JavaScript.
Acceptance checks
- Users can add, reorder, edit, enable, disable and delete at least three steps.
- Invalid JSON parameters produce a validation message without changing saved state.
- Export followed by import reproduces workflow name, order and settings.
- Running displays one deterministic result for each enabled step only.
- No network request occurs during workflow execution.
What to notice
Start with the seeded four-step plan, disable one step, reorder another, and edit a prompt. Enter malformed parameter JSON and inspect the unchanged saved-value preview. Then export the workflow, reset it, and import the export again. The run receipts should return in the same order with the same signatures for every enabled step.
Prompt
Using the public Agent Workflow System only as a black-box behavioral reference, build an original local-first workflow designer with an agent palette, ordered configurable steps, agent and skill selection, prompt and JSON parameter editors, JSON import and export, persistence and deterministic simulated execution. Do not copy source, wording, styling or assets, and do not execute imported Python or JavaScript.
Paste into your favorite AI and adapt it to your context.
What I learned shipping it
- A workflow editor is safer when draft input and committed configuration are separate states: validation becomes a transaction boundary instead of a warning after mutation.
- Treating imported code as inert data preserves useful evidence without granting an unknown file execution authority.
- Deterministic simulation makes plans reviewable: the same enabled steps and settings yield the same ordered receipts without a network, clock, or random dependency.