Don't Write Skills, Train Models
Brian Douglas, John McBride
- When
- Wednesday, July 12:50 PM – 3:10 PM · 20 min
- Where
- Track 4San Francisco, CA · imported from ai.engineer's public schedule feed
About this session
Every AI agent call generates training data. Most teams throw it away. They write skills files instead. Text documents that describe how to do a task and hope the model follows them at inference time. Skills work until they don't. The model drifts, skips steps, hallucinates a shortcut. So you rewrite the skill, add more constraints, hope harder. There's a better path. If you've used a skill enough to know what good output looks like, you already have training data. You just aren't using it. This talk covers what I learned building an open source fine-tuning pipeline that turns agent session traces into SFT and DPO training datasets. A telemetry proxy captures every LLM call as a content-addressed Merkle DAG with zero instrumentation. Successful sessions become supervised fine-tuning data. Pair them against failures, matched by goal category, and you get preference pairs for DPO. No manual labeling. No synthetic data. But training data quality depends on environment consistency. If the same agent produces different results because of package drift, nondeterministic toolchains, or inconsistent system state, your training signal is noise. This is where NixOS changes the equation. A hardened, reproducible OS means every agent session runs against an identical, declarative environment. Nix controls the variables that sandboxing alone doesn't: dependency graphs, system libraries, toolchain versions. When you can guarantee the environment is the same across hundreds of sessions, the behavioral signal in your traces is actually trustworthy. We'll walk through the full pipeline. How to rebuild parent-hash chains from a SQLite database and join facet metadata. How to filter to fully_achieved sessions and truncate 82k-token conversations down to 4k-6k training examples using summary context plus the last three turns. How to match success/failure pairs by goal category and exclude unclear_requirements failures so DPO learns from real agent mistakes, not ambiguous prompts. How QLoRA keeps VRAM low enough to train a 7B model on a single consumer GPU. And what happens when you try DPO on 12GB VRAM (two simultaneous forward passes for logprob computation will teach you about gradient accumulation settings fast). The result: a LoRA adapter trained on your own agent traces, in a reproducible environment, on a single consumer GPU, for less than $2 in cloud compute. No YAML. One config file. All code is open source.
Speakers (2)
CoFounder, Paper Compute Company
Brian is the founder of the Paper Compute Company, an distributed systems primitives for AI agents. Brian previously founded Open Sauced where he woreds on increasing the knowledge and insights of open-source communities. In the past he’s lead Developer Advocacy at GitHub by fostering a community of early adopters through conversations with the top open source maintainers on GitHub.
Co-Founder, CTO, Paper Compute Co.
John McBride is an engineering leader, writer, and podcast host. He is Co-Founder, CTO at Paper Copmute Co. where he's heading up new AI and infrastructure development. He has previously worked on MCP/AI gateway infra at Zuplo, AI infrastructure at the Linux Foundation, AI/ML community tooling at OpenSauced, Linux based operating systems at AWS, Kubernetes products at VMware, and the Cloud Foundry platform at Pivotal. He has years of experience building complex, distributed software systems in a number of languages and frameworks, has scaled huge AI infrastructure systems, and rallied organizations to adopt cutting edge technologies.
More in Workshops Day 3
- Build realtime multimodal agents with Gemini Live (continued 4)Wednesday, July 1 · 12:05 PM – 12:25 PM · Track 4
- The Agentic Power User's Playbook: Tips and Tricks for Swarm-Style Agentic DevelopmentWednesday, July 1 · 1:30 PM – 1:50 PM · Track 4
- The Agentic Power User's Playbook: Tips and Tricks for Swarm-Style Agentic Development (continued 2)Wednesday, July 1 · 1:55 PM – 2:15 PM · Track 4
- The Agentic Power User's Playbook: Tips and Tricks for Swarm-Style Agentic Development (continued 3)Wednesday, July 1 · 2:25 PM – 2:45 PM · Track 4
- Don't Write Skills, Train Models (cont. 2/3)Wednesday, July 1 · 3:20 PM – 3:40 PM · Track 4
For developers: this programme is open data — JSON, iCal, schedule XML and an MCP endpoint.Show endpointsHide
- JSONEvery published session and speaker, in one request./aie-worldsfair-2026-import/feed.json
- iCalSubscribe in Google, Apple or Outlook Calendar./aie-worldsfair-2026-import/feed.ics
- Schedule XMLfrab / pentabarf — the format conference apps import./aie-worldsfair-2026-import/feed.xml
- MCP + RESTPoint Claude at the programme. OpenAPI 3.1 included./agents
No key, no signup, CORS open. Everything here is generated from the same data the organisers edit.