Getting started

LemmaBase is a platform to collaborate on law, policies, and business rules. You write those rules in Lemma, keep every version, and let your systems and agents ask for answers when they need them. The language itself is documented on Lemma.run (opens in new tab) . This manual covers the LemmaBase platform.

Accounts and sign-in

Create an account with email, or sign in with a supported third-party account. After registration you will receive a confirmation email. If you forget your password, you can reset it from the login page.

Once signed in you arrive at the dashboard, where you can start writing rules, invite people to your team, and connect your systems.

Quick start

  1. Create a repository for yourself or for an organization you belong to.
  2. Open it and write your rules in the web editor.
  3. Try your rules with sample data in the Run view before you publish.
  4. Publish when you are ready. That version is frozen and can be used by others, and by your systems and agents.
  5. Your systems and agents can now ask LemmaBase for answers. See Using your specs for how that works.

Manual map

Working with specs covers where you write and maintain rules: creating a repository, choosing who can see it, working in the editor, and importing rules published by others.

Using your specs explains what publishing does, how rules change over time, and how your systems and agents can ask LemmaBase for answers.

Working in teams is about working as a team: who can see and change what, inviting people, and connecting your systems.

LemmaBase MCP describes how to connect AI assistants to your published rules.

LLMs covers llms.txt on Lemma.run, a fallback when your client does not support MCP.