portfolio@Gallillio:~

SIA

Enterprise AI assistant at ISYS

Founding engineer · Intelligent Systems (ISYS), IBM partner · Feb. 2025 - Present

Smart Intelligent Assistant, an enterprise AI assistant live for about 70 staff at ISYS. Chat is grounded in company documents and cites the page; 47 agent tools wait for a person to approve anything outbound; IBM watsonx, Claude and OpenAI sit behind one interface with failover and a task-aware router. 22 FastAPI microservices and a Next.js front end, in English and Arabic. Answer-confidence scoring rebuilt from AUROC 0.35 to 0.994.

My role

Founding engineer. I started the codebase in July 2025 and have written about 35% of its commits. I led the move from a monolith to microservices, the LLM layer and its router, the confidence and citation rebuild, multi-tenancy, the recruitment service and the English/Arabic localization.

The problem

Banks and other regulated companies want an assistant that answers from their own documents, writes their reports and handles email and calendar. They also need to decide which models and tools each department may use, cap spend, audit every action and avoid depending on one LLM vendor. SIA is built for that brief, in English and Arabic.

Key decisions

One LLM port, three providers

IBM watsonx, Anthropic Claude and OpenAI sit behind a single interface with automatic failover, so a provider outage or a price change does not stop the product.

A router that has to earn its choices

Each of 20 task types gets a model chosen within license, department and provider-health limits, and every call is stamped with its cost. I measured the candidates on SIA's own prompts: helper tasks moved to Mistral Small at the same quality for 3.5 to 4 times less.

A confidence score worth showing

The old heuristic scored AUROC 0.35, worse than a coin flip. I replaced it with a grader that checks the answer against its cited evidence and calibrated it on labeled answers, reaching 0.994.

Retrieval tuned on a harness

Page-aware chunks sized to the embedder's 512-token limit, hybrid vector and keyword search fused with Reciprocal Rank Fusion, and a relevance gate at 0.65 chosen from a calibration run (precision 0.73, recall 0.92). Answers cite the printed page.

People approve anything outbound

Emails, invitations and recruitment actions appear as a card and run only after a click. Retrieved text is fenced, so a document cannot give the model instructions.

Microservices on one shared base

I split the FastAPI monolith into 22 single-domain services that share one app factory and one Dockerfile template, with per-tenant databases and encryption keys.

Results

  • Live for about 70 staff, sized for a 1,000-seat client rollout
  • Answer-confidence AUROC raised from 0.35 to 0.994
  • Page-level citations on answers, where none of 1,614 had one before
  • Helper tasks 3.5 to 4 times cheaper at the same measured quality
  • 47 agent tools, 22 services, 11,000+ automated tests and 6,300+ UI strings in each of English and Arabic

Limitations and next steps

Arabic retrieval recall is 0.33, because the embedding model is English-only. The next step is a multilingual embedder, measured on the same retrieval harness before it ships.

Screenshots

SIA chat: an answer from an AML policy with its sources panel listing each cited file and page
SIA opening a cited policy document at the page it came from, with the passage highlighted
SIA waiting for the user to confirm an email before sending it
SIA generating a Credit Committee memo as a Word document, previewed in the chat
SIA comparing two versions of a contract, with findings rated by severity
SIA ranking candidates against a job, with the reasons behind the top score
SIA routing analytics: calls, tokens and cost per task and model
SIA measuring models on its own tasks before routing to them
SIA's Knowledge Hub in Arabic, right to left, and the chat on a phone
SIA system architecture: Next.js front end, Traefik gateway, 22 FastAPI services, data stores and the LLM port with failover
SIA retrieval pipeline from document upload to a cited, graded answer, with evaluation results

Technologies

  • Python
  • FastAPI
  • NextJS
  • TypeScript
  • PostgreSQL
  • pgvector
  • MongoDB
  • Redis
  • RAG
  • IBM watsonx
  • Anthropic Claude
  • OpenAI
  • Docker

SIA is private company work at Intelligent Systems (ISYS), so the code is not public. The screenshots use fictional banking demo data.

~/portfolio

$ run a command