Java
3,884 stars
Lightweight, fast, stable, programmable component-based rule engine — where AI Agents orchestrate just like ordinary components. Uniquely designed DSL: component reuse, sync/async & dynamic orchestration, multi-language scripting, nested rules, hot deployment and smooth refresh. If you can orchestrate LiteFlow, you can orchestrate AI.
Overview: LiteFlow is a lightweight, fast, and stable component-based rule engine that can orchestrate AI Agents just like ordinary components. It supports multiple scripting languages and hot deployment, making it ideal for complex business orchestration.
Key features:
- **Unified Component Definition**: All logic is a component, providing a unified component implementation for small size and high energy.
- **Lightweight Rules**: Based on rules files, learning rules takes only 5 minutes, making it easy to read and understand.
- **Rule Diversification**: Supports XML, JSON, and YAML rule file writing methods, catering to different users.
- **Arbitrary Arrangement**: Supports synchronous and asynchronous logic, making complex processes easy to handle.
- **Rules Loadable from Anywhere**: Native support for storing rules in structured databases, Nacos, Etcd, Zookeeper, Apollo, and Redis. An extension interface allows rules to be stored anywhere.
- **Elegant Hot Refresh Mechanism**: Rules changes result in instant application rule changes without restarting the application, ensuring high concurrency without errors.
- **Wide Support**: Works with Spring Boot, Spring, and any other Java framework.
- **JDK Support**: Supports JDK 8 to JDK 25, with virtual threads supported on JDK 21 and above.
- **Full Spring Boot Support**: Supports Spring Boot 2.X, 3.X, and the latest Spring Boot 4.X.
- **Scripting Language Support**: Supports Groovy, Java, Kotlin, JavaScript, QLExpress, Python, Lua, and Aviator. More languages will be supported