AI agent in production · ERP Phase 1 · Built at Robotrick
AI Agent · ERP · Client Production System
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

System architecture. The client's system is private, so it's shown as a diagram rather than screenshots.
The System
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
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
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.