Governance by Architecture.
Not Discipline.
Not Discipline.
Two Funnels.
One Commit Point.
One Commit Point.
The right rules, enforced on every path.
Provably. No Bypass.
Provably. No Bypass.
GenAI-Logic: the governed logic layer
AI needs to reach production.
AI can translate this intent into working software: database, API, App.
While truly remarkable, deployment requires we address:
Bugs: there were some subtle bugs (e.g., order not repriced on part substitution - see the A/B Test)
Path Bypass: tomorrow's new code might bypass yesterday's logic
Not Auditable: intent is lost in ~200 lines of FrankenCode
Not Scalable: each change requires generating all the code. At 500 rules - a modest system - significant risk of hallucinations and missed dependencies.
Context Engineering directs AI to generate Data Rules — not procedural code.
Data Rules distill path-dependent logic into path-independent rules on data. Every path inherits them automatically.
The Commit Listener hooks into the ORM commit. Every transaction — API, agent, workflow — passes through one control point. Nothing bypasses it.
The Rule Engine computes dependency order from the Data Rules at startup — deterministically. No pattern-matching, no subtle ordering bugs.
Rules are the intent, made executable —
infrastructure that governs by architecture, not discipline.
Executable Requirements — The Gherkin your team already writes becomes the governed starting point. Rules, tests, and audit trail from one requirements file. [Learn more →]
Rules Govern Business Policy — multi-table derivations, constraints, actions (e.g, send message).
Automatic Reuse — path independent
Automatic Invocation — executed on commit - no bypass... future paths included.
Automatic Dependencies — engine computes dependencies and chaining.
Familiar tools — Python, your IDE, your debugger, your source control, deploy as container. Rules live in the repo like everything else. No proprietary lock-in, no new stack to learn.
Optimized — Non-RETE engine, purpose-built for transactional performance at commit. RETE engines re-evaluate all rules against all rows — they have no idea what changed. This engine sees the actual change event, prunes irrelevant rules, and maintains aggregates incrementally. In production: four-minute transactions became two-second transactions. The same division of labor that made SQL and spreadsheets succeed: you specify what, the engine figures out how, at enterprise scale.
When the rule is the requirement, governance becomes a strategic asset — not a discipline you enforce, but an architecture you deploy.
Requirements describe intent using familiar inputs such as Gherkin.
This creates a working system - API, message handlers, an admin app, and logic.
The resultant system is fully governed, by readable rules executing at commit time for all paths.
The deck walks this through end-to-end using a real integration example.
→ Click to see the architecture at work.
Multi-table charge allocation across departments and GL accounts — the kind of complex chaining logic that defeats procedural code. Declared as rules, it runs correctly on every transaction.
A Canadian customs regulation compiled directly into a governed, running system. Regulatory text as the input. No developer interpretation.
Governance by architecture identified compliance exposure in existing production code that governance by discipline had missed - an 8 figure exposure.
The use cases below aren't separate products or bolted-on features — they're consequences of one decision: put the rules on the data, not the path. Build the governed backend once, and the rest follows.
AI can reason at runtime, its outputs governed deterministically before commit. The API is MCP-discoverable, so agents can use it. The logic holds regardless of source, so a Vibe UI sits safely on top. Every transaction passes one control point, so the audit trail comes free.
That's the test of an architecture — not how much you build, but how much you get for free.
Free and open source - install and explore these samples
Most rules — derivations, constraints, aggregations — are declared with AI but execute without it. Deterministic, always.
AI Rules are different: explicitly declared to invoke AI reasoning at runtime. For example:
Use AI to Set Item field unit_price by finding the optimal Product Supplier based on cost, lead time, and world conditions
For example, if the Suez Canal is blocked, choose higher-priced suppliers other than Cairo
AI can make mistakes, so governance is mandatory:
Results subjected to deterministic logic, automatically
Results audited to database (see slides
MCP servers without governed logic are a liability — agents can read and write production data with no rules enforced.
GenAI-Logic creates a governed MCP server from your existing database.
Working in 10 minutes - see the full steps at right.
Business logic declared once, enforced on every agent request, automatically.
Fully audited.
genai-logic create --project_name=basic_demo --db_url=sqlite:///samples/dbs/basic_demo.sqlite
cd basic_demo
sh run.sh
To verify, paste this into your AI Assistant:
Using mcp discovery, list the customers with a positive balance.
See here for details on how to use Natural Language to:
Create multi-table logic for governance (e.g. email opt-out)
Create an audited email service
Create MCP client (shown below)
Traditional EAI platforms handle routing and transformation. The hard part — business logic — remains "your code goes here".
GenAI-Logic is different:
Same rules, every path — the Data Rules that govern API transactions govern message consumers automatically. No additional wiring.
Same transaction — inbound messages trigger your declarative derivations, constraints, and multi-table updates at commit. Not a service call. Not a separate layer. The logic and the persistence are one.
Governed Capture — the raw message commits first, guaranteed. Parse failures are recoverable, never lost.
AI-driven mapping — provide a message format, AI maps fields automatically. Exceptions flagged. Unresolvable fields block server start.
One prompt each — subscribe to a message broker, create a custom B2B API.
Create Integrations With a Prompt (scroll to see)
Rules are enforced by the runtime at transaction commit — Apps, APIs, Messages
Executable Requirements →
GenAI-Logic creates backends instantly, for data access with governance
Vibe your Apps with your favorite Vibe tools using the standard JSON:API
The API encapsulates the logic, so it's inherited - automatically.
This simplifies Vibe:
App Dev is not delayed waiting for APIs.
Logic is factored out of each app - where it never should have been in the first place. Sharing across apps - and services - is automatic.
Once logic is factored out of the UI, logic and app dev can proceed in parallel.
Logic changes are inherited in all existing apps, automatically.
AI scaffolds full applications that developers can refine using familiar tools, backed by the deterministic rules engine.
Install GenAI-Logic and run any use case above as a 10-minute, start-from-scratch evaluation:
one command → a few Copilot prompts → running system (API + Admin UI + governed rules).
Your AI assistant guides you through creation, rule authoring, and debugging, and can answer evaluator questions like:
“Is this a black box?” “Where do rules execute?” “How do I extend logic?”
Install and Start - Choose a Demo
With declarative business logic, creating a system can finally match the way we think about it.
With backend logic governed and deterministic, WebGenAI can generate UI, API, data, and logic from natural language.
Business users prototype in WebGenAI.
IT receives a standard, extensible backend — not a low-code black box.
AI scaffolds full React applications that developers can refine using familiar tools, powered by a deterministic rules engine.
GenAI Logic allows us to further accelerate the development of innovative software solutions that respond to the growing need for digitalization and process automation. Ontimize Web, our low-code web application framework, allows developers to declaratively implement powerful user interfaces for complex business applications. By integrating Ontimize Web with GenAI Logic, we automatically obtain a robust rules-based backend that fully supports the needs of our frontend and a fully documented API.
Furthermore, the generative capabilities of GenAI Logic allow us to automatically generate 90% of the application from a prompt. That’s really impressive! Most importantly, it means that our developers no longer have to manually declare hundreds of user screens, with their corresponding CRUDs, business logic and API endpoints. They can now focus on understanding the business requirements and designing a user experience that customers will love.
Rowbot is a new breed of data management platform that enables a true Data Mesh architecture. It allows non-technical business users to integrate data from multiple disparate databases and create a unified view of activity across the organization.
We output a unified dataset and pass that to GenAI Logic. In 2 minutes we have a fully functional application, allowing an analyst to see customer activity across all participating systems.
Then we can incrementally introduce business rules. These rules can range from alerts based on the data to propensity flags for marketing. Users cannot believe how quickly a unified view of the data can be presented and then enriched by the GenAI Logic rules engine.
I can’t say enough about ApiLogicServer. I’ve been using ALS for a number of years now having successfully delivered several solutions that started as an ALS app. ALS provides us an advantage when not only starting new projects, but also when gathering requirements. Including ALS as a tool within the SDLC has been instrumental in several migration projects as well. This is our bread and butter, and we use ALS more than any other framework in our projects.
I am excited to see the evolution of ALS into GenAI Logic using AI as the nexus for new project implementations. Thank you Val, Tyler and Thomas for a promising and powerful solution. ALS's iterative capabilities are especially helpful; driving the requirements process live with business stake holders. Getting the requirements right is very important in todays competitive market by helping us keep the costs down and ensuring customers are delighted with the outcome.
*“E-Cometa is a platform designed for the front end, enabling you to generate and maintain your forms on the fly, as well as define and manage processes dynamically. For back-end operations, GenAI allows you to define databases using AI and seamlessly integrate them with ApiLogicServer (ALS). ALS then provides the capability to add simple rules, enabling the creation of complex systems that integrate with your data.
By combining both, you will get a very flexible and powerful solution that allows you to create any web and mobile app easily, making it simple to develop and maintain—even if you are not a technical expert.
We also want to thank ALS for making it possible to migrate from the obsolete Live API Creator (a back-end rules engine with RESTful services), ensuring we could continue innovating with a modern and reliable solution.”*