Harness Engineering & Agent Orchestration
by Master.dev (Frontend Masters), Scott Moss
A 5-hour TypeScript build of a production agent harness with durable execution, sandboxed code tools, memory compaction and multi-agent supervision.
Overview
Harness Engineering & Agent Orchestration is a 5 hour 5 minute video course published July 1, 2026 on Master.dev, the new domain of Frontend Masters, and taught by Scott Moss, a senior software engineer at Netflix and former CEO of Superfilter AI. It is organized into six sections. Harness Engineering covers what an agent harness is, project setup, tool setup, classify and reply tools, the harness runtime and streaming messages to a UI. Durable Execution adds DBOS workflows backed by Postgres on Neon, durable tools and a durable agent loop wired into the server. Sandboxed Tools and Memory covers code mode and its security boundary, a runCode tool, system-prompt updates, memory and context hydration, and summarization and compaction. Orchestration and Supervision builds agent handoffs with a billing agent, triage, supervision with subagents, a supervisor workflow, subagent dispatch and human-in-the-loop approval. The stack is TypeScript and Node.js with the Vercel AI SDK, the OpenAI API, Express and WebSockets, and Drizzle ORM. The companion repo, Hendrixer/harness-engineering on GitHub, has about 133 stars and keeps each lesson on its own branch, so you can check out any lesson's starting state. There is no per-course purchase: access comes with a Master.dev subscription, which starts at $39 a month, with free preview lessons.
At a Glance
- Topic
- Agentic
- Level
- Intermediate
- Format
- Video
- Cost
- Paid
- Duration
- ~5 hours of video (5h5m), self-paced, plus time to build along
- Provider
- Master.dev (Frontend Masters), Scott Moss
- Hands-on
- Yes — code/exercises
- Certificate
- Available
What You’ll Learn
- ✓How to build an agent harness runtime in TypeScript that streams messages to a web UI
- ✓How to make tools and the agent loop durable with DBOS workflows on Postgres so runs recover after a crash
- ✓How to give an agent a sandboxed runCode tool and draw the security boundary around generated code
- ✓How to hydrate an agent's context with memory and compact it through summarization
- ✓How to implement agent handoffs and triage between specialized agents such as a billing agent
- ✓How to run a supervisor workflow that dispatches subagents and collects their results
- ✓How to add human-in-the-loop approval to a multi-agent system before risky actions run
Highlights
- •Covers durable execution, the part most agent tutorials skip, using DBOS and Postgres rather than an in-memory loop
- •Every lesson has its own git branch in the public companion repo, so you can start from any point
- •Builds one system end to end over five hours instead of a series of disconnected demos
- •Taught by Scott Moss, who also teaches the site's AI Engineering Fundamentals and AI Agents Fundamentals courses
- •Rated 4.7 on the course page
Who It’s For
Best For
- ✓TypeScript and Node.js developers moving an agent prototype toward production
- ✓Engineers who need crash recovery and audit trails for long-running agents
- ✓Teams designing multi-agent systems with supervisors, handoffs and human approval
- ✓Existing Frontend Masters or Master.dev subscribers on the AI Engineering learning path
Prerequisites
- •Comfort with TypeScript and Node.js, per the course page
- •Experience building a basic agent or AI-powered application
- •An OpenAI API key and a Postgres database (the repo suggests a free Neon instance)
- •A Master.dev subscription for full access
FAQ
What is Harness Engineering & Agent Orchestration?
Harness Engineering & Agent Orchestration is a five-hour video course from Master.dev (formerly Frontend Masters) for TypeScript and Node.js developers who have built a basic agent. You build one harness step by step and finish with a recoverable multi-agent system: durable workflows on Postgres, a sandboxed code tool, memory compaction, agent handoffs and human approval.
Is Harness Engineering & Agent Orchestration free?
Harness Engineering & Agent Orchestration is a paid resource.
What level is Harness Engineering & Agent Orchestration for?
Harness Engineering & Agent Orchestration is aimed at a intermediate audience. Recommended background: Comfort with TypeScript and Node.js, per the course page, Experience building a basic agent or AI-powered application, An OpenAI API key and a Postgres database (the repo suggests a free Neon instance), A Master.dev subscription for full access.
How long does Harness Engineering & Agent Orchestration take?
Expect roughly ~5 hours of video (5h5m), self-paced, plus time to build along. Most learners work through it at their own pace.
What will I learn from Harness Engineering & Agent Orchestration?
You'll learn: How to build an agent harness runtime in TypeScript that streams messages to a web UI; How to make tools and the agent loop durable with DBOS workflows on Postgres so runs recover after a crash; How to give an agent a sandboxed runCode tool and draw the security boundary around generated code; How to hydrate an agent's context with memory and compact it through summarization; How to implement agent handoffs and triage between specialized agents such as a billing agent; How to run a supervisor workflow that dispatches subagents and collects their results; How to add human-in-the-loop approval to a multi-agent system before risky actions run.
Topics
Sources
This page was written from 4 sources, 1 on domains other than master.dev.
- 1.master.dev — agent harnessvendor
- 2.master.dev — joinvendor
- 3.master.dev — scott mossvendor
- 4.github.com — harness engineering