Skip to content

Ali Raza, Senior AI Engineer

I build LLM systems that run in production: multi-agent pipelines, RAG assistants and voice agents. I treat the model as one part of a reliable system, with schema-validated output, idempotent writes, cost tracking and eval suites in CI.

Portrait of Ali Raza

Lahore, PakistanOpen to remote work. 6+ years in production software, since January 2020.

one agent run

userAdd Sara Khan to Friday's onboarding list.

  1. Request received (): accepted
  2. The model reads it and picks a tool (): tool use
  3. Checks the existing records (): 200 OK
  4. Writes the new record (): timeout, then retry 2/3
  5. Saved exactly once (): written once
  6. Answer checked (): valid
  7. Tokens, latency and cost logged (): logged

agentDone. Sara Khan is on Friday's list.

This is what I build: an agent that takes a request, calls tools, survives a failed write without saving twice, checks its own answer and logs what it cost. Illustrated, not a live system.

What I build

I own the path from model to product: agent and tool design, orchestration, streaming inference, guardrails, evaluation and deployment on multi-tenant infrastructure.

Voice agents

Phone agents on LiveKit Agents, Gemini Live native audio and Twilio SIP that answer live calls and book, reschedule and confirm appointments. Outbound callers with lead dedupe, do-not-call suppression and a SIP handoff to the live agent.

Multi-agent pipelines

Staged specialist agents that research property, permit and GIS data or underwrite credit. Scoring stays deterministic, evidence is cited to its source, and a person keeps the final decision.

RAG

Assistants that answer from a company's own PDFs, spreadsheets and images, on PostgreSQL and pgvector. Hybrid retrieval with citations, and a handoff to a person when confidence is low.

Evals and guardrails

Schema-validated output, cost tracking, PII redaction and eval suites that run in CI. Prompt changes ship with regression tests like any other code.

Stack

AI
OpenAI, Claude, Gemini, LangGraph, LangChain, LiveKit Agents, MCP
Backend
Python, FastAPI, Celery, Twilio SIP
Data
PostgreSQL, pgvector, ChromaDB, Redis
Cloud
Docker, AWS, Azure
Earlier
PHP, Laravel, WordPress, Shopify, JavaScript, TypeScript, React, Next.js

Selected work

Systems I built at MindRind. This is client and in-house work, so it is described here rather than linked.

AI phone receptionist

Inbound voice agent, multi-tenant

LiveKit Agents, Gemini Live, Twilio SIP

What it does
Answers live phone calls for many businesses from one deployment, and books, reschedules and confirms appointments with no staff on the line.
The hard part
It is a phone call, not a chat. Speech in and speech out stream in real time over SIP, and a booking is a write that has to happen exactly once.

Outbound AI caller

Outbound voice agent

Twilio, SIP, CSV ingestion

What it does
Takes leads from a CSV, places the calls and hands each answered call from a recorded intro to the live agent.
The hard part
Dialing runs as persistent orchestration, and the handoff from the recorded intro to the live agent happens mid-call over SIP.
How it stays safe
Leads are deduplicated and checked against do-not-call suppression. Twilio webhooks are verified before they are trusted.

LendWise

AI credit underwriting

Multi-agent, Gemini

Read the case study: LendWise
What it does
Runs a credit application through staged specialist agents and produces a credit memo written by Gemini.
The hard part
Every claim in a credit memo has to point back to evidence someone can check.
How it stays safe
Risk scoring is deterministic code, not the model. Evidence is cited to its source. A person makes the final decision.

Equipment-finance sales agent

Tool-calling agent for a finance broker

OpenAI tool calling, Zoho CRM

Read the case study: Equipment-finance sales agent
What it does
Qualifies leads in conversation against a lender-matrix engine and creates them in Zoho CRM.
The hard part
Rates depend on lender rules, and a wrong rate said to a customer is costly.
How it stays safe
A deterministic lender-matrix engine does the matching. The model never computes or quotes a rate. The agent is validated by persona-based acceptance tests.

Vectriva

Agentic multimodal RAG, SaaS

LangGraph, LangChain, OpenAI, PostgreSQL, pgvector, Celery, FastAPI

Read the case study: Vectriva
What it does
Answers questions from a company's product PDFs, spreadsheets and images, and books Google Meet appointments from the same conversation.
The hard part
Retrieval has to work across text, tables and images, not only prose.

Aqua Land

Multi-agent property research

Four-stage agent pipeline, Claude

Read the case study: Aqua Land
What it does
Four agents in sequence (harvester, analyst, researcher, closer) work over property, permit and GIS data and end in an investment memo written by Claude.

Store support assistants

RAG for WordPress and Shopify stores

RAG, prompt regression tests

What it does
Answer customer questions from a store's own content.
How it stays safe
Low-confidence answers hand off to a person. Prompt regression tests run on every release.

