Skip to content
Projects

About

AI-native ERP you run on your own server. Hebrew and English, Israel first. Accounting, sales, purchasing, inventory, projects, prompt-built screens, REST API, MCP, SDK. Integrations through Engini.

Business & Finance

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

ERP4

ERP4

An AI-native ERP you run on your own server. Hebrew and English from the core, built in Israel by Itay Guttman. Take it, use it, extend it, and send back what you improve. If ERP4 is useful to you, a star helps others find it.

ERP4 is source-available and fully self-hosted: your PostgreSQL, your server, your AI provider. It is not open source: the core is free for your own business under the Sustainable Use License (the same license as n8n), and a few modules marked .custom need a paid license.

What's inside

  • Accounting: general ledger with posted entries that never change, periods, trial balance, balance sheet and P&L, multi-currency with FX revaluation.
  • Sales and receivables, purchasing and payables: sales and purchase orders, deliveries, invoices, receipts, credit notes, vendor bills, payments, aging and withholding tax.
  • Inventory and banking: stock by warehouse, landed cost, bank accounts and reconciliation.
  • Projects and boards: monday-style boards with groups, sub-items, owners, statuses and updates, plus kanban and card views.
  • Prompt-built screens: add fields, tables and screens by describing them, without an implementer.
  • Headless: every function is reachable over a REST API, an MCP server (Claude Code, Codex, Cursor), a TypeScript SDK and a CLI. See docs/headless.md and docs/sdk-cli.md.
  • Integrations and automations through Engini: connect ERP4 to hundreds of apps, run workflows on any ERP4 event and add AI agents. Engini has a generous free plan: open an account and connect it in ERP4 under Connections.
  • Bring your own AI: Claude, OpenAI, Gemini, Azure OpenAI or an OpenAI-compatible model on your own network. ERP4 works without AI too.
  • Israel (paid .custom module): the unified file (מבנה אחיד), VAT reporting (PCN874), Tax Authority allocation numbers.
  • Migration (paid .custom modules): move from Priority (including its unified file) or NetSuite, with a dry run before every load and no duplicates on a re-run.

Run it

On a Linux server with Docker (2 CPUs, 4 GB RAM):

git clone https://github.com/Itay-guttman/ERP4 && cd ERP4 && ./scripts/install.sh

The script generates every password and key, starts PostgreSQL and ERP4 (with HTTPS if you give it a domain), creates your company and prints a one-time link to set the owner's password. Updates, backups, your own PostgreSQL and managed hosting are in docs/self-host.md.

To develop locally:

pnpm install
cp .env.example .env
pnpm db:migrate && pnpm db:seed
pnpm dev

How it is built

TypeScript end to end: Fastify, PostgreSQL with row-level security per company, React and TanStack Query, Zod at every boundary, exact decimals for money. Every write goes through one command bus with an audit log. The rules a change must keep are in docs/erp-rules.md, and the design decisions are in docs/adr.

Make it better

Fixes, modules, screens, reports, document templates, translations and regulation for other countries are all welcome. Integrations and automations are built in Engini, not in ERP4. Start with CONTRIBUTING.md. Report security issues privately as described in SECURITY.md.

License

  • The core: Sustainable Use License. Use and change it freely for your own business, for non-commercial or personal use. Don't sell it or offer it as a service to others.
  • The SDK and CLI (packages/sdk, packages/cli): MIT, usable in any project.
  • Integrations and automations are provided only through Engini; see LICENSE.
  • Files and folders with .custom in the name: ERP4 Custom License. Free for development and testing; production needs a license key. If a key lapses, your data stays readable and exportable.

Explore related projects

Loading…