At AWS re:Invent 2026? See what we brought →

Workflows

One piece of work, done the same way every time.

A workflow is work coming in, an agent drafting, a script checking, a second reader checking, and a named person approving. Nothing sends itself. Workflows run in the factory, on the same rules, gates and reviewer as the code.

Code is one workflow. It isn't the only one.

Every workflow reads the same harness: the rules it follows, the skills it uses, the gates that stop it, and a reviewer that reads its work. Each one ends at a gate a person owns.

Sanvio FactoryOne harness, many workflows

Engineering

Issue in, reviewed pull request out

  1. Issue
  2. Plan
  3. Build
  4. Test and review
  5. Pull request
  6. You merge

At the show

Badge photo in, contact saved

  1. Badge photo
  2. Read the text
  3. Check it
  4. Save with a note
  5. You follow up

A business workflow

Records in, exceptions with an owner out

  1. Comes in
  2. Check the standard
  3. Flag mismatches
  4. Draft
  5. Your team signs off

Writing

Interview in, reviewed draft out

  1. Interview
  2. Draft
  3. Review
  4. Revise
  5. You publish

Every workflow reads the same harness

  • Rules
  • Skills
  • Gates
  • The guard
  • A reviewer
  • Lessons

How a workflow gets built

Four steps, each one a skill in Sanvio Factory. They're free and open source, and Building workflows has the full contract.

  1. 1Write down the work

    blueprint-workflow

    An interview about the last real time the work happened: what came in, what you checked it against, who signed off, what went wrong, and what must never happen. The never list becomes the hard stops.

  2. 2Build it from the rules

    build-workflow

    The rules become a numbered standard. A short script, the gate, checks every output against them, and a second agent reads what a script can’t. Test cases come with it.

  3. 3Prove it holds

    check-workflow

    Runs every test case: outputs the gate has to refuse, and a few only the reviewer catches. It prints PASS, or a list of what’s wrong.

  4. 4Run it

    run-workflow

    A draft lands in the workflow’s out folder, checked and reviewed, waiting for the person who signs off. Nothing sends itself.

You set the levers. Each step can wait for a person or run on its own once its gate has shown it catches what the person would. Most start gated.

An open example

The badge workflow we ran at AWS re:Invent

Someone sends a photo of a badge or a business card. The workflow reads only what's printed, checks it against the rules, and drafts one contact with a short note on the company, every claim sourced. A person checks it and saves it. Nothing goes to the person they met. The whole workflow is in the factory to copy: its rules, gate, reviewer and test cases.

Building yours with us

We start with one workflow. Two weeks of discovery, free, watching the work the way it really happens, and a written recommendation at the end: stop, use what you already have, connect your systems, or build. If it's build, we build the workflow into your own factory, run it next to the old way until the numbers match, and stay until your team owns it.