Tool Open source

waymark

waymark is a library for durable distributed background workflows. It uses Postgres as its only infrastructure dependency; Python is the first supported language, and workflows are written as ordinary async code with actions for independently retriable work and workflows for control flow.

View repository Visit site Mentioned in 1 video ↓

Overview

At the first run or schedule, the Python SDK parses the workflow's `run()` method into an intermediate representation, lowers it to bytecode for a durable virtual machine, and executes it with a Rust runtime. The runtime snapshots the VM state to Postgres, allowing loops, conditionals, parallel branches, retries, timeouts, schedules, and durable sleeps to resume after crashes without replaying the original workflow definition. The package includes client and server binaries, including an executor with a web application that displays workflow instances, call timelines, and node load.

The project is open source and distributed as a Python package. Its README says it should not yet be used in production because the specification is changing and backward compatibility is not guaranteed before version 1.0.0.

What waymark is used for

1 use taken from transcripts — each links to the moment in the video.

  • A library for durable background tasks that survive server restarts, crashes, and long-running jobs, built on a Rust runtime with Postgres as its only dependency. Workflows are ordinary async Python compiled once and run on a durable virtual machine.

    unverified Github Awesome

Videos mentioning waymark

1 in the library.