Loading...
Skip to Content

Industry Solutions · ERP

uEngine ERP

An ERP redesigned for agentic AI. Because it is event-sourced, you can always recover, even when an agent makes a mistake.

Open source (MIT). Your data stays in your own Supabase project, and the app is static files, so there is no server to run. Email sending, e-tax invoices and automatic bank feeds are not included. All video and forecast figures come from a made-up company.

Why build ERP from the ground up?

Agents are starting to post vouchers, make payments, and move inventory in ERP. ERP now needs original records of who did what, which request led to it, and which actions belong together, as well as current numbers. These records help it undo only the mistaken work and answer audit questions.

DataState-based dataWhat is needed when agents do the workEvent-based data (event sourcing)
Purchase billBILL/2026/11/0001, status "Paid"Who posted it, which request led to it, and the amountInvoicePosted KRW 1,100,000. Actor: Jeong Hoe-gye (accounting), source: Agent (MCP), reason: "Purchase voucher (approval no. 20261103-41000000-00001234)"
PaymentPAY/2026/00001, statusThe original amount needed for a cancelling action that offsets the paymentPaymentPosted. Cancellation adds PaymentCancelled instead of erasing the original row
Stock20 air circulator motorsWhich bill led to these 20 units being receivedThe inventory module records PickingValidated for WH/IN/00001 under the same task ID
Journal entries and VATAccount balances and totals in tax return fieldsWhich task produced the journal entries and tax return amountsThe accounting module adds JournalEntryPosted and the tax module adds VatEntryRecorded under the same task ID
After undoNumbers overwritten with earlier valuesRecords of both the mistake and its correction21 rows for processing and 21 rows for cancellation. No rows were erased, and the net change in inventory and accounts for this task is 0
Dashboards and reportsNumbers calculated on each view or recalculated in full each nightNumbers that people and agents can read quickly, including the latest workThe read model applies new events every 5 seconds. With three years of the virtual company's ledger, dashboard queries drop from 0.97 seconds to 0.017 seconds. Rebuilding the read model from scratch takes 0.87 seconds
WorkflowOnly the latest state remains; seeing the flow requires collecting and matching change historiesThe steps an order actually went through and which steps to assign to an agentLedger records are grouped into order-to-cash cases and exported as CSV, XES, and OCEL 2.0 logs. Process GPT uses these logs to draw BPMN diagrams (100% replay fitness)

This task ID is called a saga ID. The first five rows above are actual execution records from a test with the virtual company Gaon Appliances, where Process GPT Lite processed one tax invoice through MCP and undid it after the request “I'll cancel what we just did”; row names are exactly as recorded in the ledger. The last two rows show measurements from three years of the same virtual company's ledger (45,000 events).

The ledger is the sourceCurrent numbers are calculated from ledger rows. This lets us rebuild the numbers for any point in time.
One task, one IDThe bill, payment, goods receipt, journal entries, and tax totals from one agent request share an ID. The system reads this ID to find the scope of work to undo.
Built in from the startAdding history can help a state-based ERP, but it effectively creates another ledger, and the two can disagree. That is why we rebuilt how ERP stores its records.

Not every system needs this approach, and it costs storage space and short delays between modules, so start with systems where agents change transactions, inventory, and payments.

An ERP that records every change as an event

Instead of overwriting values, it keeps what happened. So you can see any past moment exactly as it was, undo a mistake after checking what it touches, and use the history to test a change before you make it.

Modules meet only through events. Turning on inventory later changes nothing in the sales module, and when one module stops, the others keep working.

The agent does the work, and one sentence undoes it

Upload just an image of a tax invoice to Process GPT Lite. The agent asks whether to process it in ERP, then uses MCP to post the bill, pay it, receive the goods, record the VAT entry and post the journal entries.

Say "Cancel what you just did" and only the documents from that work are undone. Nothing is deleted: the 21 rows of processing and the 21 rows that cancel them both remain, and the net change in stock and accounts is 0. If the goods have already left the warehouse in the meantime, it does not undo and tells you why.

Start with the basics, add modules as you grow, and keep all your data connected

These screens come from the real app. The data belongs to Gaon Appliances, a made-up company.

Turning on the inventory module

Modules

Turn them on one at a time

Only sales is on at first. Any combination works, and each module you turn on adds menus and the forecasts it makes possible.

  • Failure isolationIf inventory stops, orders keep coming in. Once it is fixed, the waiting events are processed with nothing lost.
  • Turning on laterTurn on accounting later and it rebuilds the journal from past invoices and payments. What it cannot know, like stock levels before inventory was on, it tells you.
  • PluginsAdd a module with one SQL file, without changing the existing ones.
Trial balance screen

Daily work

From quote to payment, from purchase order to bill

Quotes, orders, deliveries, reordering, purchasing, receipts, invoices, payments and journal entries connect through events.

  • InventoryWarehouses, receipts and deliveries, stock adjustments, reorder rules, average cost.
  • Invoicing and accountingInvoices, credit notes, payments, trial balance, profit and loss, balance sheet, tax summary, period locks.
  • BankImport a statement file and match it against payments. There is no automatic bank feed.
Rollback preview

Time travel

See it as it was, check the scope, then undo

Pick a date and see the orders, stock and receivables of that moment. An undo deletes nothing; it adds one more event.

  • Cascade previewUndoing an order first shows the delivery and stock that would go with it, across modules.
  • Stops what must not be undoneA posted invoice blocks the undo and points you to a credit note. Dates before a lock are blocked too.
  • Reasons and historyWho undid what and why stays in the ledger, and an undo can itself be undone.
