# What a harness is and how to build one with Claude Agent SDK Page: https://stenobird.com/podcast/how-i-ai-7304222/what-a-harness-is-and-how-to-build-one-with-claude-agent-sdk Text version: https://stenobird.com/podcast/how-i-ai-7304222/what-a-harness-is-and-how-to-build-one-with-claude-agent-sdk.md Podcast: [How I AI](https://stenobird.com/podcast/how-i-ai-7304222) Published: 2026-07-08T11:00:00+00:00 Episode link: https://podcasters.spotify.com/pod/show/pen-name/episodes/What-a-harness-is-and-how-to-build-one-with-Claude-Agent-SDK-e3lnv0k Audio file: https://anchor.fm/s/1035b1568/podcast/play/122468820/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2026-6-6%2F427472067-44100-2-b6d14be11b2df.mp3 Processing state: not_requested JSON: https://stenobird.com/v1/public/podcasts/how-i-ai-7304222/episodes/what-a-harness-is-and-how-to-build-one-with-claude-agent-sdk Duration seconds: 1475 ## Resource Everybody is saying, “It’s not the model, it’s the harness,” but almost nobody stops to explain what a harness actually is. So I did. I built one live on the show: a Sentry bug-debugging harness for my company ChatPRD, using the Claude Agent SDK, a custom terminal UI built with the Ink library, and opinionated adapters for Sentry, Linear, GitHub, and Vercel. The harness handles evidence gathering, root-cause analysis, and follow-up artifact creation, all without me needing to type “dear agent, please fix this bug” ever again. I also walk through the architecture, share the code structure, and give you the exact process I used so you can build your own harness for any repetitive, structured workflow in your business. What you’ll learn: What a harness actually is When to build a harness versus when to stick with a general-purpose tool like Claude Code or Codex How to encode specific permissions into a harness The three components every harness needs How I used GPT-5.5 and Claude Opus to build the harness code itself (and where they both initially resisted) How to structure the artifacts your harness produces so the whole team can use the output — Brought to you by: Bolt.new —Turn your idea into a real product Customer.io —Build customer engagement campaigns from a single prompt — In this episode, we cover: (00:00) What is an AI harness? (03:19) When to build a harness (04:33) Why Claire picked bug triage (06:00) Why not just use Claude Code? (07:48) Demo: The custom harness interface (11:04) Architecture: runs, tasks, tools, and artifacts (13:44) Building it with Codex and Claude (15:08) Code map and file layout (16:51) A look at the code (19:18) The live investigation result (21:01) How to build your own harness — Tools referenced: • Claude Agent SDK (Anthropic): https:… ## Actions - request_transcript: `POST https://stenobird.com/v1/public/podcasts/how-i-ai-7304222/episodes/what-a-harness-is-and-how-to-build-one-with-claude-agent-sdk/transcription-requests` — Idempotently request low-priority transcript generation for this episode. - read_markdown: `GET https://stenobird.com/podcast/how-i-ai-7304222/what-a-harness-is-and-how-to-build-one-with-claude-agent-sdk.md` — Read the agent-friendly Markdown representation of this episode resource. A page view does not enqueue transcription. Agents should invoke `request_transcript` explicitly when they need this episode processed. ## Transcript Full transcripts are not published on public pages unless there is a clear rights basis.