The following article was originally published on the Decoding AI Magazine site and is being republished here with the author’s permission. When I was researching harness engineering I asked Claude Code to compare seven large repos: Claude Code’s leaked source, OpenCode, Pi, and a bunch more. Directly pointing Claude Code to these repos was a mess, generating superficial answers.
Senior AI Engineer • Founder @ Decoding AI • Author @ LLM Engineer's Handbook ~ I ship AI products and teach you about the process.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Paul Iusztin
You're Overengineering Your Claude Code Setup
After benchmarking Claude Code on different skills, MCP servers and AGENTS.md setups, I found out that a bare setup scored 95%, while a full-blown software factory scored 90%, at triple the price and agent coding time. You heard that right. I was blown away by the results too, because deep down I wanted the software factory to win. Table 1 shows the results on costs, coding agent time and performance for the two dimensions we will drill down into within this article: Inngest vs. LangChain.
My AI Setup That Operates My $298,000 Solopreneurship Business
Here is the recording of my AI setup that operates my $298,000 solopreneurship business. Proof that I use this setup as my daily driver to research, create content, write code, and stay organized. This is just a broad overview of my setup with a focus on the why. And the beginning of a longer series of webinars on how to use coding agents to write AI software such as RAG, memory layers or agents. Find the presentation slides here.
Inngest vs. LangChain: I Built the Same Long-Running Agent Twice
While building and talking about my latest long-running coding agent, CodeClimb, on LinkedIn and X, people kept asking me about one of their root fears: “If the run crashes after 6 hours, will it cost me twice to resume?” Just imagine. You left your agent work overnight. It ran for 6 hours, then crashed after a 30-second internet outage. When you go in the morning, excited to verify the results, you see failures instead.
Ship Agent Changes Safely in 5 Steps
You change a prompt on a branch... no errors, no complaints. Did you just break something that worked yesterday? The scariest AI failures are the silent ones. Without a way to know, you get afraid to change your prompts because the chance of breaking what worked without noticing is too high. The fix: build evals from your own failures. This roadmap shows you how to do it. Rank every failure cluster by frequency and severity. Most teams write elaborate eval criteria before looking at their data.
Build Durable, Secure Long-Running Agents
What would it take to trust an AI agent to work on your code overnight? Without burning through LLM API credits to reach its goal no matter what, exposing your credentials to the AI overlords, or losing hours of progress when something crashes at 5 AM. Long-running agents that implement huge chunks of work while you do something else are the future. You have to be delusional not to accept that.
Harness Engineering Roadmap: Claude Code From First Principles
The fastest way to learn harness engineering? Build Claude Code from scratch. Why harness engineering? LangChain kept the same model and changed only the harness. Their coding agent went from 53% to 67% on Terminal-Bench, a top coding-agent benchmark. From outside the top 30 to the top 5. Same model. Better harness. Over the past few months, I’ve taken apart Claude Code, OpenCode, and Pi to see how they work under the hood. And you don’t need to ship a coding agent for this to pay off.
What's Harness Engineering?
An AI model on its own can only talk. A harness is the software wrapped around it that lets it actually do things: touch your files, run your tools, and remember what happened. An AI model by itself only answers a prompt. A harness is what lets it act: use tools, remember, and take steps until a job is done. Picture harnessing a horse: the horse …
The Bare-Bones Coding Agent Loop
In LangChain’s Terminal-Bench experiment, changing only the harness (with the same model) moved a coding agent from ~30th place into the top 5: the harness, not the model, is what makes a coding agent good. In the open-source courseBuilding a Coding Agent From Scratch, you’ll build that harness from scratch in Python: Decode, a complete coding agent that grows lesson by lesson from a bare agent loop into a swarm of remote agents running in parallel in the cloud. Why?
Build, Configure, or Use As-Is: The Agentic Harness
Maxime Labonne and I were planning our upcoming book when we kept hitting the same realization. Just as LLMs got commoditized, the harness around them is commoditizing too, hardening into a handful of standardized, batteries-included frameworks. Once it’s a commodity, the hard question flips. It stops being “how do I get an agent running” and becomes “for each piece, do I build, configure, or just use it?” And that line is blurry.
Why Does Every Agent Session Start From Zero?
When I was researching about harness engineering I asked Claude Code to compare 7 large repos: Claude Code’s leaked source, OpenCode, Pi and a bunch more. Directly pointing Claude Code to these repos was a mess, generating superficial answers. The standard fix is to ask the agent to compile notes for each repo and then compare them, which works, but it’s cumbersome to manage. Especially if you want to repeat the process.
Agent Memory From Scratch
Agent memory is one of the hottest problems in AI engineering right now, with Graphiti, mem0, HydraDB, and cognee all racing to solve it. A race this crowded means one thing: nobody has cracked it yet. But if you’re thinking of jumping straight into an agent memory tool without understanding how it works under the hood, read this first.
From a Raw Shell to a Sandboxed Coding Agent
In LangChain’s Terminal-Bench experiment, changing only the harness (with the same model) moved a coding agent from ~30th place into the top 5: the harness, not the model, is what makes a coding agent good. In the open-source courseBuilding a Coding Agent From Scratch, you’ll build that harness from scratch in Python: Decode, a complete coding agent that grows lesson by lesson from a bare agent loop into a swarm of remote agents running in parallel in the cloud. Why?
How Evaluation-Driven Development (EDD) Works
The scariest AI failures are the silent ones. You ship a change to your agent on a branch — a new feature, a prompt fix, a quick refactor. No errors. No complaints. Everything looks fine. But does it still work, or did you quietly break something that worked yesterday? As Alejandro Aboy puts it: “the fact that they’re not complaining doesn’t mean there’s no issue going on.” A quiet user is not a happy user. Usually, it’s the opposite.
Your Second Brain Is a Graveyard. Make It Agent Memory.
I spent 18 months turning my second brain into my living research memory. My digital life contains 10,994 notes: over 5,000 in Obsidian, another 5,000 in Readwise, plus more in Notion and Google Drive, growing by roughly 250 a month. The reality is that most of my notes and bookmarks transformed into a graveyard. When I start a new article or open a codebase, I can’t recall the high-signal notes I already have, so I work without them or burn an hour digging.
Context Engineering for Coding Agents
Every AI application that wraps an agent is a harness! In LangChain’s Terminal-Bench experiment, changing only the harness (with the same model) moved a coding agent from ~30th place into the top 5: the harness, not the model, is what makes a coding agent good.
11 Tips to Run Coding Agents 24/7 on One Subscription
I’m on vacation, so today I will keep it short. Since February 2026, when I got my $200 Anthropic subscription, I maxed it out only once. It happened when Fable was released, and I started using it the way I used previous models such as Opus. After 4-5 queries through my content and software factories, I was running out of tokens. Since then, I still use Fable, but only where it’s worth it. Never hitting my weekly token limit. At least not by surprise.
Every AI application that wraps an agent is a harness! In LangChain’s Terminal-Bench experiment, changing only the harness (with the same model) moved a coding agent from ~30th place into the top 5: the harness, not the model, is what makes a coding agent good.
From Harness Lock-In to Portable Context Layer
Models are commoditizing fast. Harnesses already have. What you care about is your research, your notes, your conversations, your tasks, your preferences, and your domain knowledge. “Free” open-source harnesses don’t make you free. What you want to own is the context layer. Every agent is the same model + runtime + harness underneath, rebuildable on an open stack [1]. I hit this myself. The deeper I built into a single harness, the clearer it got how much I’d lose the day I had to leave.
Context Inspector: Measuring Context Quality Before the LLM Call
Paul: Today, Decoding AI features two engineering leaders from American Express, Thangavel Subramaniam and Saurabh Gupta. Thangavel is a Senior Software Engineer focused on applied ML and scalable software solutions built with cloud technologies. Saurabh is an Engineering Director with 10+ years of experience building real-time ML decisioning and personalization platforms at scale.
Stop Babysitting Your Coding Agents
Every AI application that wraps an agent is a harness! In LangChain’s Terminal-Bench experiment, changing only the harness (with the same model) moved a coding agent from ~30th place into the top 5: the harness, not the model, is what makes a coding agent good.
“When I change it, what if something else breaks?” That’s what Alexey Grigorev told me about the long system prompt behind his RAG app. If you’ve ever hesitated before editing a prompt that works, you know the feeling. 📣 This article is based on an interview with the legend Alexey Grigorev. He spent 15 years as a software and AI engineer and founded DataTalks.Club, one of the world’s largest data communities. There’s a good chance you know him from there.
Will Your Next Change Break Your Agent?
Every AI application that wraps an agent is a harness! In LangChain’s Terminal-Bench experiment, changing only the harness (with the same model) moved a coding agent from ~30th place into the top 5: the harness, not the model, is what makes a coding agent good.
Building a Coding Agent From Scratch
Every AI application that wraps an agent is a harness! In LangChain’s Terminal-Bench experiment, changing only the harness (with the same model) moved a coding agent from ~30th place into the top 5: the harness, not the model, is what makes a coding agent good.
Learning Harness Engineering by Building a Coding Agent From Scratch
Webinar distilling the 8 articles and 6 videos of the How to Build a Coding Agent From Scratch open-source course into 90 minutes of hardcore harness engineering from first principles. Made by busy people for busy people! A good intro to see if the course is a good fit before you commit to the full version. 📚 Find all the lessons and the code here. Othe…
Agent Evals 101: Stop Guessing, Start Measuring
Every AI application that wraps an agent is a harness! In LangChain’s Terminal-Bench experiment, changing only the harness (with the same model) moved a coding agent from ~30th place into the top 5: the harness, not the model, is what makes a coding agent good.
Inside a Software Factory
As a software engineer with more than seven years of experience before the coding-agent era, I never liked the idea of vibe coding. But I knew there was a clear line between it and using coding agents to generate clean, maintainable code. That line, where good software principles meet coding agents, is defined by software factories. That’s why, three months ago, I built my own software factory, Squid, to ship all of Decoding AI’s small and medium projects with minimal human intervention.
How Evaluation-Driven Development (EDD) Works
Turn every AI agent change into a measured experiment you compare before and after to detect regressions and measure performance. The scariest AI failures are the silent ones. You ship a change to your agent on a branch — a new feature, a prompt fix, a quick refactor. No errors. No complaints. Everything looks fine. But does it still work, or did you quietly break something that worked yesterday?
What Held Up at 3 AM: One Engineer’s RAG Case Study
Most AI demos work. Most AI products don’t. This series is a collection of interviews with engineers who shipped AI agents to production, covering the stacks they chose, the architectures they regretted, and what actually held up at 3 am. This is an interview with Michael Maximilien, former CTO and Distinguished Engineer at IBM and Chairperson of the Board of the NodeJS Foundation.
How to Ship a Weekly Article in One Day
I publish one in-depth technical article every week on Decoding AI. That cadence sounds simple until you live it. The article itself eats up the time I should be digging into the Claude Code leak to understand how it works under the hood. I am a builder first, not a writer. Most weeks, the writing strangles the building. This is the exact trap most weekly writers fall into. When the writing eats the week, the next article has nothing real underneath it.
The Data Backbone of LLM Systems
Transcript Paul Iusztin: I want to start with a little story of how I started to dig into the world of LLMs, and AI engineering, and so on. It all began in 2020 with the release of ChatGPT, so probably most of us remember that moment. It was everything about hype. All the people started to dig into AI. It was a beautiful mess. Previously, I had 6 years of experience in ML engineering, and I knew I wanted to get into this field.
Deploying LLMs: Cloud, Metal, Serverless
A practical guide to deploying Deepseek-R1 on GCP, Latitude.sh, and Modal Since 2019, Louis-François and Towards AI have shared thousands of articles through their publication and hundreds of videos via the What’s AI channel. Building on that foundation, they launched an education platform built by practitioners for practitioners, now trusted by over 100,000 learners.
#146: What does GPT-4o's Native Image Gen Mean for Art, Artists, and AI Adoption?
This week, OpenAI’s native image generation with GPT-4o within ChatGPT captured viral attention, reminiscent of the buzz around the original ChatGPT launch and Deepseek’s r1 model. We commented recently that Gemini Flash was the first to integrate native image capabilities. However, 4o images now offer much stronger prompt adherence and a strong ability to edit, combine uploaded images, and iteratively refine designs within the chat interface.
Build Multi-Index Advanced RAG Apps
Welcome to Lesson 12 of 12 in our free course series, LLM Twin: Building Your Production-Ready AI Replica. You’ll learn how to use LLMs, vector DVs, and LLMOps best practices to design, train, and deploy a production ready “LLM twin” of yourself. This AI character will write like you, incorporating your style, personality, and voice into an LLM. For a full overview of course objectives and prerequisites, start with Lesson 1.
Build a scalable RAG ingestion pipeline using 74.3% less code
Comet is now available natively within AWS SageMaker! Welcome to Lesson 11 of 12 in our free course series, LLM Twin: Building Your Production-Ready AI Replica. You’ll learn how to use LLMs, vector DVs, and LLMOps best practices to design, train, and deploy a production ready “LLM twin” of yourself. This AI character will write like you, incorporating your style, personality, and voice into an LLM. For a full overview of course objectives and prerequisites, start with Lesson 1.
LLM Prompt Monitoring: Building Production Pipelines
LLM Twin Course: Building Your Production-Ready AI Replica Master monitoring complex traces and evaluation while in production Paul Iusztin · Follow Published in Decoding ML · 14 min read · -- → the 10th out of 12 lessons of the LLM Twin free course Image by DALL-E By finishing the “LLM Twin: Building Your Production-Ready AI Replica” free course, you will learn how to design, train, and deploy a production-ready LLM twin of yourself powered by LLMs, vector DBs, and LLMOps good practices.
Beyond Proof of Concept: Building RAG Systems That Scale
LLM TWIN COURSE: BUILDING YOUR PRODUCTION-READY AI REPLICA A hands-on guide to architecting production LLM inference pipelines with AWS SageMaker Paul Iusztin · Follow Published in Decoding ML · 17 min read · -- → the 9th out of 12 lessons of the LLM Twin free course Image by DALL-E By finishing the “LLM Twin: Building Your Production-Ready AI Replica” free course, you will learn how to design, train, and deploy a production-ready LLM twin of yourself powered by LLMs, vector DBs, and LLMOps...
The Engineer’s Framework for LLM & RAG Evaluation
LLM Twin Course: Building Your Production-Ready AI Replica Stop guessing if your LLM works: A hands-on guide to measuring what matters Paul Iusztin · Follow Published in Decoding ML · 20 min read · -- → the 8th out of 12 lessons of the LLM Twin free course Image by DALL-E By finishing the “LLM Twin: Building Your Production-Ready AI Replica” free course, you will learn how to design, train, and deploy a production-ready LLM twin of yourself powered by LLMs, vector DBs, and LLMOps good practices.
8B Parameters, 1 GPU, No Problems: The Ultimate LLM Fine-tuning Pipeline
LLM Twin Course: Building Your Production-Ready AI Replica Master production-ready fine-tuning with AWS SageMaker, Unsloth, and MLOps best practices Paul Iusztin · Follow Published in Decoding ML · 16 min read · -- → the 7th out of 12 lessons of the LLM Twin free course Image by DALL-E By finishing the “LLM Twin: Building Your Production-Ready AI Replica” free course, you will learn how to design, train, and deploy a production-ready LLM twin of yourself powered by LLMs, vector DBs, and...
Generate AI Datasets: LLM Fine-Tuning Guide
LLM Twin Course: Building Your Production-Ready AI Replica How to automatically generate instruction datasets for fine-tuning LLMs on custom data Paul Iusztin · Follow Published in Decoding ML · 20 min read · -- → the 6th out of 12 lessons of the LLM Twin free course Image by DALL-E By finishing the “LLM Twin: Building Your Production-Ready AI Replica” free course, you will learn how to design, train, and deploy a production-ready LLM twin of yourself powered by LLMs, vector DBs, and LLMOps...
Your Content is Gold: I Turned 3 Years of Blog Posts into an LLM Training
LLM Twin Course: Building Your Production-Ready AI Replica A practical guide to building custom instruction datasets for fine-tuning LLMs Paul Iusztin · Follow Published in Decoding ML · 14 min read · -- → the 2nd out of 12 lessons of the LLM Twin free course Image by DALL-E By finishing the “LLM Twin: Building Your Production-Ready AI Replica” free course, you will learn how to design, train, and deploy a production-ready LLM twin of yourself powered by LLMs, vector DBs, and LLMOps good...
Connecting the dots in data and AI systems
Simplifying MLE & MLOps with the FTI Architecture Paul Iusztin · Follow Published in Decoding ML · 9 min read · -- Figure 1: The mess of bringing structure between the common elements of an ML system. Data and AI systems are a mess. They are complex and hard to grasp. If you just started working in AI or have been working for a few years, it’s hard to see how the worlds of data engineering, research (DS, ML), and production (AIE, MLE, MLOps) come together into a single homogenous system.
Fundamentals of ML serving: Key deployment types
Fundamentals Choose the right architecture for your AI/ML app Paul Iusztin · Follow Published in Decoding ML · 11 min read · -- Photo by SpaceX on Unsplash In this article, you’ll learn: The 4 fundamental requirements for deploying ML models: throughput, latency, data, and infrastructure. Balancing trade-offs between low latency and high throughput to optimize user experience.
The 6 MLOps foundational principles
In this article, we will look at the core MLOps guidelines, independent of any tool, to design robust and scalable production ML systems and architectures: Let’s start by looking into the foundations of automation (operationalization). To adopt MLOps, there are three core tiers that most applications build up gradually, from manual processing to full automation: • Manual process: The process is experimental and iterative in the early stages of developing an ML application.
Build Multi-Index Advanced RAG Apps
How to implement multi-index queries to optimize your RAG retrieval layer. → the 12th out of 12 lessons of the LLM Twin free course What is your LLM Twin? It is an AI character that writes like yourself by incorporating your style, personality and voice into an LLM. Why is this course different?
Building ML Systems the Right Way Using the FTI Architecture
Building ML Systems the Right Way Using the FTI Architecture This article presents the feature/training/inference (FTI) architecture to build scalable and modular ML systems using MLOps best practices. We will start by discussing the problems of naively building ML systems. Then, we will examine other potential solutions and their problems. Ultimately, we will present the feature/training/inference (FTI) design pattern and its benefits.
Architect Scalable and Cost-Effective LLM & RAG Inference Pipelines
Welcome to Lesson 9 of 11 in our free course series, LLM Twin: Building Your Production-Ready AI Replica. You’ll learn how to use LLMs, vector DVs, and LLMOps best practices to design, train, and deploy a production ready “LLM twin” of yourself. This AI character will write like you, incorporating your style, personality, and voice into an LLM. For a full overview of course objectives and prerequisites, start with Lesson 1.
Architect scalable and cost-effective LLM & RAG inference pipelines
In Lesson 9, we will focus on implementing and deploying the inference pipeline of the LLM twin system. First, we will design and implement a scalable LLM & RAG inference pipeline based on microservices, separating the ML and business logic into two layers. Secondly, we will use Comet ML to integrate a prompt monitoring service to capture all input prompts and LLM answers for further debugging and analysis.
Streaming Pipelines for Fine-tuning LLMs and RAG in Real-Time
In the 4th lesson, we will focus on the feature pipeline. The feature pipeline is the first pipeline presented in the 3 pipeline architecture: feature, training and inference pipelines. A feature pipeline is responsible for taking raw data as input, processing it into features, and storing it in a feature store, from which the training & inference pipelines will use it. The component is completely isolated from the training and inference code. All the communication is done through the feature store.
SOTA Python Streaming Pipelines for Fine-tuning LLMs and RAG — in Real-Time!
LLM TWIN COURSE: BUILDING YOUR PRODUCTION-READY AI REPLICA Use a Python streaming engine to populate a feature store from 4+ data sources → the 4th out of 11 lessons of the LLM Twin free course What is your LLM Twin? It is an AI character that writes like yourself by incorporating your style, personality and voice into an LLM.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Paul
Contact Paul, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack