AgenticSkillsFrameworks

Agent Harness Engineering: Build an agent by wrapping an LLM with a harness

by DeepLearning.AI

BeginnerCourseFreemium~1 hour (1h3m: 5 video lessons, 1 code example, a graded quiz), self-paced

Andrew Ng's one-hour intro to agent harnesses: wrap an LLM in a loop with tools, guardrails and memory using the open-source OpenWorker SDK.

Start LearningAdded Dec 1, 2026 · Updated Dec 1, 2026

Overview

Agent Harness Engineering is a beginner short course from DeepLearning.AI, taught by Andrew Ng and Rohit Prasad, who together built the open-source OpenWorker Agent Harness SDK that the course uses (the SDK lives in the andrewyng/openworker GitHub repository, MIT licensed, about 19.7k stars). The course runs 1 hour 3 minutes and was last updated on November 30, 2026. It has five video lessons: Build an Agent by Wrapping an LLM with a Harness, Why Agent Harness Engineering, Agent Safety: Implementing Guardrails, Agent Memory, and a 13-minute Practice Build with Andrew. A code example, a graded review quiz and a glossary follow. The lessons walk through the request, response and tool-call loop, compare a coding agent with a customer-support agent, and then build one running example: an agent that sorts a messy Downloads folder. You add guardrails that block reads of sensitive files, redact API keys before the model sees them and ask for your approval before confidential files move, and memory that asks once how you want files organized and reuses that preference, with context compaction for longer sessions. You build by prompting a coding agent with the OpenWorker skill installed rather than writing code by hand, so it suits developers who want the concepts quickly. Auditing is free; certificates and graded items need a paid PRO plan.

At a Glance

Topic
Agentic
Level
Beginner
Format
Course
Cost
Freemium
Duration
~1 hour (1h3m: 5 video lessons, 1 code example, a graded quiz), self-paced
Provider
DeepLearning.AI
Hands-on
Yes — code/exercises
Certificate
Available

What You’ll Learn

  • ✓How a harness wraps an LLM in a loop that chooses the next tool call or action
  • ✓How the request, response and tool-call cycle drives a working agent from start to finish
  • ✓How a coding agent and a customer-support agent differ in their harness design
  • ✓How to add guardrails that block reads of sensitive files and redact API keys before the model sees them
  • ✓How to require human approval before an agent moves confidential files
  • ✓How to give an agent memory of user preferences and compact its context in longer sessions
  • ✓How to build a working file-organizer agent with the open-source OpenWorker Harness SDK and a coding agent

Highlights

  • •Taught by Andrew Ng and Rohit Prasad, the co-creators of the SDK used in the lessons
  • •Built on OpenWorker, an MIT-licensed open-source harness SDK with about 19.7k GitHub stars, so you can keep using it after the course
  • •One concrete running example (a Downloads-folder organizer) carries every concept, from tool loop to guardrails to memory
  • •Short enough to finish in an evening: about one hour including the practice build
  • •You build by directing a coding agent such as Claude Code, Codex or OpenCode, which matches how many teams now prototype agents

Who It’s For

Best For

  • ✓Developers who use LLM APIs but have never built an agent harness
  • ✓Engineers who want a quick mental model of agent loops, guardrails and memory before reading the deeper literature
  • ✓Teams evaluating the OpenWorker Harness SDK for an internal agent
  • ✓Technical leads who need to explain what a harness is to their team

Prerequisites

  • •Basic familiarity with what an LLM is and how a chat API call works
  • •Access to a coding agent (for example Claude Code or Codex) for the practice build
  • •No prior agent-building experience is required

FAQ

What is Agent Harness Engineering: Build an agent by wrapping an LLM with a harness?

Agent Harness Engineering is a free-to-audit DeepLearning.AI short course for developers who have never built an agent harness. In about an hour you learn how a harness wraps an LLM in a tool-calling loop, then use a coding agent and the open-source OpenWorker Harness SDK to build a file-organizer agent with guardrails and memory.

Is Agent Harness Engineering: Build an agent by wrapping an LLM with a harness free?

Agent Harness Engineering: Build an agent by wrapping an LLM with a harness offers free content, with paid options for certificates or premium features.

What level is Agent Harness Engineering: Build an agent by wrapping an LLM with a harness for?

Agent Harness Engineering: Build an agent by wrapping an LLM with a harness is aimed at a beginner audience. Recommended background: Basic familiarity with what an LLM is and how a chat API call works, Access to a coding agent (for example Claude Code or Codex) for the practice build, No prior agent-building experience is required.

How long does Agent Harness Engineering: Build an agent by wrapping an LLM with a harness take?

Expect roughly ~1 hour (1h3m: 5 video lessons, 1 code example, a graded quiz), self-paced. Most learners work through it at their own pace.

What will I learn from Agent Harness Engineering: Build an agent by wrapping an LLM with a harness?

You'll learn: How a harness wraps an LLM in a loop that chooses the next tool call or action; How the request, response and tool-call cycle drives a working agent from start to finish; How a coding agent and a customer-support agent differ in their harness design; How to add guardrails that block reads of sensitive files and redact API keys before the model sees them; How to require human approval before an agent moves confidential files; How to give an agent memory of user preferences and compact its context in longer sessions; How to build a working file-organizer agent with the open-source OpenWorker Harness SDK and a coding agent.

Topics

agent harnessguardrailsagent memoryopenworkerandrew ngtool calling

Sources

This page was written from 4 sources, 2 on domains other than deeplearning.ai.

  1. 1.deeplearning.ai — agent harness engineeringvendor
  2. 2.learn.deeplearning.ai — agent harness engineering
  3. 3.github.com — README.md
  4. 4.deeplearning.ai — issue 379vendor