# Change your process any day. *The work in flight keeps going.*

> Change your business processes any day, with work in flight. Osy# workflows keep their place through restarts and releases, share the work between people and AI agents, and carry running work onto your new version.

Page: https://osyrin.com/workflow-engine · Index for agents: https://osyrin.com/llms.txt

The Osy# workflow engine

An approval waits a week for a manager, a claim waits for a document, an order waits for a carrier. With Osy#, that work keeps its place through restarts and releases, reaches the right person or AI agent under your rules, and moves onto your improved process the day you ship it.

[Install the osy CLI](https://osysharp.com/install) · [See the comparison](https://osyrin.com/workflow-engine#compare) `osy docs workflow`

- Ship any day · Our own build board took 80+ live updates in two weeks, with more than 2,000 workflows running at its busiest.
- One truth · The status your team sees is the process itself. Nothing to sync, nothing to drift.
- Charged once · A payment that went through is not repeated when a step is retried or resumed.
- Caught first · A change that would strand work is stopped before it ships, naming the step.

What your business gets

## Processes that keep their place, whoever does the work

Each of these is in the language today. The code beside it is real, from the Osy# reference and demos, so you can see how little of it there is.

### Every report shows where the work really stands (Live, One source of truth)

The process lives on the record it moves. An invoice's status is the approval's own state, so a list, a dashboard or a report always agrees with what is actually happening. There is no second system to ask and nothing to keep in step.

- **Starts the moment the record exists.** Save a new invoice and its approval has already begun.
- **Status nobody can fake.** Only the process moves it. Code that sets it by hand does not compile, and any other write is refused.
- **Screens that offer only what is possible.** Your pages can ask what each record can do next, so a button appears only when the step is allowed.

An invoice approval that escalates by itself · compiled

```
enum InvoiceStatus { Submitted, Approved, Escalated }

entity Invoice {
  [Required, MaxLength(60)] string Reference;
  decimal Amount;
  InvoiceStatus Status = InvoiceStatus.Submitted;
}

workflow Approval {
  Tracks  = Invoice.Status;
  Initial = Submitted;

  event Approve();

  state Submitted {
    Expire = TimeSpan.FromDays(2);    // nobody acted → the clock acts

    subscribe Approve();              // a person acts → a transition
    on Approve { goto Approved; }
    on Expire  { goto Escalated; }
  }
  terminal success Approved { }
  terminal cancel  Escalated { }
}
```

## Improve the process while thousands of cases are mid-flight (Live, Versioning and live migration)

Real processes wait for days, and the business does not stop changing while they wait. Most engines leave you two choices: hold the change until old work drains, or keep old code alive until the last case is done. With Osy# you ship the better process today, and the work already under way moves onto it, every case in its right place.

80+ live updates to our own build board in two weeks, with more than 2,000 workflows in flight at its busiest. Each update carried the running work onto the new version, with no waiting for it to finish.

choice 1 · let it finish

#### Work in progress ends the way it began

Old and new versions run side by side, and each case can finish on the version it started on.

Move it later, in a window you choose. Nothing is lost by waiting.

choice 2 · step by step

#### Move just the work that needs it

Say, step by step, what each one means in the new version: stay, move to a renamed step, or close with a reason that goes on the record.

The same move can update the case's own data, all or nothing.

choice 3 · everything

#### Bring every case onto the new version

The release moves the running work as its last act. Who holds each task, every deadline and every link already sent out move with it.

A case several releases behind catches up one release at a time, in order.

A migration: one line per step · checked at compile and deploy

```
migration OrderFlow v2 -> v3 {
  on Submitted       { keep; }
  on AwaitingPayment { goto Reviewing; }
  on Abandoned       { terminate cancel "no route"; }
  on Fulfilling      { keep; reenter; }

  on Escalated {
    this.Item.Priority = 3;
    goto Reviewing;
  }

  on AwaitingApproval {
    keep;
    rename slot Payer -> Payee;
    drop slot LegacyApprover;
    carry clock Finished on Payee;
  }

  map event Submit(amount) -> Submit(amount, source = "callback");
}
```

### Checked before it can hurt anyone

- **No step forgotten.** Every step where work can be waiting must be answered. Miss one and the release stops, naming it.
- **Deadlines change on purpose.** Shorten a promise your customers are waiting on, and you decide whether the clock carries on or starts again.
- **Links already sent keep working.** A supplier who got a link last week can still use it after the change.
- **Mostly written for you.** The compiler drafts the file and leaves open only the decisions that are yours.

### Rehearsed before it runs for real

Before a change ships, `osy migrate prove` parks one case on every step of the old version, applies your change, and checks that each one waits, keeps its deadlines and reacts to its next timer exactly like a case started fresh on the new version. It covers the steps nobody happens to be waiting in today.

When Osyrin moves your app to a newer platform release, the move can be rehearsed on a copy of your data with the tests you shipped, and a backup is taken before anything is written.

A rehearsal finds the one step with nowhere to go · console

```
Compiling the old version (main)…
Parked 7 run(s) on app.
Migration proof app → app_v2
  OrderFlow, 6/7 state(s) passed
    ✓ AwaitingPayment: moved
    ✓ Review: moved → Reviewing (Expire: the new handler ran)
    ✗ Hold: refused
        refused: state 'Hold' has no match in 'app_v2'
6 of 7 state(s) passed; 1 failed.
```

### Work reaches the right person, and nothing sits forgotten (Live, Human in the loop)

Say who may take a piece of work, what it waits on and how late is too late. The engine runs the queue, the reminders and the escalation, so a request never quietly stalls on someone's desk.

- **The right people, by rule.** Finance approves finance work, and four-eyes is one line: the second approver can't be the first.
- **Approvals in the right order.** The CFO is asked only after the manager and finance agree, and only for large amounts.
- **Deadlines that act.** Late work is reassigned, handed back to the team or escalated. Reminders go out on a schedule, in business hours if you like.
- **Inboxes, ready made.** Each person sees what they can act on, live, with the time left on every task.
- **People without an account can answer too.** A supplier gets a one-time link that completes exactly one task.

An expense approval with three approvers · compiled

```
workflow ExpenseApproval {
  Tracks    = Expense.Status;
  Autostart = true;
  Initial   = Approvals;
  RunsAs    = ExpenseApprovalRouter;

  event Approve(Decision decision);

  state Approvals {
    subscribe Approve(Decision decision) as Manager {
      Assignee = this.Item.Employee.Manager;
      Finished { Within = TimeSpan.FromDays(2);  Unfinished { goto Rejected; } }
    }

    subscribe Approve(Decision decision) as Finance {
      Candidates = u => u.Department == Dept.Finance;
      Assigned   { Within = TimeSpan.FromHours(4); }
      Finished   { Within = TimeSpan.FromDays(2);  Unfinished { goto Rejected; } }
    }

    subscribe Approve(Decision decision) as Cfo {
      When       = this.Item.Amount > 10000;
      After      = [Manager, Finance];
      Candidates = u => RoleGrant.Any(g => g.Grantee == u && g.Level == AppRole.Cfo)
                        && u != Manager.Assignee;
      Finished   { Within = TimeSpan.FromDays(3);  Unfinished { goto Rejected; } }
    }

    on Approve(Decision decision, Slot slot) {
      when (decision == Decision.Reject) {
        this.Item.RejectedBy = slot.Assignee;
        goto Rejected;
      }
      default {
        new Approval { Expense = this.Item, By = slot.Assignee, At = DurableClock.Now };
      }
    }

    on Complete { goto Approved; }        // every slot that EXISTS is satisfied
  }

  terminal success Approved { }
  terminal error   Rejected { Message = "expense rejected"; }
}
```

### AI agents take steps in the process, inside the same rules as people (Available, Agents kits, preview, AI agents)

Hand the routine checks to an AI agent and keep control of the outcome. If the agent finishes, fails, is stopped or runs out of budget, your process decides what happens next, and a person can take over.

- **An account of its own.** Working for a person, an agent reads and changes only what both of them may.
- **Asks before it acts.** You decide what it does alone, what it must propose and what it never does. A proposal shows exactly what it wants to do and why.
- **You see what each case cost.** Every AI call is charged to the case that asked for it, with a limit per case.
- **Gets better as you correct it.** Lessons drawn from people's corrections take effect only when someone approves them, and can be rolled back.

Read more in the agents guide on [osysharp.com](https://osysharp.com/).

A supplier check by two agents, with a person as the fallback · syntax

```
workflow Qualification {
  Tracks = Supplier.Stage; Initial = Screening;
  state Screening {
    enter {
      var check = await Agents.Of<Screener>().For(this.Item).Do(new CheckDocuments(), this.Item);
      if (check.Done && !check.Result.Complete) { goto Incomplete; }      // the typed result decides
      goto Assessing;
    }
  }
  state Assessing {
    enter {
      var risk = await Agents.Of<Assessor>().For(this.Item).Do(new AssessRisk(), this.Item);
      if (!risk.Done) {
        Processes.Problem("The assessor could not finish, so the risk officer assesses this supplier by hand.");
        goto ByHand;
      }
      goto Deciding;
    }
  }
}
```

What an agent may do on its own · syntax

```
[Actor(Roles = [ShopRole.Helper])]
public class Estimator : Agent {
  public override Permits May => new Permits {
    Alone = [Actions.Of(NoteRepair)],          // it writes its note by itself
    Never = [Actions.Of(ScrapRepair)],         // and it never scraps a repair
  };                                           // everything else that changes anything is PROPOSED
}
```

### Durable by default, so nobody gets charged twice (Live, Durable execution)

A process can wait on a person, a timer or another process for days, and pick up exactly where it was, even in a release that did not exist when it began.

- **Retries are safe by default.** Every call to another system is recorded as it happens, so after a restart or a retry a call that worked is read back, not made again. There is nothing to mark and nothing to forget.
- **Failures are tried again.** A call that failed is asked again; the ones that worked before it are kept.
- **Undo built in.** Each step can carry its undo, so a refund follows a charge when an order falls through later.
- **Deadlines that survive restarts.** Expiries and reminders are stored with your data and fire on time, whatever happened to the servers in between.

An order that reserves, charges and can undo both · compiled

```
await using var saga = Workflow.BeginSaga();
try {
  var reservation = Workflow.Once("make-reservation", () => new Reservation { Fulfillment = this.Item });
  await saga.Run("reservation", reservation, () => ReleaseStock(reservation, trace));

  var charge = Workflow.Once("make-charge", () => new Charge { Fulfillment = this.Item });
  await saga.Run("charge", charge, () => RefundCharge(charge, trace));

  saga.OnUnwind(() => ReleaseHold(trace));
  …
```

Calls that are safe to retry, with nothing marked · syntax

```
on Expire {
  var hold = Http.Post(Stock + "/holds", body, "application/json");    // 200: read back on the retry, not held twice
  var r = Http.Post(Carrier + "/send", mail, "application/json");      // 503: asked again on the retry
  if (!r.IsSuccess) { throw new ExternalServiceException("the carrier answered " + r.StatusCode); }
  goto Sent;
}
```

### You can always say who did what, and who was allowed to (Live, Security in the engine)

Access rules are part of the process, so they hold on every way into it: a page, an API call, an AI tool, a webhook or a test. An auditor's question has an answer on the record.

- **Background work acts as someone.** The process runs as a named account with its own roles, and every change it makes is stamped with that name.
- **Only the right people can trigger a step.** Who may cancel an order is decided in one place, checked first, and a refusal goes on the record.
- **Only the right people hold the work.** The rule for who may take a task is checked on every claim and every hand-over.
- **Data rules hold inside the process too.** It sees and changes only what your rules allow, like any other code.
- **Who acted, and for whom.** Every step records the person whose action drove it, apart from whose queue the work sat in.

Coming Every case will record who asked for it, and the process will reach no further than that person could.

An order desk that acts, and a rule for who may cancel · compiled

```
[Actor]
public class OrderDesk { public static Staff Principal => new Staff { Name = "Order desk", Email = "order-desk@example.com" }; }

workflow OrderLifecycle {
  Tracks    = Order.Status;
  Autostart = true;
  Initial   = Placed;
  RunsAs    = OrderDesk;

  [Authorize(u => RoleGrant.Any(g => g.Grantee == u && g.Level == AppRole.Manager))]
  event Cancel();

  state Paid {
    subscribe Ship(string tracking) as Fulfil {
      Candidates = u => RoleGrant.Any(g => g.Grantee == u && g.Level == AppRole.Fulfillment);
    }
    on Fulfil(string tracking) {
      this.Item.Tracking = tracking;
      goto Shipped;
    }
  }
  …
}
```

Included

## The screens and tools around a process come with it

You don't build an inbox, an audit trail or a dashboard for each new process. They come from the same few lines that describe it.

#### Inboxes that update themselves

Queues, work boards and next steps appear live in your app's pages. Act on a task and it leaves the queue.

#### Open to other systems and AI tools

Let another system or an AI assistant move a case through an API or a tool, under the same rules as a person.

#### The full story of every case

Every step, hand-over, reminder, missed deadline and refusal is on the record, ready to filter and count.

#### See where the time goes

Lead time split into working time and waiting time, step by step, even for cases that finished before anyone asked.

#### Know why work is waiting

One command names what a case waits for, who may act on it and when its next deadline falls.

#### Find the fault fast

Open a finished case at the line that failed, with the values it saw. Breakpoints work in your editor.

#### Test a week in a second

Tests in the same language, with a clock you move forward, so deadlines fire on demand and outside calls are stubbed.

#### Many reviewers at once

Send one task to a list of reviewers and move on when enough of them have answered.

#### Deadlines that keep office hours

Clocks count only within the opening hours and holidays you set.

Side by side

## Three real jobs, and how much your team has to build for each

Camunda 8, Temporal, n8n and AWS Step Functions can all do these jobs. What differs is the effort: how many systems you run, how much glue your team writes and keeps working, and what still holds when the process changes. Here is that effort, job by job.

job 1 · a request, end to end

### A customer claim with an AI check, a team approval, an escalation and a payment

A customer files a claim. An AI agent checks it against the order. Finance approves it, and if nobody picks it up within four hours it goes to the team lead. The refund is paid through the payment provider, exactly once. Customers see only their own claims, and every step records who acted.

What you build and wire yourself

Process engine + Workers or functions + App database + Auth service + Task inbox UI + Status sync

|  | You run | You write by hand | Who may act, who sees what |
| --- | --- | --- | --- |
| Camunda 8 | Zeebe, Operate, Tasklist and Identity, beside your app and its database. | Job workers for the agent call and the payment, an idempotency key for the charge, and code that copies process status onto your row. | Candidate groups in Tasklist; which claims each person may read is enforced again in your own API. |
| Temporal | Temporal Service or Cloud and your worker services, beside your app and its database. | Activities for the agent and the payment, signal handlers, your own task table, inbox and assignment logic, and status sync to your row. | Checked in your API before it sends a signal; row access is your application's job. |
| n8n | An n8n instance, beside your app and its database. | HTTP nodes for the agent and the payment, a wait with a timeout branch for the escalation, a form or chat message for the approval, and a write-back to your database. | Whoever receives the form or message can answer; data access is your app's job. |
| Step Functions | The state machine, Lambda functions, a database, Cognito and API Gateway, plus your UI. | Lambdas for the agent and the payment, storing task tokens and calling back from your approval UI, a timeout path for the escalation. | IAM for the AWS calls; who may approve and which rows each user sees live in your Lambdas and API. |

What you write in Osy#

excerpts from the Osy# demos and reference · compiled

```
// who sees which rows: once, on the entity
security { allow read where Owner == user; }

// the AI check: a typed step, charged to the run
var check = await Agents.Of<Screener>().For(this.Item).Do(new CheckDocuments(), this.Item);

// the approval, its pool and its escalation
subscribe Approve(Decision decision) as Finance {
  Candidates = u => u.Department == Dept.Finance;
  Assigned {
    Within = TimeSpan.FromHours(4);
    Unassigned(Slot approver) {
      var lead = Person.Single(u => approver.Candidates(u) && u.IsLead);
      approver.Assign(lead);
    }
  }
}

// an outbound call: recorded, never made twice
var r = Http.Post(Carrier + "/send", mail, "application/json");
```

- **The inbox exists already.** `Workflow.Inbox<Claim>()` is each person's queue, live.
- **The status is the row.** Nothing to copy back, because the workflow drives the field.
- **Every path is covered.** Rules hold for pages, REST, MCP tools and webhooks alike.

- **4 to 6 systems** — engine, workers, database, auth, UI, sync
- **1 model** — entities, workflow, rules and agent in one app
- **Checked before deploy** — by the compiler, not discovered in production

job 2 · change the process with work in flight

### Ship a changed version while hundreds of claims are mid-flight

You rename a state, add a second approver and cut an SLA from four hours to two. Hundreds of claims are waiting at different steps, some with a person, some on a timer, some with a supplier holding a callback link.

What you build and wire yourself

Versioned definitions + Migration script or patches + Workers for both versions + Database migration + Status sync for both

|  | What happens | You write by hand | What can still break |
| --- | --- | --- | --- |
| Camunda 8 | The new version deploys beside the old; running instances stay on the old one. | A migration plan with mapping instructions per element, run as a batch in Operate or through the API, while workers and your status copy serve both versions. | Some changes cannot be mapped, and problems surface when the batch runs. |
| Temporal | Running workflows must still replay against the new code. | `patched` or `GetVersion` branches kept until old runs finish, or old workers kept alive under worker versioning, plus replay tests against saved histories. | There is no mapping of where a run stands; a missed branch is a non-determinism error at run time. |
| n8n | Waiting executions are not moved onto the edited workflow. | Let them finish on the old logic, or cancel and re-run them, and repair your data by hand. | Nothing checks the change against the runs in flight. |
| Step Functions | A new version publishes; running executions finish on theirs. | To move work: stop executions and start new ones with hand-built input, with Lambdas compatible with both. | Nothing maps an execution's position or its timers. |

What you write in Osy#

The change, one line per step · checked at compile and deploy

```
migration OrderFlow v2 -> v3 {
  on Draft          { keep; }
  on AwaitingPayment { goto AwaitingSettlement; }
  on AwaitingApproval {
    keep;
    carry clock Finished on Payee;
  }
}
```

terminal · console

```
osy compile --generate-migration
osy migrate prove --from main
osy deploy --migration <file>
```

- **The compiler asks the right questions.** Every step where claims wait must be answered, and the shorter deadline needs your decision before the release goes out.
- **Rehearsed on every step** before it ships. Then the release moves the claims, with their tasks, deadlines and links.

- **Scripts, patches, old workers** — kept alive until the last old run is done
- **One file per change** — one line per state, next to your schema migration
- **Refused, not broken** — a gap stops the deploy, naming the state

job 3 · answer for the work

### Tell the auditor who approved, and the operator why it is stuck

Months later, someone asks who approved claim 4711 and on whose behalf. Today, the operator asks why 30 claims have waited three days, and who could move them.

What you build and wire yourself

Engine history + Your own audit table + SLA tracking + Operator dashboard + Joins to business data

|  | What you get | What you add yourself |
| --- | --- | --- |
| Camunda 8 | Instance history and incidents in Operate; durations in Optimize. | Joining task history to your business rows and your own users; a status view for customers. |
| Temporal | A full event history of every signal, timer and activity. | Who sent a signal is known only if you put it in the payload; queues, SLAs and "waiting on whom" are yours to model and show. |
| n8n | An execution log per run. | Approver identity is whatever the form captured; SLA reporting is yours. |
| Step Functions | Execution history, CloudWatch and X-Ray. | Who approved is known only if your approval API records it; SLA tracking is yours. |

What you write in Osy#

already there · syntax

```
ExpenseApproval.For(expense).Audit   // every transition, claim, reminder, refusal
Workflow.Work<Expense>()             // open slots: budget, elapsed, remaining

osy workflow-run <id>                # why it waits, and who may act
```

- **Who acted, always.** Every change is stamped with the person or actor that drove it.
- **SLAs you declared are SLAs you can read,** with flow metrics per state.

- **Assembled per project** — history, audit, SLA and dashboard joined by hand
- **Part of every run** — timeline, actor and deadlines from the declaration
- **Readable in your app** — typed, live, under the same rules

## Capabilities at a glance

|  | Osy# | Camunda 8 | Temporal | n8n | AWS Step Functions |
| --- | --- | --- | --- | --- | --- |
| Modelling | **Declarative state machine** in a typed language, next to the entities it moves. | BPMN 2.0 diagrams (plus DMN), executed by Zeebe; logic in job workers. | Workflows as ordinary code in an SDK, made durable by deterministic replay. | Visual node graph, with JavaScript or Python code nodes. | Amazon States Language (JSON or YAML), with a visual editor. |
| Where state lives | **On the business row** (`Tracks`), in the app's database and the same transaction. | In the engine's partitioned log, exported for Operate; your business data lives elsewhere. | In the Temporal service's event history; your database is kept in step by activities. | Execution data in n8n's own database. | In the execution's JSON state inside AWS, with a payload size limit. |
| Typing and compile checks | **Compiled.** States are enum members, events and guards are typed, SLAs and migrations are checked, writes to the state field are refused. | Model linting in the Modeler; process variables are untyped JSON. | Your SDK language's types; non-determinism shows up at replay. | Checked at run time; expressions are untyped. | Definition validated on save; data paths resolved at run time. |
| Human in the loop | **Built in:** slots, Candidates, claim and hand-over, ordering, quorums, SLAs with breach arms, reminders, typed inboxes, links for people without accounts. | BPMN user tasks, Tasklist, forms, candidate users and groups. | Signals and updates; task lists, assignment and UI are yours to build. | Wait node, forms, and send-and-wait steps on chat and email nodes. | Task tokens for callbacks; the inbox and UI are yours to build. |
| AI agents | **Agents as declared actors** with their own account, permits, propose-before-acting approvals, typed results and cost charged to the run. | AI agent connector for agentic steps inside BPMN. | A popular base for durable agent loops written in code; governance is yours. | AI Agent nodes with a wide choice of model and tool nodes. | Direct calls to Amazon Bedrock and other services. |
| Versioning and live migration | **Per-state migrations**, exhaustive and compiler-checked; slots, clocks and callback links carried; proven on every state before deploy; stay, by-state or move-all. | Running instances stay on their version unless moved with process instance migration and mapping instructions. | No state mapping: code changes are guarded with patching (`patched` / `GetVersion`) or worker versioning, so old histories still replay. | No migration of waiting executions to a new workflow version. | Versions and aliases; a running execution finishes on its version. |
| Security model | **In the declaration:** `RunsAs` actors, fail-closed `[Authorize]` doors, Candidates per slot, row-level rules in bodies, every change stamped. | Identity with OIDC and resource authorizations; data rules in workers are yours. | mTLS, namespaces, a pluggable authorizer and payload encryption; row rules are yours. | Users, projects and roles; a credentials store. | IAM roles and policies per state machine and task. |
| Multi-tenancy and policy | **Organizations on Osyrin**; the organization's policy applies on top and can only narrow. | Tenant ids across engine and tools. | Namespaces. | Projects; separate instances for hard isolation. | AWS accounts and IAM. |
| UI | **Your app's own pages**, live, from `Inbox`, `Work` and `Transitions`; a run drawn on a canvas (preview). | Modeler, Tasklist, Operate and Optimize. | Web UI for operators; end-user UI is yours. | Editor canvas and execution log. | AWS console and Workflow Studio. |
| API surface | **Typed raise** from any function; REST endpoints and MCP tools by declaration; callback links; correlation keys for webhooks. | REST and gRPC APIs, client SDKs, message correlation, connectors. | gRPC API and SDK clients: signals, queries, updates. | Webhook triggers, a REST API and a large integration catalogue. | AWS APIs and SDKs; direct integrations with many AWS services. |
| Observability | **Run timeline**, flow metrics per state, traces to the source line, and a command that says why a run waits. | Operate for instances, Optimize for analytics, exporters. | Full event history per execution, metrics and tracing. | Execution log per run. | Execution history, CloudWatch and X-Ray. |
| Testing | **Tests in the same language**, a test clock, timers fired on demand, stubbed calls, a debugger, and `osy migrate prove`. | Process test libraries with an embedded engine. | Test environments with time skipping, and replay tests against saved histories. | Manual runs with pinned data; evaluations for AI workflows. | The TestState API for single states. |
| Hosting and ops | **Osyrin Cloud**, and a full local platform for development; one database, no separate engine cluster. Self-hosted production is coming. | SaaS, or self-managed on Kubernetes with brokers, gateway and a search store. | Temporal Cloud, or a self-hosted cluster of services plus its database. | n8n Cloud, or self-hosted under its fair-code licence. | Fully managed, on AWS only. |

Competitor details come from their public documentation. Features and editions change, so check the current release when you evaluate.

Osy# is built for the process at the heart of a business application, where people and agents do the work, the status lives on your data, the rules hold on every path, and the process keeps improving while work is in flight. Also looking at **Inngest** or **Airflow**? They run durable functions and data pipelines; the human work, the status on your records and moving waiting work to a new version are still yours to build.

How it fits

## Less to run, and nothing to keep in step

With a separate engine, every process needs a database, an access layer and screens around it, plus the code that keeps them agreeing. In Osy# they are one description, so your team maintains one thing.

#### A typical stack

Process engine · instances, timers, its own store

sync: instance id ↔ row id, status mirrored

Application database · the business rows, a status column copied from the engine

glue: who may complete this task?

Auth and permissions · checked again in every worker and endpoint

glue: task list API, polling, refresh

Task UI and admin screens · built and kept in step by hand

#### Osy#

Entity + workflow · the state is a field on the row; the engine owns how it moves

Security in the declaration · actors, doors on events, Candidates, row-level rules

Generated surfaces · live inboxes and boards, REST, MCP, timeline, metrics

Migrations in the same file set · schema and running workflows move together, checked

Nothing to keep in sync, because there is only one copy of each fact.

For the evaluator

## What you will want to know, and how to try it

**Nothing extra to run**

Cases, tasks, deadlines and step results live in your app's own database, beside the records they move.

**Starts with the record**

Save a record from your app and its process has begun before the save returns. Records from imports and webhooks start moments later, and starting twice does nothing.

**Nothing lost in a rush**

A start held back by your plan's rate, or during a release, waits in line and starts later.

**Picks up where it was**

After a restart or a release, a case resumes at the step it had reached, and calls that already worked return their saved answers.

**Safe under load**

Each case moves one step at a time, and moving it to a new version is all or nothing, data changes included.

**Reminders, not floods**

Deadlines and reminders fire after restarts and releases. Reminders missed while a server was down are sent once, not in a burst.

### Try it on your machine

Install the CLI from [osysharp.com/install](https://osysharp.com/install). Everything below runs against a local platform with no account.

terminal · console

```
# a new project, and a local platform
osy init --agent claude
osyrin dev

# the workflow reference, in your terminal
osy docs workflow

# tests, with a test clock
osy test

# what is in flight, and why one run waits
osy workflow-runs
osy workflow-run <id> --raise Approve

# change a state, then prove the migration
osy compile --generate-migration
osy migrate prove --from main
osy migrate --dry-run
```

## See it carry your own process

Bring the workflow that hurts most today. Write to [contact@osyrin.com](mailto:contact@osyrin.com) and we will build it with you.

[Install the osy CLI](https://osysharp.com/install)

Osy# is the language. Osyrin is the application operating system it runs on, and Osyrin Cloud runs it for you.
