AI-enabled software
AI-enabled software built around deterministic state machines.
Most software failures in regulated industries happen when probabilistic model outputs or loose application scripts mutate transactional databases directly. MSV builds transactional platforms and analytical engines where deterministic rules, multi-jurisdiction tax and safety invariants, and explicit state lifecycles come first, while AI components sit behind typed interfaces and verifiable audit gates.
What is AI-enabled software in Machine State Verification?
AI-enabled software under Machine State Verification pairs deterministic domain ledgers and finite state machines with bounded AI components. Every state transition, whether triggered by a user, an external webhook, or a model proposal, validates schema contracts, jurisdictional rules, and ownership before writing to immutable financial or operational storage.
- 01Source
- 02Index / Rules
- 03Prompt / Proposal
- 04Log
- 05Retention
- 06Human Review
Source & Input Validation
Inbound orders, payroll extracts, timetable feeds, or API payloads enter through typed DTOs and contract-tested endpoints (such as Pact consumer-provider contracts and schema checks). Invalid or incomplete payloads are rejected at the gateway before reaching persistence.
Deterministic Index & Business Rules
Jurisdictional calculators, allergen checks, VAT regimes, or small-area spatial aggregations execute in deterministic Java or Python code. Probabilistic models never perform tax arithmetic, price clearing, or state-transition validation.
Prompt & Proposal Boundary
Where an AI feature enriches an operational flow (for example, drafting a demand forecast, suggesting an anomaly explanation, or summarising a support ticket), the model emits a typed proposal object rather than mutating database rows directly.
Append-Only Event & Ledger Log
Accepted state changes publish domain events and record SHA-256 hash-chained entries or double-entry PostgreSQL financial records alongside the actor ID, timestamp, and input version.
Retention & Erasure Separation
Personal identifiers live in isolated tables or tenant stores supporting GDPR Article 17 cross-service erasure or fixed TTL expiry, leaving statutory financial and audit ledgers structurally intact.
Human Review & Exception Queue
Edge cases, post-cutoff cancellation attempts, missing evidence fields, or conflicting rules route to an explicit review queue where an authorised operator signs off or blocks progression.
Why Architecture Precedes Model Selection
Teams frequently begin an AI project by selecting a foundation model and wrapping a web interface around it. When that prototype meets real operating conditions across European countries, missing invariants surface immediately: a restaurant menu publishes without mandatory allergen tags, a payment hold fails idempotency on network retry, or a regional transport warehouse silently drops census areas with incomplete timetable records. By establishing the transactional ledger, state machine, and automated contract suite first, MSV ensures that adding or swapping a language model never weakens financial truth or statutory compliance.

