CSCI 3XXX

Practical AI Systems & API Design

Design, build, deploy, and evaluate AI-powered web applications with secure API boundaries and responsible engineering practice.

14 weeks Project-based Free-tier deployable Security + evals

Course rationale

Applied AI systems for web application students.

This course complements AI and ML theory by teaching students how to integrate foundation-model APIs into reliable, secure, deployed software systems.

Systems focus

Students learn the engineering layer around AI: API contracts, context management, backend security, deployment, observability, and cost control.

Evidence of learning

Every major milestone produces an inspectable artifact: working code, a deployed URL, a design explanation, and documented evaluation results.

Responsible practice

Students practice safe API use, prompt-injection awareness, privacy-sensitive design, failure documentation, and human-centered AI UX.

Classroom scene showing an AI systems lesson with students working on laptops

Studio format

Short briefings, then hands-on systems work.

Class time is organized around applied builds, critique, and debugging. Students practice the engineering judgment behind AI applications, not only the vocabulary around models.

  • Live code walkthroughs connect API behavior to architecture decisions.
  • Students work in teams, deploy frequently, and review each other's systems.
  • Discussion focuses on reliability, cost, safety, and how to explain tradeoffs.

What you will build

From first AI call to final deployed project.

The course compounds: each build adds a production concern you need in real AI software.

Week 2

First deployed AI app

Week 4

Secure backend with API proxy

Week 6

RAG system over real documents

Week 7

Live MVP midterm

Week 9

Multi-step agent

Week 10

Eval harness

Week 14

Final deployed project

The stack

Free-tier tools, real production shape.

Students learn the same moving parts that power modern AI applications: UI, API boundary, model calls, data, search, deploys, and version control.

React + Vite

Free

Frontend

UI layer

Cloudflare Pages

Free

Deployment

Static hosting

Cloudflare Workers

Free

Backend / API proxy

Secure edge API

Anthropic API

AI calls

Model layer

Supabase

Free

Database + Vector search

Data layer

GitHub

Free

Version control

Team workflow

Student outcomes

What students can demonstrate by the end.

The final work is designed to show implementation skill, architecture judgment, responsible API use, and the ability to evaluate an AI system beyond a polished demo.

1

Build and deploy

Develop a working AI-powered web application with a frontend, secure backend API boundary, database layer, and public deployment URL.

2

Explain the system

Produce a concise architecture brief that documents data flow, model calls, security controls, cost assumptions, and design tradeoffs.

3

Evaluate behavior

Create an evaluation report with test cases, failure analysis, regression checks, and recommendations for improving reliability and user trust.

Assessment

How learning is measured.

Assessment emphasizes repeated practice, technical correctness, design reasoning, responsible deployment, and clear communication.

15%

Studio participation

Attendance, peer feedback, code review participation, and professional collaboration habits.

35%

Build checkpoints

Weekly and sprint-based submissions covering API integration, backend security, RAG, agents, and deployment.

20%

Evaluation and safety report

Test cases, failure documentation, cost analysis, prompt-injection review, and responsible-use considerations.

30%

Final project review

Live demo, code quality, architecture explanation, operational readiness, and reflection on limitations.

Syllabus

14 weeks of applied AI systems work.

A visible week-by-week schedule with the technical focus, class activity, and evidence of learning shown up front.

Week 1

What is an AI System

Students learn to treat AI as one component inside a larger software system: user interface, API boundary, model provider, data layer, monitoring, security, and evaluation.

In class
Map a real AI product into frontend, backend, provider, storage, and risk surfaces.
Deliverable
Account setup, starter repo, and a one-page architecture sketch for the first app.
Week 3

Context Engineering

Students design prompts as software interfaces, with explicit roles, constraints, examples, token budgets, and structured outputs that downstream code can parse safely.

In class
Compare vague prompts against schema-driven prompts and measure reliability differences.
Deliverable
A prompt contract that returns validated JSON for a real application workflow.
Week 4

Backend & Security

Students move AI calls behind a Cloudflare Worker so API keys stay off the client, inputs can be validated, and abuse controls can be applied before model calls run.

In class
Build an API proxy with secrets, CORS rules, request validation, and rate-limit thinking.
Deliverable
A secured backend endpoint connected to the deployed frontend.
Week 5

Model Selection & Cost

Students compare model quality, latency, streaming behavior, and per-request cost so model choice is justified by product requirements instead of hype.

In class
Benchmark the same task across model options and estimate cost under realistic usage.
Deliverable
A model decision memo with latency, quality, and cost tradeoffs.
Week 8

Multimodal APIs

Students extend beyond text by evaluating when vision, transcription, and document understanding APIs create value and what privacy constraints they introduce.

In class
Prototype one multimodal feature and inspect file handling, error cases, and consent language.
Deliverable
A working multimodal interaction or a justified decision not to include one.
Week 11

Security

Students analyze prompt injection, data leakage, unsafe tool use, over-broad permissions, and responsible deployment obligations for public AI applications.

In class
Red-team sample prompts and document mitigations at the prompt, API, and UI layers.
Deliverable
A threat model and mitigation checklist for the final project.
Week 12

AI UX

Students design interfaces that set expectations, show progress, communicate uncertainty, recover from errors, and make AI behavior inspectable to users.

In class
Improve streaming, empty states, citations, retry flows, and user trust cues in the MVP.
Deliverable
A UX pass that turns the project from demo into usable application.
Week 13

Project Communication

Students turn technical work into professional evidence by explaining architecture, tradeoffs, eval results, cost controls, and scope in language reviewers can trust.

In class
Workshop architecture diagrams, resume bullets, demo narratives, and final risk disclosures.
Deliverable
A one-page architecture document and polished final-demo plan.
Portrait of Mira Yun
Boston College

Course instructor

Mira Yun, Ph.D.

Professor of the Practice · Computer Science Faculty

Boston College Computer Science Professor of the Practice
Office
245 Beacon Street 509
Telephone
617-552-3686
Department
Boston College Computer Science

Prerequisites

Come in ready to build for the web.

Option A

Web + systems route

CSCI 2254 Web Application Development
CSCI 2271 Computer Systems

Best fit for students who have built web applications and understand the systems layer that supports deployed software.

Option B

Software engineering route

CSCI 3356 Software Engineering

Best fit for students with team software project experience, code review practice, and application design exposure.

  • Comfortable writing JavaScript for interactive web applications.
  • Have seen a REST API and understand request/response data flow.
  • Ready to use GitHub, deploy code, and debug across frontend/backend boundaries.

No prior machine learning coursework is required. Model training is not the focus; the course teaches how to design and evaluate applications that use AI APIs responsibly.