v0.1.1Experimental

ParallelNodeExecution,Simplified.

A workflow orchestration engine built on BullMQ and Redis. Execute complex DAGs with parallel processing, smart retries, and full type safety.APIs may change. Not recommended for production without thorough testing.

bun add @manyeya/spane
Scroll

How It Works

SPANE orchestrates your workflows with intelligent parallel execution and automatic dependency resolution.

Step 1

Enqueue

Step 2

Queue

Step 3

Execute

Step 4

Complete

DAG-based Flows
Parallel Execution
Auto Retries
State Persistence

Engineered for Reliability

Smart Retries

Exponential backoff with configurable max attempts. Failed jobs never get lost.

100%
% durable

State Persistence

Full workflow state saved to PostgreSQL. Resume exactly where you left off.

Circuit Breakers

Protection for external services built natively into the engine processor.

Sub-Workflows

Manage complexity by nesting workflows up to 10 levels deep.

DAG Validation

Automatic cycle detection and reachability analysis on registration.

Built for Scale

A minimalist engine that doesn't get in your way.

Parallel Execution

Built on BullMQ, SPANE natively handles thousands of parallel node executions across multiple workers.

DAG Orchestration

Define complex Directed Acyclic Graphs simply. The engine handles all dependency logic and data flow.

Native Type Safety

Written in TypeScript, providing full end-to-end type safety for node configurations and execution results.

Highly Extensible

Create custom executors for any task. HTTP, Database, AI Workers, or anything you can code.

Real-world Orchestration

From inventory management to payment processing, SPANE handles the complexity.

Full documentation
order-pipeline.ts
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
TypeScriptBullMQRedisPostgreSQLDAGRetries
Open Source • MIT License

Start Processing at Scale

Join developers exploring workflow orchestration with SPANE. An active research project with evolving APIs and features.

Experimental - APIs May Change
TypeScript First
BullMQ Powered

Built with love for the open source community