COMS 4995-15: Designing LLM Agents (Columbia, Fall 2026)
by Columbia University (Shreya Havaldar)
Build an LLM agent up from tokenizers and decoding through RAG, memory, guardrails and a deployed web app, with public homeworks and Python activities.
Overview
COMS 4995-15 Designing LLM Agents is a 3-point Columbia University computer science topics course for Fall 2026, listed in Columbia's Directory of Classes under instructor Shreya Havaldar (38 of 40 seats filled as of October 29, 2026). The course site says she is an AI researcher at Bloomberg with a 2026 PhD from UPenn. The public site has slides, Python activity files with solutions and the full homework specs, organized in three modules. Module 1, Interacting with LLMs, covers what agents are, LLM architectures and training, how LLMs generate text (with a beam search activity), and prompting, reasoning and memory. Module 2, Building an LLM Agent, covers post-training and retrieval (with a reward model activity), the agentic harness and planning, tool calling, frameworks and MCP, then AI safety and agent evaluation. Module 3 covers vibe coding, industry guest lectures and project presentations. Homework 1 builds a data-cleaning pipeline, trains BPE from scratch and trains a small transformer classifier in PyTorch. Homework 2 implements greedy, top-k and top-p decoding on GPT-2, structured output from the Gemini API with self-consistency, embedding retrieval with recall@k against a keyword baseline, and buffer, summary and fact memory. Homework 3 combines these into a persona chatbot agent with retrieval, a style module, in-character guardrails, persistent conversations and a React, Vue or Svelte front end on FastAPI or Flask. No lecture videos are posted.
At a Glance
- Topic
- Agentic
- Level
- Intermediate
- Format
- Course
- Cost
- Free
- Duration
- 13 weeks, Sep 14 to Dec 14, 2026: one 2.5-hour class per week, three homeworks and a final project
- Provider
- Columbia University (Shreya Havaldar)
- Hands-on
- Yes — code/exercises
- Certificate
- None
What You’ll Learn
- ✓Train a byte-level BPE tokenizer from scratch and compare it against GPT-2, multilingual BERT and T5 tokenizers
- ✓Implement greedy decoding, temperature, top-k and top-p sampling with a repetition penalty on GPT-2
- ✓Extract structured output from the Gemini API using few-shot, chain-of-thought and self-consistency prompting, validated against a schema
- ✓Build an embedding retriever over chunked documents and measure recall@k against a TF-IDF keyword baseline
- ✓Write grounded answer prompts that cite sources and abstain when the corpus does not cover the question
- ✓Design conversation memory from a turn buffer, running summaries and extracted durable facts
- ✓Add guardrails that detect out-of-scope or post-cutoff questions and decline them in the agent's persona
- ✓Ship a full agent with persistent conversations behind a FastAPI or Flask backend and a React, Vue or Svelte front end
Highlights
- •All three homework specs are public and detailed enough to work through without enrolling, down to point breakdowns and short-answer questions
- •Each lecture comes with a runnable Python activity, and most have a published solution file
- •Goes from tokenization and decoding internals up to an end-to-end agent, so learners see what sits underneath agent frameworks
- •Runs on free tiers: GPT-2 locally, the Gemini API free tier and fastembed for embeddings
- •Covers MCP, the agentic harness, planning and agent evaluation in the Fall 2026 schedule
Who It’s For
Best For
- ✓Software engineers who know Python and want to build their first serious LLM agent
- ✓Developers who use agent frameworks and want to understand decoding, retrieval and memory underneath them
- ✓Instructors looking for a ready-made, assignment-driven agents curriculum
Prerequisites
- •Python proficiency, which the course site states is required
- •No prior machine learning background is assumed, though the first homework trains a small transformer in PyTorch
- •A free Google AI Studio key for the Gemini API, and a GPU such as a Colab T4 helps for the classifier in Homework 1
FAQ
What is COMS 4995-15: Designing LLM Agents (Columbia, Fall 2026)?
Designing LLM Agents is Columbia University's Fall 2026 course on building LLM-powered agents, taught by Shreya Havaldar. It is for Python developers with no prior ML background who want to understand how models generate text, then build retrieval, memory, tool calling and guardrails into a working conversational agent with a web front end.
Is COMS 4995-15: Designing LLM Agents (Columbia, Fall 2026) free?
COMS 4995-15: Designing LLM Agents (Columbia, Fall 2026) is free to access.
What level is COMS 4995-15: Designing LLM Agents (Columbia, Fall 2026) for?
COMS 4995-15: Designing LLM Agents (Columbia, Fall 2026) is aimed at a intermediate audience. Recommended background: Python proficiency, which the course site states is required, No prior machine learning background is assumed, though the first homework trains a small transformer in PyTorch, A free Google AI Studio key for the Gemini API, and a GPU such as a Colab T4 helps for the classifier in Homework 1.
How long does COMS 4995-15: Designing LLM Agents (Columbia, Fall 2026) take?
Expect roughly 13 weeks, Sep 14 to Dec 14, 2026: one 2.5-hour class per week, three homeworks and a final project. Most learners work through it at their own pace.
What will I learn from COMS 4995-15: Designing LLM Agents (Columbia, Fall 2026)?
You'll learn: Train a byte-level BPE tokenizer from scratch and compare it against GPT-2, multilingual BERT and T5 tokenizers; Implement greedy decoding, temperature, top-k and top-p sampling with a repetition penalty on GPT-2; Extract structured output from the Gemini API using few-shot, chain-of-thought and self-consistency prompting, validated against a schema; Build an embedding retriever over chunked documents and measure recall@k against a TF-IDF keyword baseline; Write grounded answer prompts that cite sources and abstain when the corpus does not cover the question; Design conversation memory from a turn buffer, running summaries and extracted durable facts; Add guardrails that detect out-of-scope or post-cutoff questions and decline them in the agent's persona; Ship a full agent with persistent conversations behind a FastAPI or Flask backend and a React, Vue or Svelte front end.
Topics
Sources
This page was written from 4 sources, 1 on domains other than designing-agents.github.io.