Social Media AI Assistant
2026
Built the AI agent, webhooks and dashboard pages
An AI agent that answers Facebook and Instagram DMs and comments — and takes orders.
A platform where businesses connect their Facebook and Instagram accounts and an AI agent answers their messages and comments: it looks up products and delivery, takes orders, and hands the chat to a person when it should. I built the agent to be model-agnostic, running on Claude or OpenAI-compatible models behind one interface, with tool calling for product search, delivery info, orders and handover. Before a reply goes out it is checked: a price the tools didn't return, or a promise the business can't keep, sends the reply to a review queue instead. Reviewers mark answers right or wrong, and a fix can become a knowledge-base entry or a regression test that runs every night. The whole reply, tools included, is held to a timeout that fits Meta's reply window, and messages sent in quick succession are answered together. Every run's tokens, latency and cost are tracked per model and per day. I also built the AI-assistant and auto-reply pages, the Instagram and Messenger webhooks, and migrated the API from SQL Server to PostgreSQL. The inbox updates live over SignalR, in Arabic (RTL) and English.
Stack
- ASP.NET Core (.NET 10)
- PostgreSQL
- Anthropic & OpenAI SDKs
- Hangfire
- SignalR
- Meta Graph API
- Next.js 16
- TypeScript
Gallery






More work
All projects ↗