Case study, Aivion Technologies, Jun–Aug 2026

AgentCX

A multi-tenant platform where AI agents handle customer operations: CRM, a customer data platform, an omnichannel inbox and a bulk file loader. Now in client UAT.

Role
Primary developer (85% of commits)
Stack
PHP 8.3, Laravel, MySQL
AI
OpenRouter, Gemini, OpenAI
Status
Client UAT
agentcx / client platform
Private
Screenshots coming soon

The problem

The client's support team answers customers across Facebook, Instagram, TikTok, LINE, Lazada and Shopee. AI agents can draft and send replies, but some actions, like large refunds, cancelling after shipping or legal topics, are too risky to automate fully.

How it works

6 channelsFacebook, InstagramTikTok, LINELazada, ShopeeInboxAI agenttool-calling loopQC gateSendaudit-trailedHuman approvalHigh-risk: large refunds, cancel after ship, legal

What was built

  • One native tool-calling loop for every support agent, under graduated autonomy: high-risk actions queue for human approval and every agent action is audit-trailed.
  • The customer data platform's backbone: a typed identity-resolution graph with merge audit, an indexed event spine with retroactive reattribution, RFM segmentation and an AND/OR segment builder (22 fields, 18 operators).
  • A multi-trigger workflow engine with a visual builder and AI prompt-to-workflow.
  • A bulk loader that re-imports the client's real 1,687-row file with zero duplicates.

Results

473 / 556commits (85%)
~150pull requests in seven weeks
1,657automated tests, 11,800+ assertions
0duplicates on the 1,687-row re-import

Decisions

  • Every merge verified by an automated test suite pinned fully offline from live AI providers.
  • Hardened against failures a green test suite can hide, including a gateway bug that silently disabled live AI.
  • Spec first: day-zero blueprints and build plans, then implementation with Claude Code.

← All projects