AI Product Engineering: Building Intelligent Applications with Modern AI

Format: 15 Sessions × 2 Hours | 30 Hours Total
Structure: Three Blocks — Foundations, Engineering, Agents & Deployment
By Arjan KC | Educator & practitioner

Duration: 30 Hours Format: 15-Session Summer School Level: BSc CS (mixed semesters) Type: Non-Credit Summer School
15 Session Notes
15 Slide Decks
30 Hours
ℹ️ Overview

Course Sessions (3 Blocks)

Presentation Slides

Session 1 Slides

Session 1 Slides: The AI-Native Workspace

Slides for Session 1 — cloud AI stack, the engineering partnership model, environment setup, and ...

Session 2 Slides

Session 2 Slides: Prompting & Structured Outputs

Slides for Session 2 — prompt components, zero/few-shot techniques, chain-of-thought, and enforci...

Session 3 Slides

Session 3 Slides: The Personal Exocortex

Slides for Session 3 — exocortex concept, Obsidian setup, atomic notes, Maps of Content, and vaul...

Session 4 Slides

Session 4 Slides: Context Engineering

Slides for Session 4 — context window constraints, context engineering principles, template desig...

Session 5 Slides

Session 5 Slides: AI-Assisted Software Engineering

Slides for Session 5 — AI development partner model, four Copilot workflows, evaluate-refine cycl...

Session 6 Slides

Session 6 Slides: Rapid Application Prototyping

Slides for Session 6 — prototype mindset, architecture-first thinking, minimal stack, UI generati...

Session 7 Slides

Session 7 Slides: API Integration & Cloud Models

Slides for Session 7 — API anatomy, temperature, authentication security, making real Gemini API ...

Session 8 Slides

Session 8 Slides: Grounding AI — Embeddings Basics

Slides for Session 8 — knowledge cutoff problem, vector embeddings, cosine similarity, embedding ...

Session 9 Slides

Session 9 Slides: Building the RAG Pipeline

Slides for Session 9 — RAG pipeline stages, critical system prompt design, retrieval quality eval...

Session 10 Slides

Session 10 Slides: Introduction to AI Agents

Slides for Session 10 — chatbot vs agent distinction, agent loop, types of actions, safeguards, a...

Session 11 Slides

Session 11 Slides: Tool Calling & Actions

Slides for Session 11 — function calling architecture, tool schemas, tool executor, the calling l...

Session 12 Slides

Session 12 Slides: Multimodal AI & Data Pipelines

Slides for Session 12 — multimodal model capabilities, image data extraction, pipeline architectu...

Session 13 Slides

Session 13 Slides: Evaluation & Debugging

Slides for Session 13 — evaluation dimensions, hallucination patterns, adversarial testing catego...

Session 14 Slides

Session 14 Slides: Security, Privacy & Responsible AI

Slides for Session 14 — prompt injection, data privacy risks, bias and fairness, guardrails, and ...

Session 15 Slides

Session 15 Slides: AI Product Lab & Showcase

Slides for Session 15 — showcase structure, live demo guidance, architecture diagram requirements...

Course Overview

About This Module

AI Product Engineering is a 30-hour practical summer school for computer science students in mixed semesters. Early-semester students complete the Core path (TODOs in the starter kit). Later-semester students add Stretch work. Pair across levels when you can. HTML, CSS, JavaScript, and Node.js are required. Machine-learning theory and a second language (Python) are not.

The module is built on a foundational principle: AI has democratised software development. Modern AI tools allow students to generate, understand, debug, and iterate on software using natural language. This shifts the relevant skills from implementation syntax to architecture, evaluation, security, and product thinking.

Starter kit: Clone the course repository at github.com/arjankc/ai-product-engineering. The repository will have branches corresponding to the specific project tracks. Setup instructions are in the repository's README.

Classroom slides: Each session deck includes two short Interactive checkpoints (MCQ, True/False, or classify) placed immediately after major concepts — use them to cold-call students or teams during Hour 1, before the lab block.

THINK → KNOW → BUILD → CONNECT → EQUIP → EVALUATE → SHIP

The Three Blocks

Block 1: Foundations & The Exocortex

Sessions 1–4. Set up a cloud-backed AI development environment, master structured prompting and JSON output control, build a personal knowledge base using Obsidian, and design context templates for reliable AI ingestion. The knowledge base built here becomes the foundation of the RAG pipeline in Block 2.

Block 2: Engineering & Integration