WLR Track

Time and activity tracker, desktop and web

Electron, React, SQLite, Next.js, Prisma, PostgreSQL, S3

Read the case study: WLR Track
What it does
Records time, activity and screenshots on each employee's computer and syncs them to a dashboard where managers review time, reports and payroll.
The hard part
A tracker runs on a computer you do not control, which sleeps, loses the network, and has a clock the person can change.
How it stays safe
Durations come from the monotonic clock, never from subtracting wall-clock readings. Uploads are idempotent because IDs are generated on the device. A database exclusion constraint makes overlapping time impossible to store, deleted time included. Keystrokes, typed text and click positions are never read.

Also at MindRind: a multi-provider multi-agent chat platform (Gemini, OpenAI, Anthropic), an AI healthcare scribe that turns speech into SOAP notes, and a computer-vision home visualizer (segmentation, Poisson blending, ComfyUI on RunPod).

Open source

Six public repositories. Each has tests and passing CI.

All repositories on GitHub

  • llm-gateway on GitHub

    OpenAI-compatible gateway in front of OpenAI, Anthropic and Gemini. Priority failover that never double-bills, per-key budgets that hold under concurrent traffic, PII redaction, and an audit log without prompt bodies.

    Python, FastAPI

  • evalkit on GitHub

    CLI for prompt and agent regression testing. Deterministic and tool-call assertions, LLM-as-judge scoring, cached responses, baselines, and JUnit and JSON output for CI.

    Python

  • shopwright on GitHub

    AI support agent for Shopify stores. Hybrid RAG with citations, customer verification, refunds and cancellations only as proposals a merchant approves, and row-level security per store.

    Python, FastAPI, Claude, pgvector

  • agent-trace-viewer on GitHub

    Turns agent traces into a per-run summary and a self-contained HTML waterfall of every model and tool call, with latency, tokens, cost and failures.

    Python

  • rag-eval-bench on GitHub

    Benchmarks chunking strategies and BM25, dense and hybrid retrievers on recall@k, MRR and nDCG.

    Python

  • mcp-store-tools on GitHub

    MCP server that lets Claude answer from a Shopify store's live catalog and policies. Read-only by credential, with store text treated as untrusted input.

    Python, MCP

How I work

I treat the model as one part of a reliable system.

Before any code, we agree on five things.

  1. The job, in one sentence.
  2. The eval set, and the score that means good enough to ship.
  3. What data the model may see.
  4. What happens when the model is wrong, and who takes over.
  5. The cost budget.
  • If a wrong answer has a cost, the LLM should not be the one computing it.

  • Tools stay narrow, and nothing runs before its input is valid.

    Tool inputs are Pydantic models, validated before anything runs. Writes are idempotent with a request key. Every call is logged.

  • A budget that checks spend after the request is a report.

    Reserve the maximum cost before the call, settle after.

  • Most bad RAG answers are retrieval failures.

    Check retrieval first.

  • Voice AI is a telephony and reliability problem with an LLM in the middle.

  • Prompt changes get tests like any other code.

Writing

Short notes on the patterns I use to keep LLM systems reliable in production.

Experience

