Anything is possible on the shop floor

See every machine, every order, every yield. Free.

FoaMES is a free, open source, agentic Manufacturing Execution System. It connects your machines to the business system you already run, ERPNext or SAP S/4HANA, and shows operators, engineers and plant leaders what is actually happening on the floor.

Apache 2.0 licensed. Runs on Frappe v15 and v16. ERPNext optional.

A floor view: four machine tiles showing state and OEE CNC-01 Running 87% OEE today PRESS-04 Running 79% OEE today FILL-02 Down Reason needed 12 min Agent suggestion Changeover on PRESS-04 runs 18 min long

What FoaMES is

A Manufacturing Execution System (MES) is the software layer between the business system that plans production and the equipment that carries it out. It records what was made, on which machine, at what yield, and with what downtime.

Most small and mid-sized plants never get one. Commercial MES platforms carry license fees and multi-year integration projects, so production data stays on paper travelers and spreadsheets. FoaMES removes the license fee and keeps the integration small: one Frappe app, with adapters to the ERP you already run.

  • Machine data, four ways in

    A signed webhook, MQTT, OPC UA or Sparkplug B. Ignition SCADA connects through any of them. Counter readings become deltas, and a reset never invents production.

  • OEE you can audit

    Overall Equipment Effectiveness (OEE) per machine, per day or per shift. Time with no machine signal counts as loss, never as run time.

  • A live floor view

    One tile per machine with state, counts and OEE, plus Andon calls for maintenance, material, quality or safety help.

  • Agents that suggest, people who decide

    Built-in rules and external AI agents raise suggestions with evidence. An operator or engineer accepts or dismisses each one. FoaMES also runs as an MCP server for Claude and other agent clients.

  • Quality and process insight

    Statistical Process Control (SPC) charts with Nelson and Western Electric rules, downtime Pareto, MTBF and MTTR, and process mining with XES and OCEL export.

  • Open by design

    Apache 2.0 code, a CycloneDX software bill of materials with every release, and a Lean, Six Sigma and SPC reference library that will not disappear from the internet.

Two editions, one open core

The code is the same and fully open in both. What changes is the ERP it connects to and the help CLR provides around it.

Free

FoaMES for ERPNext

For owners, plant managers and operations engineers at 20 to 500 person plants on ERPNext, or open to it.

  • Installs as a Frappe app beside ERPNext, or with no ERP at all
  • Work Orders, Job Cards and BOMs resolved directly from ERPNext
  • Machine counts and run time rolled up to the Job Card in progress
  • Community support on GitHub

Need it running fast? CLR offers fixed-price pilot deployments, configuration to your routings, operator training and support retainers.

Install from GitHub

Supported

FoaMES for SAP S/4HANA

For plant IT, manufacturing systems leads and S/4HANA program offices that need shop-floor data now, not after the full MES decision.

  • A side-by-side extension that keeps the SAP core clean, using released OData APIs
  • Production confirmations, scrap, yield and goods movements posted through an outbox with retries
  • Machine counts rolled up to the order operation as partial confirmations
  • Inbound IDocs (LOIPRO, MATMAS, BATMAS) over HTTP, no RFC required
  1. Plant Readiness Assessment. Two to three weeks, fixed fee. Routings, work centers, master data and confirmation flows mapped against your S/4HANA design.
  2. FoaMES Bridge pilot. Eight to twelve weeks on one line, tested against your sandbox.
  3. Per-site subscription. Connector updates, support and, for regulated plants, a validation package.
Book a readiness conversation

How it works

FoaMES never hard-links to ERP tables. Each record holds an External Reference, and the matching adapter resolves it. The same core runs with ERPNext, with S/4HANA, or with no ERP.

Machines send events to FoaMES, which posts confirmations to ERPNext or SAP S/4HANA Machines and SCADA Webhook, MQTT, OPC UA, Sparkplug B, Ignition FoaMES Floor view, OEE, downtime, Andon, SPC, suggestions, process mining, MCP ERPNext Job Cards, Stock Entries SAP S/4HANA Confirmations, IDocs
Swipe sideways to see the full diagram.
bench get-app https://github.com/CLR-Technologies-Inc/foames
bench --site your-site install-app foames

Built by people who have run the line

FoaMES comes from nearly a decade of manufacturing systems work at GE Healthcare and Cytiva, including a Manufacturing Execution System deployment on $300M of pharmaceutical production.

CLR Technologies builds electrocatalytic refining: using electrical current, rather than carbon-intensive heat, to produce cleaner fuels, low-GWP (Global Warming Potential) refrigerants and chemical commodities. A new process is only as good as the plant's ability to run it consistently. FoaMES is the automation and data layer that makes that work deployable, built in the open so every American plant can use it.

80%
lead time reduction on a $300M MES deployment
90%
less manual data entry on the same line
$0
license cost for FoaMES, under Apache 2.0

Bring FoaMES to your floor

Star the project, open an issue with the shop-floor requirement that matters most to you, or tell us about your plant.