The ERP that thinks Locally.

A high-performance Enterprise Resource Planning suite powered by local LLMs via Ollama. Complete privacy, total control, and intelligent automation.

What is OptimumERP?

OptimumERP is designed for businesses that want the power of modern AI without the data-privacy risks of cloud-based LLMs.

By integrating directly with Ollama, the system interprets natural language commands to perform complex database operations—like generating a multi-item bill or registering new vendors—entirely on your own infrastructure.

Core Capabilities

  • ✅ Full Financial Suite (Invoices, Quotes, POs)
  • ✅ Multi-Organization Management
  • ✅ Advanced Analytics & Reporting
  • ✅ Local AI Natural Language Processing
  • ✅ Automated Email Notifications & OTP

Engineered for Efficiency

🤖

Ollama Integration

The first ERP to use local LLM handlers. Create records by simply chatting with the system.

📑

Smart Templating

Generate professional PDFs using built-in themes: BorderLand, Buzy, and Modern Simple.

📊

Live Analytics

Track cash flow, pending payments, and organizational health with real-time dashboards.

Technical Setup

1. Configure Environment

Add your credentials to backend/.env:

MONGO_URI=mongodb://localhost:27017/mydb?replicaSet=rs0
SESSION_SECRET=your_secret
OLLAMA_TEXT_MODEL=llama3
NODE_MAILER_HOST=smtp.gmail.com
MONGO_URI=your_value
SESSION_SECRET=your_value
NODE_MAILER_USER_NAME=your_value
NODE_MAILER_APP_PASSWORD=your_value
NODE_MAILER_HOST=your_value
VITE_GOOGLE_SSO_ENABLED=false // true
IMPORT_CRON_SCHEDULE=false
LOG_FILE_PATH=./logs/app.log //your directory path for logs
NETWORK_STORAGE_PATH=./uploads // your directory path for network storage
DEFAULT_USER_PLAN=free // free | gold | platinum
OLLAMA_API_KEY=your_value
OLLAMA_TEXT_MODEL=your_value
OLLAMA_HOST=your_value

2. Start AI Engine

Ensure Ollama is running on port 11434:

ollama serve
ollama run llama3

3. Launch Application

# Start Backend
cd backend && npm run dev

# Start Frontend
cd frontend && npm run dev

How to use the AI Bot

The src/ai/handlers logic allows you to perform operations in plain English. Try the following prompts in the dashboard bot:

Party Management

"Register a new client named 'Global Logistics' located in New York, email is shipping@global.com"

Billing

"Create a bill for Tech Solutions for 5 laptops at 1200 dollars each and 2 monitors at 300 dollars."