All Projects

AI agent in production · ERP Phase 1 · Built at Robotrick

AI Agent · ERP · Client Production System

Al Thob Al Arabi

An ERP and an AI customer-support agent for a traditional menswear business in Libya. One agent answers customers on WhatsApp, Instagram and Messenger; one system holds the truth about stock and money.

TypeScript · Fastify · PostgreSQL · Prisma · React 19 · OpenAI API · Chatwoot · 360dialog

Architecture: WhatsApp, Instagram and Messenger flow through 360dialog and Chatwoot to the AI agent, which uses the OpenAI API and hands off to the human team; the ERP sits alongside

System architecture. The client's system is private, so it's shown as a diagram rather than screenshots.

The System

Two products, one business

The AI agent. One agent answers customers on all three channels through 360dialog and Chatwoot, powered by the OpenAI API. It answers only from a knowledge base, never invents a price, replies in the customer's Libyan dialect, and hands the conversation to a person when it should.

The ERP. A modular monolith covering inventory, purchasing, wholesale with per-customer pricing and credit, retail, invoicing, accounting and staff — with one source of truth for stock and money. Built Arabic-RTL first. Phase 1 is the inventory ledger, goods receipts, and stock-count sessions.

Stack

AI Agent
  • OpenAI API
  • Chatwoot
  • 360dialog (WhatsApp)
  • Instagram & Messenger
  • Knowledge-base answers + human handoff
ERP Backend
  • TypeScript (strict)
  • Fastify 5
  • PostgreSQL 18 (Neon)
  • Prisma
  • Docker · Railway
ERP Frontend
  • React 19 + Vite
  • TanStack Router
  • Tailwind CSS v4
  • Arabic RTL first

Results

3

Channels

WhatsApp · Instagram · Messenger

1

AI Agent

Answers from the knowledge base only

7

ERP Domains

Inventory to accounting

1

Developer

Built end-to-end at Robotrick

My Role

Sole Developer — Built at Robotrick

Built the AI support agent and connected it to WhatsApp, Instagram and Messenger through 360dialog and Chatwoot

Kept the agent grounded: answers from the knowledge base only, no invented prices, human handoff when needed

Designed the ERP as a modular monolith with one source of truth for stock and money

Built the ERP backend on TypeScript, Fastify, PostgreSQL (Neon) and Prisma, and the Arabic-first React 19 frontend

Shipped ERP Phase 1: inventory ledger, goods receipts, and stock-count sessions

Client

Built for Al Thob Al Arabi, a traditional menswear business in Libya — delivered through Robotrick.

Have a system to build?

Open to engineering challenges, collaborations, and high-impact projects.