How does MSV prevent common AI-enabled software failure modes?
Generic AI-enabled applications fail when language models write unvalidated state, hide missing inputs, or blur regulatory boundaries across countries. MSV eliminates those failures through finite state lifecycles, idempotent financial ledgers, compile-time or pre-release statutory checks, and strict separation between deterministic execution and model inference.
| Failure Mode in Generic Software | Operational & Regulatory Consequence | MSV State-Verification Control | Live Evidence in MSV Systems |
|---|---|---|---|
| Model performs financial or tax arithmetic | Rounding drift, wrong VAT rates across borders, and irreproducible invoices | Isolate arithmetic and clearing in deterministic Java/Python engines; models propose parameters only | MaSoVa 13 tax jurisdictions & 6 fiscal signing countries; Maxx deterministic clearing engine |
| Unbounded order or workflow cancellation states | Orders cancelled after kitchen dispatch or fulfilment, creating inventory and refund loss | Enforce finite state lifecycles where prohibited transitions throw domain errors | MaSoVa 11-state order lifecycle (once dispatched, cannot be cancelled) |
| Missing safety or statutory metadata at release | Menu items, policies, or models go live missing mandatory EU disclosures | Block publication at the domain gate until every mandatory field passes validation | MaSoVa enforces all 14 Regulation (EU) 1169/2011 allergens prior to menu release |
| Non-idempotent payment or webhook retries | Duplicate captures, unvoided pre-authorisations, and ledger drift | Enforce idempotency keys (PayPal-Request-Id / Stripe SCA) and PostgreSQL financial truth | Maxx 1,003 sandbox holds, 225 captures, 778 voids, 0 failed settlements; MaSoVa PostgreSQL ledger |
| Cross-service PII blocks GDPR erasure | Deleting a customer breaks foreign keys in accounting tables or leaves shadow copies in read caches | Decouple PII from immutable accounting ledgers and orchestrate cross-service erasure | MaSoVa cross-service GDPR erasure across 6 Spring Boot microservices |
| Silent data gaps in analytical software | Incomplete feeds produce plausible-looking charts that mislead policy or budget teams | Run explicit quality suites before publishing surfaces and renormalise or refuse on gaps | Aequitas per-country data quality checks; Moveq pure-NumPy explicit harmonisation |
Operational Precision Without Over-Claiming
Deterministic engineering also requires stating exact system limits. MaSoVa Restaurant OS has tax configurations for 13 jurisdictions, including the US and Canada, and fiscal signing in 6 countries. Similarly, Aequitas builds independent national warehouses for England, Ireland, the Netherlands, and France against each country's own deprivation index; those national composite scores never share an axis and must never be ranked against each other. Documenting boundaries inside code and user interfaces protects engineering teams from silent misuse.
How does MSV deliver AI-enabled software in four stages?
MSV delivers AI-enabled software through a four-stage sequence: regulatory and domain scoping, deterministic pipeline and ledger construction, gated AI feature integration, and continuous hash-chained audit logging. Every stage concludes with inspectable code, automated contract tests, and written limitations before advancing.
- Regulatory & Domain Scoping
- Source-Grounded Pipeline & Transactional Core
- Gated AI Feature & Release Integration
- Continuous Hash-Chained Audit & Handover
Regulatory & Domain ScopingStage 1, Week 1
Map every statutory invariant, state transition, user role, and cross-border rule governing the workflow. Deliverables include a finite state diagram, jurisdictional matrix (such as VAT, allergen, or retention rules), and an explicit provider-versus-deployer responsibility boundary.
Source-Grounded Pipeline & Transactional CoreStage 2, Weeks 2–3
Build the deterministic backend services, relational schema, and read models in PostgreSQL, DuckDB, or Spring Boot. Enforce idempotency, schema migrations (Flyway), automated test suites (dbt tests, pytest, Pact consumer contracts, or Playwright end-to-end checks), and zero external leakage of sensitive PII.
Gated AI Feature & Release IntegrationStage 3, Weeks 4–5
Attach bounded AI capabilities (structured extraction, demand forecasting, policy assistance, or multilingual inference) behind typed proposal schemas and CI/CD evaluation gates. Missing approvals, failing test suites, or incomplete evidence block deployment automatically.
Continuous Hash-Chained Audit & HandoverStage 4, Week 6
Enable append-only SHA-256 event logging, exportable evidence packs, and operational runbooks. Hand over clean source repositories, deployment manifests, and a written limitation register so internal engineering teams own the software without opaque platform lock-in.
Which MSV systems, open-source tools, and technology stacks prove this capability?
MSV proves this capability across three production and open-source codebases: MaSoVa Restaurant OS for multi-jurisdiction commerce, Aequitas for national transport equity data warehouses, and the pure-NumPy Moveq libraries published on PyPI, all engineered on standard Java, Python, PostgreSQL, and DuckDB stacks.
MaSoVa Restaurant OS
Production multi-store restaurant operating system built on Java 21 and Spring Boot 3 across 6 microservices (core, commerce, payment, logistics, intelligence, gateway) behind Spring Cloud Gateway, delivering 207 API endpoints across 37 controllers. Uses PostgreSQL for financial truth, MongoDB for read models, Redis for caching, Stripe SCA (EU) and Razorpay (India legacy), React / React Native floor surfaces (KDS, POS, manager, driver), Pact contract testing, and Playwright. Enforces 11 order states, 13 tax jurisdictions, 6 fiscal signing countries, OTP delivery confirmation, and all 14 EU food allergens.
MaSoVa Restaurant OSWorked Proof // MaSoVa Multi-Jurisdiction Ops
Aequitas & Moveq (moveq-cli 0.2.0)
Aequitas pairs per-country Python pipelines with embedded DuckDB national warehouses, read-only FastAPI endpoints, React, and MapLibre GL across 13 surfaces per country, with separate validation for England, Ireland, the Netherlands, and France. Its underlying mathematical methods are available independently via Moveq (4 PyPI packages: moveq, moveq-cli, moveq-core, moveq-catalogue), built on pure NumPy with zero mandatory GIS or GDAL dependencies.
Devernance & Evgraph (evgraph-cli 0.1.3)
Where transactional software embeds AI models, Devernance (Java 17, Spring Boot 4.1.1, Flyway, PostgreSQL with pgvector HNSW, DJL, ONNX Runtime, Next.js 16) and Evgraph enforce release gates and link model cards to deployment manifests.
Stack compatibility
MSV software integrates directly into existing European engineering environments without proprietary runtime lock-in: Java 17 and 21 (Spring Boot, Flyway, JPA), Python 3 (FastAPI, DuckDB, dbt, PyTorch, Hugging Face Transformers), PostgreSQL and pgvector, Redis, RabbitMQ, React and TypeScript, GitHub Actions, MLflow, and Google Cloud Run or standard container infrastructure. Where LLM reasoning is required inside bounded proposal layers, MSV supports Gemini, Google ADK, ONNX Runtime, and open-weight models evaluated via Apache-2.0 benchmark suites.
How does MSV scope and price a bounded software pilot?
A bounded AI-enabled software pilot runs 4 to 6 weeks around one transactional domain, jurisdictional ruleset, or analytical warehouse. Every pilot agreement specifies the exact engineering question, permitted datasets, deployment boundary, exit criteria, and price drivers before any build begins.
Pilots and production run in your own AWS, Azure, or Google Cloud account, in a region you choose. You hold the account, data, and keys.
- Duration & Focus
- 4 to 6 weeks covering one well-defined workflow (for example, multi-country tax/allergen rule enforcement, one national data warehouse pipeline, or one bounded AI proposal workflow integrated into an existing service).
- Data Limits
- Operates on agreed sample extracts, public statutory feeds (Eurostat, GTFS), or isolated staging tenants under a pre-reviewed GDPR Article 28 Data Processing Addendum (/trust/dpa/), with zero model training on client operational data.
- Exit Criteria
- Working software in a staging environment, automated integration and contract tests passing, a complete data-flow schematic, and a written limitation section documenting out-of-scope jurisdictions or edge cases.
Pricing drivers
We do not publish fees. A pilot is quoted in writing in USD, EUR, or GBP before work starts. You owe nothing until you accept that quote.
Pilot and build fees depend on five concrete scope factors rather than opaque enterprise rate cards:
- Data sensitivity and residency: whether systems process public feeds, pseudonymised analytics, or special-category/financial records requiring client-defined regional isolation.
- Site and tenant count: single-entity deployment versus multi-store or multi-tenant isolation.
- Jurisdictional and language count: number of VAT regimes, fiscal signing statutes, or evaluated UI/model languages.
- Public-authority procurement status: compliance with Directive 2014/24/EU tender documentation and EU Model Contractual Clauses (MCC-AI).
- Assessment-only versus production build: standalone architecture and gap audit versus end-to-end microservice or pipeline delivery.
Common engineering questions on AI-enabled software
Why build a deterministic state machine before adding AI features?
A deterministic state machine guarantees that statutory rules, financial balances, and permission boundaries hold regardless of model output variability. When language models emit typed proposals into a validated state machine rather than writing directly to databases, engineering teams prevent silent corruption and retain full auditability.
Can MSV integrate into an existing Java or Python codebase?
Yes. MSV builds primarily in Java 17/21 (Spring Boot, PostgreSQL, Flyway) and Python 3 (FastAPI, DuckDB, dbt), and ships open-source PyPI packages. New verification gates, tax/allergen validators, or analytical pipelines connect through REST APIs, event buses, or GitHub Actions without full rewrites.
How does MSV handle cross-border EU tax and consumer rules in software?
MSV encodes jurisdictional rules explicitly inside domain services and configuration tables rather than burying them in prompts. For example, MaSoVa Restaurant OS separates 13 tax jurisdictions, 6 national fiscal signing integrations, and Regulation (EU) 1169/2011 allergen validation across dedicated microservices with PostgreSQL financial truth.
Who owns the resulting code and schemas after a pilot?
Every bounded pilot defines source code ownership and publication rights explicitly in writing before work starts. Clients receive inspectable repositories, schema migrations, automated test suites, and documented operational boundaries rather than proprietary black-box runtimes, backed directly by MSV's engineering lead.
Bring us one workflow that cannot fail silently.
Share the state transitions, regulatory rules, or data feeds your software must enforce. We aim to reply to enquiries within 2 business days, Monday to Friday, India time.