Result of a reorder policy what-if

Forecasts and what-ifs

Test it before you change it

Change order quantities, drop a product, move stock between warehouses, or change lead times or payment terms, and see how sales and stockouts shift, with an 80% range. The ledger does not change.

  • No evidence, no numberEach model shows as locked, short of evidence, or ready.
  • It says so when it cannot tellIf the range includes zero, it says first that the effect cannot be distinguished.
  • More modules, more modelsSales alone gives statistics and demand forecasts. Inventory opens reorder tests, and purchasing opens lead-time tests.
MCP call result

Integration

REST and MCP without building them by hand

Define a type and its REST resource appears. Agents work with the documents of enabled modules through four tools. There is no separate server process.

  • RESTStandard CRUD, version checks, idempotency keys.
  • MCPFour MCP tools—read, create, update, and delete—handle documents; changing a document's state is the business operation itself. Agents use the same tools to undo their own mistakes, but only for their own MCP operations with no dependent work.
  • API keysNever exceed the member's rights and can be revoked at any time. Only a hash is stored.
The dashboard updated within seconds of order confirmation

Dashboards and read models

Reports and dashboards update only what has changed

The read model (CQRS) updates with each incoming event. Orders confirmed elsewhere appear on the dashboard within seconds.

  • The same results, fasterWe compared results using 3 years of data from a simulated company. Dashboard load time dropped from 0.97 s to 0.017 s, and sales for the last 12 months from 0.39 s to 0.002 s, with identical results.
  • Accurate financial closeInventory and journal entries stay accurate by reading tables updated in the same transaction as the business operation. The trial balance is ready in 0.016 s.
  • Rebuild from past recordsClearing and rebuilding the read model from the ledger takes 0.87 s. New reports include the full history, too.
Order-to-cash process derived by Process GPT from ERP event logs

Process mining

Find workflows in your ledger

Group ledger records by order-to-cash and procure-to-pay case, then export them as CSV, XES, or OCEL 2.0. Upload them to Process GPT to map workflows in BPMN without a language model.

  • Use the history you already haveNo separate change history export is needed. The chronological records show each case, activity, timestamp, and person responsible.
  • Access stays within your permissionsDocuments you cannot view are excluded from the cases analyzed.
  • Review and approve workflowsTurn 3,287 orders into a diagram in under 0.1 s with 100% replay fitness. Save it as a proposal for review and approval.

Watch the Videos

Recorded while running the real app. Data and figures belong to a made-up company. Click a thumbnail to play.

Product overview

Product overview

Turning on modules, time travel, rollback and what-ifs in one go.

With Process GPT Lite

Tax invoice processing and undo

Upload a file and it asks. Accept and it works over MCP. Say cancel and the saga compensates. When it must not undo, it stops.

Forecasts and what-ifs asked in chat

Ask what sells in which quarter next year and what happens if you order more. The same models as the screens work out the numbers.

Tutorial (Korean)

Ch. 1 Start with sales

Install, create the company, and handle quotes and orders with only sales on.

Ch. 2 Inventory and failure isolation

With inventory on, order events create delivery slips. If inventory stops, sales continues.

Ch. 3 Purchasing, invoicing, accounting

From reordering through receipts, invoices, payments and the trial balance. Accounting rebuilds past entries even when turned on later.

Ch. 4 Time travel and rollback

See a past moment as it was, and undo a mistake across modules after checking the scope.

Ch. 5 Forecasts and what-ifs

Numbers only when there is evidence. Test orders, discontinuation, stock moves, lead times and payment terms before changing them.

Ch. 6 Plugins and integration

Attach a plugin with one SQL file, and connect through generated REST and four MCP tools.

Ch. 7 One voucher through to the VAT return

One purchase tax invoice carries through to stock, the tax invoice record, the books and the VAT return. Closing locks the documents of that period.

Ch. 8 Books, year-end close and fixed assets

Register an asset, run depreciation and work through last year’s close step by step. Check the statements and books against the prior year.

Ch. 9 HR, leave and attendance

Register staff, approve leave, check for weeks over 52 hours and close the month. Personal details stay outside the ledger.

Ch. 10 Payroll, entries, transfers and withholding

The company enters its rates and tax table and confirms the register. Download the transfer file and export the withholding figures. The app moves no money.

Ch. 11 Bills of materials and manufacturing orders

Shortages show first. On completion the inventory module moves the stock, and undoing it brings the stock back.

Ch. 12 Expenses

Attach a receipt and submit, then refuse, resubmit, approve and pay. A colleague with no part in it does not see the document.

Ch. 13 CRM and projects

A win creates a draft quote, and confirming a service order creates a project. Short of evidence, the forecast is given only as a range.

Ch. 15 Dashboards and read models

Confirm an order in another browser and the dashboard updates without a refresh. Compare calculations from the read model and the ledger, then rebuild daily sales from scratch.

Ch. 16 Process mining logs and Process GPT

Group order-to-cash records by case, download them as CSV, and map them in BPMN with Process GPT. With 100% replay fitness, save the result as a proposal and review it in the merge inbox.

Start now with your own Supabase project

Install it in a free Supabase project, or, if you have Docker, on your own computer with one command. You can try the made-up company Gaon Appliances first. Chapter 1 of the tutorial covers both ways to install. For rollout at your company or connecting AI agents, contact us.


Have more questions?

Want to know more about uEngine ERP or have a question? Get in touch anytime.