🖥️
Backend & Full-Stack Engineers

AI for Software Engineers

Go from backend developer to AI engineer — with production-grade projects, real codebases, and skills you can apply to any enterprise system.

Designed for backend and full-stack software engineers who want to master Generative AI, Large Language Models (LLMs), and Retrieval-Augmented Generation (RAG). Every module is derived from production AI systems HYVE AI Labs has built for real-world enterprise clients across banking, fintech, insurance, government, and technology. You will leave with working code, deployed systems, a portfolio of production-quality projects, and the skills to transition into a GenAI engineering role — or lead AI feature development in your current team. No ML theory — pure engineering practice.

Duration
12 weeks · 6hrs/week
Format
Live online + async labs with HYVE engineer code review
Prerequisite
2+ years backend experience in any language; comfortable with REST APIs and databases

Curriculum

01

LLM Internals & APIs for Engineers

8hrs

How LLMs actually work — transformers, tokenisation, context windows, KV cache, temperature/top-p/top-k, and repetition penalty. Model selection for enterprise use cases: OpenAI vs Anthropic vs Google vs open-weight models. API integration patterns across OpenAI, Anthropic, and Google: auth, rate limiting, cost management, streaming with SSE, async generators, error handling, fallback strategies, and multi-provider routing. Quantisation formats (GGUF, AWQ, GPTQ) for self-hosted models. Context length management and token budgeting at scale.

Lab: Build a production multi-provider LLM router with automatic fallback, per-request cost tracking, and streaming support — handling 1,000+ requests with full observability.
02

Advanced Prompt Engineering for Production

8hrs

System prompt architecture, few-shot design, chain-of-thought prompting, ReAct patterns, and Tree-of-Thought for complex reasoning tasks. Structured generation with Instructor and Pydantic — extracting typed, validated data from LLM outputs. JSON mode and function calling for API integration. Prompt chaining and pipeline design. Prompt versioning systems, A/B testing LLM prompts like code, regression testing prompts against golden datasets. LLM-as-judge patterns for automated quality evaluation. Multilingual prompt considerations: language-specific prompting patterns, dialect handling, and formal vs informal register across languages.

Lab: Build a production prompt management system with version control, A/B testing, automated golden-set regression, and an LLM-as-judge evaluation pipeline.
03

Embeddings & RAG Foundations

10hrs

