Skip to content

mizzle-dev/workflow-worlds

Repository files navigation

workflow-worlds

Custom World implementations for the Workflow DevKit.

What is a World?

A World provides the infrastructure layer for Workflow DevKit, handling:

  • Storage: Persisting workflow runs, steps, events, and hooks
  • Queue: Message passing for async execution
  • Streamer: Real-time output streaming

Quick Start

Using the Starter Template

  1. Copy the starter package:

    cp -r packages/starter my-world
    cd my-world
  2. Update package.json with your package name

  3. Install dependencies and verify tests pass:

    pnpm install
    pnpm build
    pnpm test
  4. Replace the in-memory implementations with your backend

Packages

Package Description Status
@workflow-worlds/starter In-memory World template for building custom implementations ✅ Ready
@workflow-worlds/mongodb MongoDB World using native driver ✅ Ready
@workflow-worlds/redis Redis World using BullMQ for queues, Redis Streams for output ✅ Ready
@workflow-worlds/turso Turso/libSQL World for embedded or remote SQLite databases ✅ Ready

Documentation

AI/LLM Resources

This repository is optimized for AI-assisted development:

Development

# Install dependencies
pnpm install

# Build all packages
pnpm build

# Run tests
pnpm test

License

MIT