# alibaba/compileflow

🎨 core business process engine of Alibaba Halo platform, best process engine for trade scenes. | 一个高性能流程编排引擎

Repository: https://github.com/alibaba/compileflow
Canonical: https://ross.abutalabs.com/products/compileflow
Language: Java
License: Apache-2.0
License Family: permissive
Topics: flow, compile, bpmn2, java, alibaba, process, spring, process-engine, halo-platform
Last push: 2025-10-05T09:40:42+00:00

## Health v2 (maintenance only)
Score: 43/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 45, release rhythm 8, longevity 100
- inputs: {"age_days": 2241, "days_push": 332, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1983, forks 280 (observed 2026-08-28T04:06:01.912944+00:00)

## What it is
CompileFlow is a high-performance, lightweight process orchestration engine from Alibaba that compiles BPMN 2.0 and TBBPM process definitions into Java code for compile-then-execute execution. It offers Spring Boot integration, type-safe in-memory stateless execution, and an IntelliJ IDEA plugin for visual process modeling.

## Use cases
- orchestrate business processes in Java services
- run trade/order workflows with high throughput
- execute BPMN 2.0 process definitions without a heavyweight BPM suite
- visually design business logic with an IDE plugin
- replace interpreted process engines with compiled native-speed flows
- integrate a process engine into Spring Boot applications

## When to choose
- you need extremely low-latency, stateless process execution on the JVM
- your flows are trade/order-style orchestration rather than long-running human workflows
- you want Spring Boot integration and compile-time type safety

## When to avoid
- you need persistent, long-running workflows with human task management and state across restarts
- you are not on the Java/JVM platform
- you need full BPMN features like timers, compensation, or complex event handling

## Facets
- artifact type: library
- maturity: active
- function: workflow-automation, interpreter, compiler, developer-tools
- domain: backend, developer-tools, erp
- platform: jvm, cross-platform
- tags: process-engine, bpmn2, tbbpm, compile-then-execute, spring-boot-starter, workflow-engine, business-process, automation, spring

## Member repositories
- alibaba/compileflow (main) score 43

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:01.912944+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:03:25.548891+00:00, confidence not recorded.
  - readme: https://github.com/alibaba/compileflow (fetched 2026-08-28T04:06:01.912944+00:00, sha 08c76b99cd25)
- Data as of 2026-08-30T08:39:29.467469+00:00.
