{
    "componentChunkName": "component---src-templates-blog-template-js",
    "path": "/blog/software-factories-learning-labs",
    "result": {"data":{"markdownRemark":{"html":"<p>In a <a href=\"/blog/an-ide-for-ideas-rethinking-code-in-the-age-of-ai/\">blog post</a> about \"An IDE for Ideas\" from from Feb 2025, I wrote,</p>\n<blockquote>\n<p>Our current chat UX is outdated. It’s a clunky back and forth that won’t scale for complex or long running tasks. We need a new framework — one that <strong>treats coding tasks like data pipelines</strong>, with built in measurement, monitoring, and auto recovery.</p>\n</blockquote>\n<p>With <a href=\"https://x.com/pidotdev\" target=\"_blank\" rel=\"noopener noreferrer\">@pidotdev</a>, <a href=\"https://x.com/claudeai\" target=\"_blank\" rel=\"noopener noreferrer\">@claudeai</a> and <a href=\"https://x.com/openai\" target=\"_blank\" rel=\"noopener noreferrer\">@openai</a> codex, managed agents, cloud CIs, software factories having become <em>du jure,</em> <strong>software engineers are no longer judged by the code they write, but the harnesses they build</strong> to produce and improve their code.</p>\n<p>But what's next for engineers? Consider what's happening already,</p>\n<ul>\n<li><a href=\"https://x.com/huggingface\" target=\"_blank\" rel=\"noopener noreferrer\">@huggingface</a> recently <a href=\"https://huggingface.co/blog/harness-adapters-at-scale\" target=\"_blank\" rel=\"noopener noreferrer\">trained their own harness-specific adapter</a> and took Qwen3.8-27B from 39% to 65% on SWE-bench Pro with RL and LoRA. The model got better on those tasks, and it did so inside the environment it actually operates.</li>\n<li>We're already <a href=\"https://x.com/pvncher/status/2124487842852131199\" target=\"_blank\" rel=\"noopener noreferrer\">seeing the line between a harness and a model fading,</a> and soon, both will be bundled together functionally. <a href=\"https://x.com/pvncher\" target=\"_blank\" rel=\"noopener noreferrer\">@pvncher</a> over at <a href=\"https://x.com/openai\" target=\"_blank\" rel=\"noopener noreferrer\">@openai</a> has a great post on this.</li>\n<li>Local models like <a href=\"https://x.com/thinkymachines\" target=\"_blank\" rel=\"noopener noreferrer\">@thinkymachines</a> Inkling 2 <a href=\"https://x.com/shinboson/status/2120499242342985821\" target=\"_blank\" rel=\"noopener noreferrer\">have been quantized</a> to run on less demanding hardware like the M1 pro. Great work by <a href=\"https://x.com/shinboson\" target=\"_blank\" rel=\"noopener noreferrer\">@shinboson</a>. This drives the cost of experimentation down quite a bit, even for the GPU poor!</li>\n<li>Weight space programming will become a <a href=\"https://x.com/ai_database/status/2123256612928323813\" target=\"_blank\" rel=\"noopener noreferrer\">tractable way to improve specific areas of models</a> via LLM inference calls, and not just SFT / LoRA or RL.</li>\n</ul>\n<p>We're moving away from treating models as fixed artifacts surrounded by \"programmable\" scaffolding to looking at the entire system as something we can experiment on and improve. The lines between model training, building harnesses, and software engineering are blurring!</p>\n<p>A software factory takes a spec and produces software.</p>\n<p>A <strong>learning lab</strong> should do something more interesting - it should take the experience of producing software, and improve the system that produced it.</p>\n<p>Consider an agent using Qwen3.5 that repeatedly produces incorrect code because it misunderstands the way an API works. Today,</p>\n<ul>\n<li>It writes tests, analyzes those tests, figures out whats failing</li>\n<li>Updates the code based on this, and then re-runs everything</li>\n<li>Stores this instruction in an agents.md file and moves on</li>\n</ul>\n<p>But that same agent using the same model <em>outside</em> of that agents.md context will make the same mistake. What if this could be used to update the Qwen model itself?</p>\n<p>The <strong>learning lab</strong> would take the task, execution traces, tool calls, code changes et al, and test which intervention works, verify that it can generalize, and then retains the improvement in some way.</p>\n<p>This requires a  different kind of infrastructure -- execution traces become experimental evidence, evals become the means of selecting improvements, and memory becomes a core mechanism to change future behavior. The entire system becomes the main object of experimentation, rather than a loose collection of prompts and tools that engineers modify by intuition.</p>\n<p>The most interesting question here is - what should an agent learn, and where should that learning live? Not every failure when writing code or executing a workflow needs a model weight update. Some failures will need better code, others more precise memory, or an update to the harness itself. An improvement at one thing though, may make another thing worse.</p>\n<p>I've set up a personal, agent assisted research lab called Hex where agents can examine their own execution histories, identify recurring failures, propose changes to their memory, harnesses or model weights, and test whether those changes actually improve performance on unseen tasks.</p>\n<p>In my next post, I'll walk through the architecture of the lab, the research questions I'm starting with, and the experiments I want to run.</p>\n<p><strong>A software factory produces software. A learning lab should produce a better software factory.</strong></p>\n<p class=\"article-source-credit\"><em><a href=\"https://x.com/viksit/status/2124927939426894237\" target=\"_blank\" rel=\"noopener noreferrer\">Originally posted on X.</a></em></p>","excerpt":"In a blog post about \"An IDE for Ideas\" from from Feb 2025, I wrote, Our current chat UX is outdated. It’s a clunky back and forth that won’t scale for complex…","frontmatter":{"date":"November 23, 2026","rawDate":"2026-11-23","substack_post_date":null,"slug":"/blog/software-factories-learning-labs","title":"The next evolution of Software Factories: Learning Labs","ispage":false,"ispublished":true,"source_url":null,"description":"A learning lab uses the experience of producing software to improve the system that produced it.","cover":"/images/blog/software-factories-learning-labs.jpg","cover_alt":"A software factory turns a spec into code. A learning lab uses traces, tests, and failures from that run to improve the agent's memory, harness, or weights."}}},"pageContext":{"slug":"/blog/software-factories-learning-labs","next":null,"previous":{"frontmatter":{"slug":"/blog/learning-new-facts-with-weight-space-programming/","title":"Learning New Facts with Weight Space Programming","date":"2026-11-22T00:00:00.000Z","ispublished":true,"ispage":false},"slug":"/blog/learning-new-facts-with-weight-space-programming/","topic":"agents","kind":"project introduction"}}},
    "staticQueryHashes": ["4202924991"]}