Worlds Engine
Workflow orchestration without the complexity
Worlds Engine
Built by Floris from XYLEX Group
Worlds Engine is a workflow orchestration system for developers who don't want to deal with Temporal's complex UI and arcane SDK. It provides powerful workflow capabilities with a simple, intuitive API.
Why Worlds Engine?
- Simple API: No arcane concepts - just workflows, activities, and clear execution patterns
- Type-Safe: Full TypeScript support with compile-time safety
- Event Sourcing: Deterministic replay for crash recovery
- Saga Pattern: Built-in compensation logic for distributed transactions
- Auto-Scaling: Workers scale automatically based on workload
- Multiple Storage: Memory, file, or hybrid persistence
- Flexible Deployment: Single process, multi-process, or containerized
Quick Start
npm install worlds-engine
import { World, workflow, activity } from 'worlds-engine';
const greet = activity('greet', async (ctx, { name }) => {
return `Hello, ${name}!`;
});
const welcomeWorkflow = workflow('welcome', async (ctx, input) => {
const greeting = await ctx.run(greet, input);
return { message: greeting };
});
const world = new World();
world.register(welcomeWorkflow, greet);
await world.start();
const handle = await world.execute('welcome', { name: 'World' });
const result = await handle.result();
console.log(result.message);
Documentation Sections
- Getting Started - Installation and first workflow
- Core Concepts - Architecture and design
- Workflows - Creating and managing workflows
- Activities - Defining business logic
- Retry & Error Handling - Resilience patterns
- Saga Pattern - Distributed transactions
- Scheduling - Cron and one-time schedules
- Storage - Persistence options
- Scaling - Auto-scaling and workers
- Monitoring - Metrics and observability
- Testing - Test utilities and patterns
- Deployment - Production deployment
- API Reference - Complete API docs