Introduction
Open-source language for business rules.
Total certainty
in the age of AI
Where humans, systems, and agents work together on rules.
The problem
Pricing, eligibility, and compliance controls are buried in code and vendor platforms. Change is slow. Audits require reconstruction.
What is Lemma
Lemma is an open format so policy owners write rules themselves, instead of handing them to engineers to code.
Those rules become the source of truth that people, systems, and AI agents can trust.
Why Lemma
Language
Declarative logic separate from infrastructure. Readable by auditors. Bound to time. Mathematically exact.
spec pricing 2026-01-01
"""
Applies a tiered discount and VAT to the base price,
effective from 2026-01-01.
"""
data base_price: 100
data is_member: false
data quantity: number
rule discount: 0%
unless quantity >= 10 then 10%
unless quantity >= 50 then 15%
unless is_member then 20%
rule discount_amount: base_price * discount
rule discounted_price: base_price - discount_amount
rule vat: discounted_price * 21%
rule total: discounted_price + vat
Open stack
Lemma is the language. LemmaBase is where teams write, review, version, publish, and run rules in production.
Get started
Explore the language, create an account, or talk to us about your use case.