Wednesday night, another quotation, another prompt headache
I was in Hangzhou rushing an AI customer-service quote for a client. I wanted the model to reply consistently according to the company’s rules. After six rounds of rewriting the prompt, it still missed things. At 11 p.m., I suddenly remembered a more “tough” approach: write the capability directly into the program instead of continuing to wrestle with prompts. The direction intrigued me, but it was not something I could copy that night.
What Weights as Code is, and who is trying it
This project asks Gemini 4 to represent model weights as code, which a program can then generate or run. On a personal experiment page in San Francisco, the proposer, Linus?, outlined an implementation approach, and Hacker News has been full of follow-up questions. In plain terms, it is not another chat app. It turns model capability into a code asset that can be inspected, modified, and deployed. For indie founders, the most valuable takeaway may not be training our own models, but understanding whether a business rule belongs with a chat model or with a more controllable program.
Three bills to settle before replicating it
Replicating the experiment directly could cost close to $0, but allowing a full run takes at least 1–2 weeks. The technical barrier includes Python, model runtimes, and code generation, so beginners would clearly struggle. The first step is not buying hardware; it is opening the project’s online demo, checking whether the generated code runs, and only then deciding whether to download the sample. For most of us, a more realistic low-cost test is $0 and 2 hours: pick one client rule, then compare a regular large language model with the same model plus a simple program enforcing the rule. I have also gotten the order wrong before, spending time on the internals before proving that a client actually needed greater consistency.
Match it to your stage; nobody needs to chase the internals
When I was just starting out, I would first skip weight code and turn one common customer question into a fixed reply template, using $0 to test whether it saved time. With 1–2 clients already, I would run a small controlled experiment, recording the accuracy of the prompt approach and the rule-based program across 20 real questions. While scaling, I would look into this kind of inspectable, deployable model-code approach and ask someone with engineering experience to assess its maintenance cost. Not everyone needs this technology, and there is nothing wrong with waiting. Solving the problem in front of us with existing tools matters more than being advanced for its own sake.