oracle-samples/clara-rules
Forward-chaining rules in Clojure(Script) observed · 2026-08-28
Health v2 · maintenance only
68/100
- Activity 79
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4786
- days_rel: n/a
- days_push: 128
- n_releases_24m: 0
Adoption not part of the score
1233 stars · 114 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Clara Rules is a forward-chaining rules engine written in Clojure and ClojureScript, with Java interoperability for using JavaBeans as facts. It lets developers express domain knowledge as declarative rules with truth maintenance, accumulators, session durability, and inspection tooling.
Use cases
- encode business rules as declarative logic in Clojure
- run a forward-chaining expert system on the JVM
- infer derived facts with automatic retraction via truth maintenance
- apply business policies like order approval or customer classification
- use a rules engine from Java code
- reason over collections of facts with accumulators
When to choose
- you want rules as plain Clojure code instead of a limited DSL or enterprise rule tool
- you need truth maintenance so derived facts stay consistent
- you need a rules engine usable from both Clojure/ClojureScript and Java
When to avoid
- your rules are simple conditionals better expressed as ordinary functions
- you need a business-user-facing rule authoring UI
- you are not working on the JVM or with Clojure
Facets
library · maturity active
interpreter developer-tools developer-tools jvm jvm-scripting cross-platform rules-engine forward-chaining expert-systems clojurescript truth-maintenance business-rules automation algorithms
9 sources
- readme: https://github.com/oracle-samples/clara-rules · fetched 2026-08-28 · d4b8cf50e4a2
- homepage: http://www.clara-rules.org · fetched 2026-08-29 · 00d13f465dba
- site_page: http://www.clara-rules.org/docs/firststeps · fetched 2026-08-29 · 7036bee75150
- site_page: http://www.clara-rules.org/docs/java · fetched 2026-08-29 · 206046689a86
- site_page: http://www.clara-rules.org/docs/approach · fetched 2026-08-29 · 9db4db85fc77
- site_page: http://www.clara-rules.org/docs/truthmaint · fetched 2026-08-29 · 7cf5455ee7d5
- site_page: http://www.clara-rules.org/docs/durability · fetched 2026-08-29 · 76a43d6af266
- site_page: http://www.clara-rules.org/docs/inspection · fetched 2026-08-29 · f4afbd3b7098
- site_page: http://www.clara-rules.org/docs/accumulators · fetched 2026-08-29 · 3c5cfe10fa8c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| oracle-samples/clara-rules | main | 68 |
For agents
markdown · JSON · MCP: product_card(name="oracle-samples/clara-rules")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem