awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
oracle-samples avatar

oracle-samples/clara-rules

0
View on GitHub↗
1,231 stars·114 forks·Clojure·Apache-2.0·3 viewswww.clara-rules.org↗

Clara Rules

Clara Rules is a declarative logic programming library and business rules management system designed for Clojure and Java applications. It functions as a forward-chaining inference engine that evaluates business logic by matching data patterns against defined rules, allowing developers to derive new information and trigger automated actions based on the current state of a fact set.

The engine utilizes a directed acyclic graph for pattern matching, which enables efficient evaluation across complex rule sets. It incorporates a truth maintenance system that tracks dependencies between facts and conclusions, ensuring that derived data is automatically retracted when underlying information changes. To support complex reasoning, the system includes accumulator-based fact aggregation, which processes collections of data through functional reduction operators.

The framework provides interoperability with host-language data models, allowing standard Java beans or records to be mapped directly into the engine for processing. It also includes diagnostic tools that provide transparency into the evaluation process by generating explanations for why specific rules were activated.

Features

  • Forward Chaining Engines - Implements a forward-chaining inference engine that automatically derives new conclusions from fact updates.
  • Truth Maintenance Systems - Tracks dependencies between facts and conclusions to automatically remove derived data when underlying facts change.
  • Inference Rule Engines - Propagates data changes and triggers side effects automatically by evaluating rules against updated fact sets.
  • Rete Algorithm Implementations - Utilizes the Rete algorithm to efficiently match facts against complex rule conditions using a directed acyclic graph.
  • Declarative Business Rule Modeling - Uses a declarative domain-specific language to define business logic as data structures.
  • Business Process Automation - Automates business logic execution by triggering actions whenever specific data patterns are detected.
  • Business Rule Engines - Allows users to define declarative business logic that triggers actions based on detected data patterns.
  • Fact-Based Rule Triggering - Calculates results across groups of related data points using accumulators to perform logical reasoning.
  • Declarative Logic Frameworks - Derives conclusions and manages complex state dependencies through automated rule evaluation and fact propagation.
  • Forward-Chaining Rule Engines - Provides a declarative logic framework for evaluating business rules and maintaining logical truth in Clojure.
  • Business Rule Evaluation - Executes predefined logic policies against input data to evaluate business conditions and derive new information.
  • Logical Dependency Tracking - Ensures derived data is automatically removed when underlying information changes by tracking logical dependencies.
  • Accumulators - Provides functional accumulators to aggregate and process collections of facts for complex logical reasoning.

Star history

Star history chart for oracle-samples/clara-rulesStar history chart for oracle-samples/clara-rules

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Curated searches featuring Clara Rules

Hand-picked collections where Clara Rules appears.
  • Inference engine

Open-source alternatives to Clara Rules

Similar open-source projects, ranked by how many features they share with Clara Rules.
  • apache/incubator-kie-droolsapache avatar

    apache/incubator-kie-drools

    6,269View on GitHub↗

    This project is a business rules management system and rule engine designed to define, execute, and manage complex business logic decoupled from application source code. It provides a business logic compiler that transforms human-readable rule definitions into executable models for high-performance runtime evaluation. The system includes a complex event processing engine for analyzing real-time data streams to identify temporal patterns and a decision model and notation executor that processes structured logic based on industry standards for deterministic results. It utilizes an inference eng

    Java
    View on GitHub↗6,269
  • j-easy/easy-rulesj-easy avatar

    j-easy/easy-rules

    5,246View on GitHub↗

    Easy-rules is a Java business rules engine designed for defining and evaluating conditional logic and actions. It serves as a framework for organizing simple logic units into complex hierarchies of composite rules and acting as an iterative rule processor. The system functions as an expression language rules engine, allowing rule conditions and actions to be defined via dynamic expressions rather than static compiled code. This enables the configuration of business logic that can change application behavior without requiring source code recompilation. The engine supports fact-based matching

    Java
    View on GitHub↗5,246
  • jruizgit/rulesjruizgit avatar

    jruizgit/rules

    1,293View on GitHub↗

    This project is a business rules and complex event processing engine designed to manage logical decision-making and stateful workflows. It functions as a computational framework that evaluates incoming data streams and facts against conditional logic to derive new conclusions and trigger automated actions. The engine distinguishes itself through a combination of forward-chaining inference and deterministic state machine orchestration. It uses salience-based conflict resolution to prioritize rule execution and supports persistent contextual state tracking to manage long-running business proces

    JavaScriptbusiness-rulesdurable-rulesevents
    View on GitHub↗1,293
  • flowable/flowable-engineflowable avatar

    flowable/flowable-engine

    9,315View on GitHub↗

    Flowable Engine is a business process management platform and workflow engine used to automate business processes and orchestrate human and system activities. It provides a suite for modeling, deploying, and executing complex workflows and decision rules across distributed environments, including a dedicated case management system for unstructured processes and ad-hoc activities. The platform is a Kubernetes native workflow orchestrator that can be deployed as a containerized service using manifests and Helm charts. It supports an embedded runtime model, allowing the engine to integrate as a

    Java
    View on GitHub↗9,315
See all 30 alternatives to Clara Rules→

Frequently asked questions

What does oracle-samples/clara-rules do?

Clara Rules is a declarative logic programming library and business rules management system designed for Clojure and Java applications. It functions as a forward-chaining inference engine that evaluates business logic by matching data patterns against defined rules, allowing developers to derive new information and trigger automated actions based on the current state of a fact set.

What are the main features of oracle-samples/clara-rules?

The main features of oracle-samples/clara-rules are: Forward Chaining Engines, Truth Maintenance Systems, Inference Rule Engines, Rete Algorithm Implementations, Declarative Business Rule Modeling, Business Process Automation, Business Rule Engines, Fact-Based Rule Triggering.

What are some open-source alternatives to oracle-samples/clara-rules?

Open-source alternatives to oracle-samples/clara-rules include: apache/incubator-kie-drools — This project is a business rules management system and rule engine designed to define, execute, and manage complex… j-easy/easy-rules — Easy-rules is a Java business rules engine designed for defining and evaluating conditional logic and actions. It… jruizgit/rules — This project is a business rules and complex event processing engine designed to manage logical decision-making and… flowable/flowable-engine — Flowable Engine is a business process management platform and workflow engine used to automate business processes and… microsoft/rulesengine — RulesEngine is a business logic evaluator for .NET that executes complex rule workflows and dynamic expressions… venmo/business-rules — This project is a Python-based business rules engine designed to decouple application logic from source code. It…