The science of embeddings — how dense vector representations are generated, what they encode, and why embedding model selection matters for accuracy. Embedding models compared: OpenAI text-embedding-3, Cohere embed-v3, Jina, and open-source alternatives. Chunking strategies for different document types: fixed-size, recursive, semantic, late chunking, and contextual retrieval (Anthropic's approach). Vector database selection and architecture: Pinecone, Weaviate, pgvector, Qdrant, Chroma — trade-offs, cost models, and data residency. Hybrid search: combining dense retrieval (FAISS/ANN) with sparse BM25. Re-ranking with cross-encoders for precision improvement. Metadata filtering for access control in multi-tenant enterprise systems.

Lab: Build a production RAG system over 10,000+ UAE real estate regulatory documents — hybrid search, cross-encoder re-ranking, metadata-based access control, <200ms p95 latency.
04

Advanced RAG Architectures

10hrs

Why naive RAG fails in production and how to fix it. Advanced RAG patterns engineered from real production enterprise deployments: HyDE (Hypothetical Document Embeddings) — generate a hypothetical answer to improve retrieval accuracy. Query decomposition — break complex questions into sub-queries for more precise retrieval. Multi-hop RAG — iterative retrieval chains for questions requiring reasoning across multiple documents. Agentic RAG — AI agents that decide when to retrieve, what to query, and when to stop. Corrective RAG (CRAG) — self-correction loops that detect poor retrieval and re-query. Self-RAG — models that reflect on their own outputs and decide whether to retrieve more. GraphRAG — building knowledge graphs from documents for relationship-aware retrieval. Context compression — LLMLingua and similar techniques to fit more context in limited windows.

Lab: Implement 3 advanced RAG patterns on a a large enterprise regulatory document corpus — benchmark accuracy improvement of each pattern vs. naive RAG using RAGAS metrics.
05

AI Agents & LangGraph for Enterprise Workflows

10hrs

Agent architecture fundamentals: the agent loop, planning, tool-use, and self-reflection. LangChain agent patterns vs LangGraph stateful workflows — when to use each. LangGraph deep dive: state machines, nodes, edges, conditional routing, and cyclical graphs for complex multi-step workflows. Tool-use and function calling: designing reliable, typed tool schemas. Memory systems: short-term (conversation history), long-term (vector store retrieval), and episodic memory (event logs). Multi-agent coordination: orchestrator-worker patterns, specialist agent routing, and agent handoffs. Human-in-the-loop controls: approval gates, escalation paths, and override mechanisms — required for regulated industry deployments. Enterprise use case: build a multi-agent loan processing pipeline automating document collection, verification, credit scoring enrichment, and compliance checks.

Lab: Build a 4-agent LangGraph workflow automating a loan pre-processing pipeline: document ingestion agent → PII extraction agent → eligibility scoring agent → compliance check agent with human escalation.
06

MCP: Enterprise AI Integration Architecture

8hrs

Model Context Protocol (MCP) — architecture, protocol design, and why it's the standard for connecting AI agents to enterprise systems. Building custom MCP servers: tool definitions, resource schemas, prompt templates. Authentication patterns for MCP: OAuth 2.0, API key management, JWT validation. Multi-tenant MCP design — permissioned data exposure ensuring agents only access authorised data per user/role. Rate limiting and quota management on MCP servers. Tamper-proof audit logging — every AI action logged with full context for regulatory examiner access. Connecting MCP servers to: CRM systems (Salesforce, HubSpot), core banking APIs, ERP systems (SAP, Oracle), enterprise government APIs and data services, and PostgreSQL/MongoDB databases. Real-world pattern: HYVE's MCP architecture for an enterprise KYC agent processing 300 documents/day.

Lab: Build a multi-tenant MCP server connecting a Claude AI agent to an enterprise CRM and regulatory database — with OAuth 2.0 auth, role-based data access, rate limiting, and a compliance-grade audit trail.
07

Multimodal AI — Documents, Images & Vision LLMs

8hrs

Why text-only AI is insufficient for enterprise use cases — most financial, legal, and operational data is in PDFs, scanned documents, and images. Vision LLMs: vision-capable models from OpenAI, Anthropic and Google — capabilities, cost models, and when to use each. Document AI APIs: AWS Textract, Azure Document Intelligence, Google Document AI — for high-volume structured extraction. Building multimodal RAG pipelines: extracting text, tables, charts, and embedded images from PDFs and adding to vector stores. UAE-specific document processing: Identity document OCR + LLM validation — extracting and verifying identity fields. Scanned financial statement analysis — extracting balance sheet figures from uploaded PDFs. Multi-language document processing — handling mixed-language documents and non-Latin scripts. Invoice and receipt structured extraction — line items, totals, tax breakdown for compliance. Streaming multimodal responses. Cost optimisation for high-volume document processing.

Lab: Build a multimodal document processing pipeline: upload an identity document → extract fields with vision LLM → validate against KYC rules → flag discrepancies → structured JSON output ready for core system ingestion.
08

Enterprise AI Use Cases — Loan Processing, Fraud Detection & PII Leak Detection

10hrs

Three complete production AI systems built from real enterprise deployments across banking, fintech, and regulated industries. Use Case 1 — Automated Loan Processing: End-to-end loan application pipeline — document ingestion (payslips, bank statements, identity documents), LLM extraction and validation of income and employment fields, credit policy rules engine, AI-generated underwriter summary, compliance checks, audit trail, and rejection reasoning. Use Case 2 — Credit Card Fraud Detection with LLM Reasoning: Real-time transaction scoring combining traditional ML signals with LLM contextual reasoning. Transaction narrative generation explaining flags in plain English for fraud analysts. False positive reduction using merchant category and spending pattern understanding. Use Case 3 — PII Data Leak Detection: Enterprise-wide PII scanning across documents, emails, databases, and API responses. LLM-powered contextual PII detection beyond regex — identifying indirect identifiers and quasi-identifiers. Regulatory data classification, real-time API response scanning, and compliance reporting dashboards.

Lab: Build all 3 use cases as working prototypes with documented architecture decisions — presented at a mock regulatory review panel with HYVE engineers acting as reviewers.
09

AI Security, Prompt Injection & OWASP LLM Top 10

8hrs

The security landscape for AI systems is fundamentally different from traditional application security. This module covers every attack vector and defence pattern an engineer building production AI for UAE enterprises needs to know. Prompt Injection: direct injection via user inputs, indirect injection via retrieved documents (a critical RAG vulnerability), and multi-hop injection chains. Detection, sanitisation, and architectural defences. Jailbreaking & Model Bypass: adversarial prompts, roleplay exploits, token smuggling, and encoding attacks. Building LLM firewall layers. Insecure Output Handling: injecting malicious content into AI outputs, XSS via LLM-generated HTML, SQL injection via LLM-generated queries. PII Leakage Prevention: detecting and scrubbing PII from both LLM inputs and outputs. Building PII detection pipelines using NER models and LLM classification. Preventing training data extraction. Supply Chain Attacks: compromised model weights, malicious fine-tuning datasets, and third-party plugin vulnerabilities. Excessive Agency: preventing AI agents from taking unintended destructive actions — capability constraints, confirmation requirements, and reversibility checks. OWASP LLM Top 10: all 10 vulnerabilities with UAE enterprise-specific examples and mitigations. Regulatory security requirements: mandatory controls for AI systems handling sensitive customer data in regulated industries.

Lab: Red-team a deployed RAG API: execute 5 prompt injection attacks, 3 PII extraction attempts, and 2 indirect injection attacks via document upload — then implement defences and re-test to verify.
10

AI Governance, Compliance & Responsible AI for UAE

8hrs

AI governance is not an afterthought in UAE-regulated industries — it is a prerequisite for deployment. This module covers the full governance stack required to operate AI in CBUAE-regulated banks, DIFC fintechs, UAE government agencies, and healthcare organisations. CBUAE AI Governance Framework: responsible AI principles for UAE banks, model risk management requirements, model validation standards, explainability requirements for credit and AML decisions. UAE PDPL (Personal Data Protection Law): data subject rights, consent management for AI training data, data residency requirements, and transfer restrictions to non-UAE infrastructure. DIFC DPDL: data protection requirements for DIFC-licensed entities, adequacy decisions, and cross-border data flow rules. Explainability & Interpretability: SHAP values, LIME, and attention visualisation for model decisions. Generating regulator-ready explanations for AI-driven credit decisions, fraud flags, and AML alerts. Bias Auditing: demographic parity, equalised odds, and calibration testing. UAE-specific bias risks: language bias (Arabic vs English), nationality bias, and socioeconomic bias in financial models. Audit Trail Architecture: tamper-proof logging of all AI decisions, inputs, and outputs. Immutable audit logs for CBUAE examiners. Retention policies aligned with UAE regulatory requirements. AI Model Risk Management: model inventory, validation protocols, ongoing monitoring requirements, and escalation thresholds. Human Override & Escalation: designing AI systems where humans can always override, inspect, and correct AI decisions — a hard requirement for UAE banking deployment.

Lab: Produce a Model Risk Management package for the loan processing AI built in Module 08: model card, bias audit report, explainability documentation, audit trail specification, and a mock regulator Q&A session.
11

Production Evaluation, Monitoring & A/B Testing

8hrs

How do you know your AI system is working? How do you know when it breaks? How do you compare two prompts or models objectively? This module covers the full evaluation and monitoring lifecycle for production LLM systems. Offline Evaluation: RAGAS framework: faithfulness, answer relevance, context recall, context precision — with domain-specific test datasets. LLM-as-judge: using a strong frontier model as an automated evaluator for open-ended outputs. Custom rubrics: building evaluation criteria for domain-specific tasks. Golden dataset construction: how to build and maintain a high-quality evaluation dataset for your specific use case. Online Monitoring: Real-time quality dashboards: latency SLOs, token cost per request, error rates, and AI quality scores. Drift detection for LLM systems: monitoring for input distribution shift, output quality degradation, and model version changes. User feedback loops: thumbs up/down, explicit ratings, and implicit signals (click-through, follow-up questions). Alerting pipelines: when to page an engineer vs when to auto-rollback. A/B Testing LLMs: Experimental design for LLM comparisons — statistical significance, sample sizes, and confounding factors. Shadow mode testing: running a new model in parallel without serving its outputs. Gradual rollout patterns: canary deployments for LLM model upgrades.

Lab: Build a complete evaluation and monitoring system for the RAG API from Module 03: RAGAS offline benchmark, LLM-as-judge pipeline, production quality dashboard, and an A/B test comparing two chunking strategies with statistical analysis.
12

Capstone: Ship a Production GenAI System for a UAE Enterprise

12hrs

The capstone is a complete, production-grade GenAI system built from requirements to deployment — individually or in a team of 2. You will select a UAE enterprise use case from the approved list (or propose your own) and deliver: architecture decision record, security and governance documentation, working backend implementation, evaluation framework, and a live demonstration. The system must meet production standards: <300ms p95 latency, >85% evaluation score on your RAGAS benchmark, full audit logging, compliance-grade data handling, and at least one multimodal input. Approved capstone use cases: financial product advisor chatbot, AML transaction narrative generator, customer onboarding document processing pipeline, multilingual regulatory Q&A system, insurance claims processing AI, and real estate valuation assistant. Capstone Demo Day is a live presentation event — attended by HYVE engineers, invited enterprise technology leaders, and industry guests. Professional feedback from every panellist.

Lab: Full capstone delivery — architecture → implementation → evaluation → security review → live Demo Day presentation to UAE industry panel.

Learning Outcomes

  • ✓Design and build production-grade RAG pipelines serving real enterprise document corpora — including large knowledge bases, regulatory documents, and multilingual content — with advanced retrieval architectures
  • ✓Integrate frontier models from OpenAI, Anthropic and Google, and open-weight LLMs such as Llama and Mistral into backend APIs with proper cost management, streaming, fallback strategies, and latency SLOs
  • ✓Build autonomous AI agents using LangChain and LangGraph — with tool-use, multi-step planning, persistent memory, and human-in-the-loop patterns for complex enterprise workflows
  • ✓Build and deploy MCP (Model Context Protocol) servers connecting AI agents to live CRMs, core banking systems, ERPs, and enterprise databases with full audit logging and permissioned access
  • ✓Implement multimodal AI pipelines that process PDFs, scanned documents, identity documents, and financial statements — using vision LLMs and document AI APIs for structured extraction
  • ✓Build production AI use cases for regulated industries: loan processing automation, credit card fraud detection with LLM reasoning, and enterprise PII data leak detection pipelines
  • ✓Apply advanced RAG architectures — HyDE, query decomposition, multi-hop RAG, agentic RAG, GraphRAG, CRAG, and self-RAG — to dramatically improve retrieval quality over naive RAG
  • ✓Implement AI security frameworks: prompt injection defences, indirect prompt injection protection, jailbreak detection, PII scrubbing pipelines, output validation, and OWASP LLM Top 10 mitigations
  • ✓Design and implement AI governance for regulated environments — model risk management, explainability requirements, data residency compliance, bias auditing, and tamper-proof audit trails
  • ✓Build production evaluation systems: offline benchmarking with RAGAS and LLM-as-judge, online quality monitoring dashboards, A/B testing for LLM responses, and automated regression suites

FAQs