Natural-language insight
Ask in plain English. The AI layer plans intent, routes to analytics and ERP API tools, and synthesizes structured answers with visuals.
SPARC embeds a governed AI intelligence layer — LangGraph orchestration, reasoning traces, charts, and permission-scoped ERP tools. Read-only, no raw SQL.
Native AI
SPARC's AI system plans, executes permission-scoped tool calls, surfaces reasoning traces, and renders metrics and charts — all from live ERP data.
Ask in plain English. The AI layer plans intent, routes to analytics and ERP API tools, and synthesizes structured answers with visuals.
Every tool call respects RBAC. Users only see data their role allows — same boundaries as the web UI.
Metrics, trend charts, and expandable reasoning traces. LangGraph + LangSmith — auditable, no silent writes.
How it works
The AI layer never bypasses the transactional core. Orchestration routes through permission-scoped APIs and returns a faithful, auditable response.
Finance or ops poses a natural-language question in the web UI
LangGraph selects permission-scoped ERP API tools and builds the response
AdonisJS validates RBAC and returns deterministic data
Faithful, auditable response — read-only, no silent mutations
Trust boundaries
Generic chatbots hallucinate SQL and leak permissions. SPARC confines AI to typed, auditable ERP tools.
The AI layer uses typed ERP API tools only — never direct database access.
Insights cannot silently mutate orders, stock, or invoices.
Same role permissions as the web UI — enforced server-side on each tool.
LangGraph steps and LangSmith traces make every tool call auditable.
The problem
Operational teams need fast answers from live data — but unbounded AI creates hallucinations and permission leaks in high-stakes workflows.
Today
What breaks down
Simple questions wait on reporting specialists and stale spreadsheets.
Hallucinated SQL and permission leaks in high-stakes workflows.
Platform
The AI layer never replaces the core — it calls it. One monorepo with cohesive UI, transactional backend, and a separate Python process for LLM orchestration.
Six bounded hops from question to insight — every call scoped by RBAC, every response auditable.
"What's overdue?"
Forward query
list_invoices
RBAC-filtered data
Metrics, charts & summary
Insight in workspace
Data scope
Five operational modules supply the live transactional data the AI system queries.
Users, roles, permissions
Items, partners, config
Orders, invoicing, O2C
POs, goods receipt
Stock ledger, movements
Stack
LangGraph orchestration with MCP tools and LangSmith evaluation (LLM-as-judge).
Our Team
The team behind SPARC's architecture, backend, AI, and business research.
Omar Masoud
System architect & project lead
Younes Ayman
Backend development
Khalid Hagag
Lead AI development
Omar Mohammed
AI development
Fatma Shaban
Data analysis & business research
Sarah Mohamed
Backend development
Experience
Watch natural-language questions flow through LangGraph orchestration to RBAC-filtered metrics, charts, and reasoning traces — grounded in live ERP data.
Demo video coming soon