WeaveNet
Petri net-based distributed workflow orchestration platform
Durable Workflows
for Everyone
Discover, share, and deploy workflow templates. Build automation faster with community-driven process definitions that scale with your organization.


Overview
WeaveNet is a workflow automation platform that I built on Petri net formalism (evolved from a previous FSM based implementation). It enables users to design, deploy, and execute business process workflows using a declarative YAML DSL, with visual workflow builder, multi-tenant support, and enterprise integrations.
WeaveNet is an active project. A real-world MVP deployment is underway with an initial client, and the project is currently evaluating market fit through the WeaveNet Pilot Program with prospective engagements in discussion.
Architecture
- Loom WorkerCore Petri net execution engine. Consumes workflow instances from a durable queue, evaluates transition guards, fires actions, and persists state to MongoDB.
- GatewayAPI gateway handling workflow execution requests (start, resume, cancel), dead letter queue management, and request routing.
- Repository (Backend)Template and application CRUD, user profiles, organization management, API keys and webhooks.
- Repository (Frontend)Nuxt 4 web application with a Vue Flow-based visual workflow builder, Monaco editor for YAML, and dashboard.
- ObservabilityFull LGTM stack (Prometheus, Grafana, Tempo, Loki, OpenTelemetry Collector).
Tech stack: Node.js · Typescript · Express · Mongodb · Rabbitmq · Redis · Docker · Vue 3 · Nuxt 4 · Tailwind
Key capabilities
- Steps DSL
Declarative workflow definitions with places, transitions, guards, and actions
- Actions API
HTTP calls, transforms, conditionals, sequences, parallel execution
- Saga compensation
Built-in compensating actions for distributed transaction rollback
- Human-in-the-loop
Wait states with external resume signals for approvals and reviews (webhook-based)
- Fork/join parallelism
Native support for parallel branching and synchronization
- Inhibitor arcs
Mutex patterns using Petri net inhibitor semantics
- Multi-tenant
Organization-scoped applications, profiles, and API keys
Clients
- Hawkstow Construction CompanyAntipolo, Rizal
Bookkeeper Agent that handles receipt capture and ledger entry automation right in their own communications channel (discord), reducing manual bookkeeping overhead. An initial deployment with potential to expand across other operational functions.
Active Pilot
Have a workflow that needs fork/join, compensation, or human-in-the-loop?
The WeaveNet Pilot Program is open. Fixed scope, low cost, real production deployment in exchange for design partnership and references.