Sessions 5–9. Use GitHub Copilot as an engineering partner to scaffold the Node/Express starter. Build a vanilla HTML UI. Integrate Gemini on the server. Generate vector embeddings from your knowledge base in JavaScript. Build a complete Retrieval-Augmented Generation (RAG) pipeline that answers questions grounded in your curated knowledge.

Block 3: Agents, Evaluation & Deployment

Sessions 10–15. Design multi-step autonomous agent workflows. Implement tool calling so AI can interact with external systems. Process images and documents with multimodal AI. Evaluate for hallucination, relevance, and consistency. Apply security guardrails against prompt injection. Ship a working prototype in the final AI Product Lab.

Learning Outcomes

By the end of the module, students will be able to:

  1. Explain the role of generative AI and cloud models within modern software systems
  2. Identify real-world problems where AI can provide meaningful value
  3. Apply structured prompt and context engineering to control AI outputs
  4. Use AI-assisted development tools to design, generate, and debug a Node/Express web application
  5. Build personal knowledge systems (an exocortex) to organise information for AI retrieval
  6. Design basic RAG workflows using cloud APIs
  7. Integrate lightweight AI agents and tool-calling capabilities into software
  8. Evaluate AI applications for reliability, hallucination, privacy, and security risks
  9. Develop and present a functional prototype addressing a defined real-world problem

What Students Build

  • ✅ An AI-native development workspace with cloud API access
  • ✅ A personal exocortex (knowledge base) in Obsidian
  • ✅ A structured prompt library for their application domain
  • ✅ A web application with a real cloud AI API backend (Express + Gemini on the server)
  • ✅ A complete RAG pipeline — questions answered from their own knowledge base
  • ✅ Tool calling integration for real-time external data access
  • ✅ A test suite with documented evaluation results
  • ✅ An AI Risk Report covering security, privacy, and fairness
  • ✅ A working prototype demonstrated in the AI Product Lab

Project Tracks

Students can choose from 10 different project tracks (or define their own). In the future, the course GitHub repository will have specific branches for each of these tracks to provide appropriate starter code and scaffolding.

Track 1: Context-Aware Academic Assistant

Build an AI academic assistant that grounds its answers strictly in your personal lecture notes and course materials.

Track 2: Smart Pantry & Recipe Architect

An intelligent kitchen assistant that creates recipes based on what's physically in your fridge while respecting family allergies.

Track 3: Local Hardware Troubleshooting Bot

A specialized tech-support bot grounded in exact device manuals and local network topologies.

Track 4: Travel Log & Itinerary Copilot

A personal travel assistant that remembers what you like and helps navigate foreign environments dynamically.

Track 5: Personal Fitness & Rehab Coach

A highly personalized fitness AI that avoids aggravating old injuries while adapting to any gym environment.

Track 6: Automated Expense & Tax Analyst

A financial assistant that processes raw receipts and categorizes them against your personal budget and tax rules.

Track 7: Household Plant Care & Botany Assistant

A digital botanist tailored exactly to the specific species of plants in your home and your local climate.

Track 8: Tabletop RPG / Board Game Master

An AI Game Master assistant that acts as a lore-keeper and rules arbitrator for complex tabletop sessions.

Track 9: Local Heritage & Architecture Guide

A hyper-local tour guide application providing deep architectural and cultural context for historical sites.

Track 10: Home Maintenance & DIY Helper

An interactive home management manual tracking appliance specs, paint colors, and maintenance logs.

Technology Stack

Stack as of August 2026

If Google renames a model or moves the AI Studio UI, follow ai.google.dev and update the kit README plus these IDs in one pass.

  • npm: @google/genai (GoogleGenAI)
  • Generate: gemini-2.5-flash
  • Embeddings: gemini-embedding-2

Cloud AI Services

  • Google AI Studio + Gemini API — inference and embeddings
  • GitHub Copilot — AI-assisted code development

Development

  • Node.js 20+ and Express — backend
  • HTML + CSS + vanilla JavaScript — frontend
  • Visual Studio Code — development environment

Knowledge Management

  • Obsidian — local Markdown knowledge base
  • Cosine similarity in JavaScript — no NumPy

No local GPU required. All AI inference runs via cloud APIs. API keys stay on the server, never in the browser.

Assessment (Non-Credit Summer School)

Showcase gate: students may not present without test-suite.json (documented scores) and AI-Risk-Report.md.

  • Participation and Practical Labs (Core complete): 20%
  • Product Concept and Architecture: 20%
  • Functional AI Prototype: 25%
  • Evaluation and Responsible AI Report: 20%
  • Final Presentation and Showcase: 15%