6+ years in production software, from e-commerce and APIs to LLM systems.
  1. Jun 2025 to present

    Senior AI Engineer, MindRind

    Full-time · Lahore, Pakistan · On-site

    • Built a multi-tenant AI phone receptionist on LiveKit Agents, Gemini Live native audio and Twilio SIP that answers live calls and books, reschedules and confirms appointments with no staff.
    • Extended it into an outbound AI caller: CSV lead ingestion, dedupe, do-not-call suppression, persistent dialing orchestration, verified Twilio webhooks and SIP handoff from recorded intro to live agent.
    • Architected Vectriva, an agentic multimodal RAG SaaS (LangGraph, LangChain, OpenAI, PostgreSQL + pgvector, Celery, FastAPI) that answers questions from product PDFs, spreadsheets and images and books Google Meet appointments.
    • Designed Aqua Land, a four-stage multi-agent pipeline (harvester, analyst, researcher, closer) over property, permit and GIS data, with Claude-written investment memos.
    • Built LendWise, AI credit underwriting with staged specialist agents, deterministic risk scoring, source-cited evidence and Gemini-generated credit memos, with the final decision kept by a human.
    • Shipped an OpenAI tool-calling sales agent for an equipment-finance broker that qualifies leads against a deterministic lender-matrix engine and creates them in Zoho CRM, validated by persona-based acceptance tests.
    • Added RAG support assistants to WordPress and Shopify stores with low-confidence human handoff and prompt regression tests on every release.
    • Also delivered a multi-provider multi-agent chat platform (Gemini, OpenAI, Anthropic), an AI healthcare scribe (speech-to-text to SOAP notes) and a computer-vision home visualizer (segmentation, Poisson blending, ComfyUI on RunPod).
    • Deployed AI services to AWS (EC2, ECS, Lambda, S3, RDS) and Azure (App Service, containers, Azure OpenAI).
  2. Aug 2024 to Jun 2025

    AI Engineer, StrategistIoT

    Full-time · Lahore, Pakistan · On-site

    • Built an AI mobile auction marketplace with vision-based listing generation from item photos, AI price estimates, personalized lot recommendations, a buyer chat assistant and suspicious-bidding detection.
    • Built PyTorch and scikit-learn pipelines for a financial simulation platform: synthetic population generation from US census (ACS) data, statistical imputation and distribution analytics.
    • Engineered an LLM data-generation pipeline on Azure OpenAI with prompt-template mutation, output scoring and a top-K leaderboard; Dockerized and covered by pytest.
    • Built an AI nutritionist app with voice and photo meal input that generates dietary profiles and daily meal plans.
    • Prototyped voice conversation with Google Cloud Speech-to-Text and built a fuzzy-matching entity-resolution pipeline (RapidFuzz, pandas) to merge real-estate agent datasets.
    • Integrated AI content generation and CRM automation (Klaviyo, Mailchimp, HubSpot) into 18+ client e-commerce platforms.
  3. Jul 2022 to Aug 2024

    Full Stack Developer, Neutro Pharma (Pvt.) Ltd

    Full-time · Lahore, Pakistan

    • Owned full-stack development of the company's digital platforms: 5 healthcare brand e-commerce sites built to WCAG 2.1 accessibility guidelines.
    • Cut page load times by 60% through lazy loading, deferred script loading, image optimization and CDN delivery, keeping Google PageSpeed scores above 90.
    • Built multi-step sales funnels with custom JavaScript, raising conversion rates by 35%.
    • Implemented JSON-LD structured data and technical SEO across product and brand pages, improving organic search visibility.
    • Ran each platform through the full development lifecycle: requirements, build, testing, deployment and maintenance.
  4. Apr 2021 to Jun 2022

    Web Developer, Neosoft Business Solutions

    Self-employed · Lahore, Pakistan

    • Designed and built Laravel REST APIs for real-time inventory and order sync between e-commerce storefronts and backend ERP systems, removing manual stock updates.
    • Automated data imports and daily reporting with scheduled jobs, so reports were ready each day without manual work.
    • Customized and extended 10+ PHP plugins for advanced forms, CRM data sync and real-time notifications.
    • Delivered a learning management platform with paid course sales, role-based access control and learner progress tracking.
  5. Jan 2020 to Mar 2021

    Software Engineer, UnionLogics

    Full-time · Lahore, Pakistan

    • Diagnosed and fixed complex JavaScript and PHP issues in e-commerce checkout flows and server-side templates, restoring broken purchase paths.
    • Built custom product configurators and multi-language support for a Shopify Plus store.
    • Delivered custom theme and plugin development in PHP and JavaScript across 15+ client projects, from requirements through deployment.

Education

BS Computer Science, Virtual University of Pakistan

Be the guardrail

My agents never write to production unchecked. For 40 seconds, you are the check.

Zap the bugs before they reach production. Let the good calls through.

  • Bug

    Zap it. Each one that lands costs a life.

  • Good call

    Leave it alone. It ships and scores on its own.

  • Hotfix

    Zap it to clear every bug on screen.

Four lanes. Click or tap a lane to zap the lowest thing in it, or use D F J K. P pauses. 40 seconds, three lives, and it speeds up. Streaks multiply your score, up to x5.

In short

The quick answers, for people and for search.
Who is Ali Raza?
Ali Raza is a Senior AI Engineer based in Lahore, Pakistan, with 6+ years in production software. He builds LLM systems that run in production: multi-agent pipelines, RAG assistants and voice agents.
What does Ali Raza specialize in?
LLM engineering with Python and FastAPI: agent and tool design, orchestration with LangGraph, retrieval-augmented generation on PostgreSQL and pgvector, voice agents on LiveKit and Twilio SIP, and evaluation, guardrails and cost control for models in production.
Where does Ali Raza work?
He has been Senior AI Engineer at MindRind in Lahore since June 2025. Before that he was AI Engineer at StrategistIoT, and earlier a full stack developer working with Laravel, WordPress and Shopify.
What open source projects has Ali Raza built?
llm-gateway (a multi-provider LLM gateway with failover and budgets), evalkit (prompt and agent regression testing), shopwright (an AI support agent for Shopify stores), rag-eval-bench, agent-trace-viewer and mcp-store-tools. All are public on GitHub under thealirazadev.
Is Ali Raza available for remote work, and how can I reach him?
Yes. He is open to remote roles and contract work. Email thealirazadev@gmail.com, or find him on LinkedIn and GitHub as thealirazadev.

Contact

Open to remote work. Write to me about a role or a system you need built.