Abstract
Most teams with agents in production still improve them by hand: a failure comes in, someone edits a prompt or a tool description, and the fix quietly breaks something else. Machine learning was built for exactly this kind of problem, and an agent’s harness (the prompts, tools, and workflow around the model) has everything it needs to learn from data. So why are so few teams training it?
In this talk, we’ll walk through what makes harness optimization harder than it looks, what we learned from comparing Claude Code in a loop and other popular approaches on a real production agent, and what it takes to make it work. We’ll close with where this is heading: model-harness co-training, which optimizes the model and harness together.
Main Takeaways
- Why agent harnesses should be trained and how to tell whether yours needs it.
- How well Claude Code in a loop optimizes a production agent, and where it stalls.
- Where agent optimization is heading, why optimizing the model and harness one after the other falls short, and how model-harness co-training fits in.
Sponsored session
$2,995, Conference (3 days). Current pricing ends November 10th. All pass options.
QCon San Francisco 2026 is a three day conference for senior software engineers, architects and team leads. An international program committee of working engineers selects every session. Patterns and practices, not products and pitches.
Slides & video
Video Not available
Part of the track
Sponsored Solution Track IIFrom the same track
Monday 16 November
10:35 Marina Sponsored Data-Driven Optimization of AI Agents: From Hand-Tuned Harnesses to Model-Harness Co-Training Jeremy Tian Founder & CPO @Lucidic AI, previously @DRW Most teams with agents in production still improve them by hand: a failure comes in, someone edits a prompt or a tool description, and the fix quietly breaks something else. 11:45 Marina Sponsored Why Optimized Application Infrastructure (not just GPUs and LLMs) Can Scale Your AI Investments Alex Berkoff Senior Solutions Engineer @Azul Systems AI adoption is mandatory, but new budget is scarce, and production AI costs are averaging 380% over pilot projections. The GPUs and models get the attention, while the systems underneath get far less. 13:35 Marina Sponsored Building a Safe Software Factory Andrew Finch Staff Software Engineer @Sonar Coding agents have made code cheap to write, and teams are shipping 10× more changes than they did two years ago. Human review was built for human speed, so the industry is moving from reviewed PRs to automated software factories. 14:45 Marina Sponsored The Context Gap: Why Correct Agents Fail Xiaowei Jiang CEO and Chief Architect @Tacnode Two agents edit different files. Git merges clean. The program is broken. No conflict was thrown, because the collision was in meaning, not in text — and business decisions are almost all semantic. 15:55 Marina Sponsored Engineering the Critical Path: Nine Reliability Patterns from Processing 350 Million Payments a Day Vimal Kumar Founder and CEO @Juspay Distributing a system does not distribute away its failure modes. Replicas still depend on failover logic, shards on routing, and every safe deployment on a release gate. These few mechanisms decide whether a local failure stays local or becomes an outage, and nothing can route around them. 17:05 Marina Session Sponsored session Details coming soon!