← Machine Coding

Keeping Up With the Machine

When your most important tool never stops changing: follow what matters, test what changed, and build a machine to help you watch the machines.

The walk that opens this book happened shortly after GPT-4 appeared. I had used the generation before it, and the difference felt extraordinary — not a better version of the same tool but a different kind of tool. A research paper turned into a working program while I was out with the dog. A year earlier, nothing I had used could have done that.

Later generations have brought further improvements, but not evenly: some capabilities leap, others creep, and a few seem to stall. At times the progress has felt exponential, though I have not measured it as such. Chapter 08 set out my expectations for the future. The practical point here is that the tool at the centre of machine coding changes fast enough to make last year’s working assumptions unreliable.

Keeping up therefore becomes part of the practice. Not following every announcement — trying to do that is a good way to stop creating anything — but noticing which changes matter to your work, testing whether they deliver, and adopting them when they help. And why not delegate some of that work to a machine?

A tool that changes under your hands

Much of a programmer’s knowledge remains useful for years. Machine coding adds a less stable layer: models, agents, tools, prices and execution environments, each changing on its own schedule.

A workaround built for a weaker model — splitting every task into tiny pieces, repeating instructions it used to forget — can become a drag on a stronger one. Chapter 07 described how yesterday’s useful guidance becomes today’s overhead. A model you rely on may change its behaviour, become more expensive or disappear. An inexpensive model may become capable enough for work you previously entrusted to an expensive one. A new runtime may absorb several of your manual steps overnight.

Change can also make your work worse. Switching means learning unfamiliar behaviour, re-testing your workflow and risking the loss of a setup that worked. Learning to work with AI includes learning when to change your working method — and when not to. That judgement comes from small experiments, not loyalty to a provider or excitement about a release.

Which machines to keep an eye on

Chapter 03 allocated intelligence by responsibility: strong reasoning for design and review, economical models for bounded implementation. Those responsibilities tell you which developments to watch. You do not need to follow the whole field. You need to follow the roles in your own workflow.

For many people that means a capable primary model for difficult work, a cheaper one for routine tasks, perhaps a local or open-weight model for privacy, offline work or cost control, and a second, independent model for comparison and review. That is an example, not a prescription. Your slots depend on your work.

In my experience, some paid models have been considerably more capable than the free alternatives available to me for difficult coding work. That relationship can change with a release. Distinguish the model from the terms on which you access it: usage limits, tool availability and reliability can differ between plans. Do not assume a chat subscription covers API calls from an application you build; check the provider’s terms. Free, open-weight and locally hosted models deserve consideration on their own merits.

Test candidates on a small set of representative tasks — the kind of work you do repeatedly. Leaderboards and launch posts tell you what someone else measured. The best model for a task is not automatically the newest or the most expensive. It is the one that does the work reliably at a cost you can accept.

Follow the sources, not the excitement

Different sources answer different questions. Knowing what each can establish is more useful than reading more of them.

Vendor information — release notes, model cards, API documentation, changelogs and deprecation notices — tells you what a provider announces, documents or plans to retire. It is the starting point for understanding a change, not proof that the change will improve your work.

Research papers reveal emerging methods and experimental results, sometimes well before products catch up. Ask whether a paper presents a proposal, a tested result or an independently reproduced finding, and whether a usable implementation exists.

Hugging Face is one of my preferred places to watch. Its daily papers surface research attracting community attention, while its model hub provides model repositories and their documentation. Both lend themselves to automated discovery. Keep four activities distinct: discovering a paper, locating an implementation, understanding its documented capabilities and testing it on your own work. Trending is a measure of attention, not of quality.

GitHub helps you discover usable implementations. Repositories, releases, examples and issue discussions offer clues about what works and what breaks. Watch selected repositories for releases rather than every commit. Popularity and activity are signals, not guarantees.

Video demonstrations and commentators are often the fastest way to see a new tool in action, and some channels are excellent. I value them. But demonstrations are selected, edited, sometimes sponsored, and quickly out of date. Follow people whose judgement you have come to trust, and check anything consequential against primary sources and your own test.

Community discussion — forums and technical discussion sites — can reveal what announcements leave out: rate limits, regressions and hidden costs. Treat reports as leads to investigate, not established facts.

You do not need many of these. A handful of well-chosen sources is worth more than a firehose.

You cannot read everything

The real problem is not finding information. It is filtering it. The question that matters is not “what is new?” but “what is new that could make a difference to what I am trying to create?”

That question has different answers for different people. A novelist working with AI cares about long-document editing, voice and handling manuscripts. A researcher cares about retrieval, reasoning and reproducibility. Someone running models locally cares about model size, memory, speed and how good the best open-weight models have become. Someone building mobile apps cares about on-device inference and battery life. Their briefings should look nothing alike.

My list would reflect my projects, not yours. Choose topics from your own work, interests and constraints, and let a machine help rank, group and explain what comes in. A personalised ranking measures relevance to you, not importance to the world. Leave some room for unexpected discoveries, or the scout will only reinforce what you already know to look for.

Build a machine to watch the machines

Build a small application that does the watching for you. I call this proposed tool an AI Frontier Scout. It is the second substantial project in this book, after the arcade game. The game showed that you can create software by speaking. The scout goes a step further: you can create software that makes you better at working with AI. The technology helps you improve your use of the technology.

Its job is simple: help one person follow the changes relevant to their own interests, without reading hundreds of articles a week.

The first version needs very little:

  • A few topics you choose — say, coding agents, local models and voice interfaces — that you can change later.
  • Items collected from a small set of public sources, such as Hugging Face’s paper feed and the releases of repositories you care about.
  • For each item: the title, the source, the link, the date it was published and the date it was collected — two different things, both worth keeping.
  • Duplicates removed where practical.
  • A short, readable page, with every item linking to its original.

That version needs no paid AI service. It collects and displays; you read. A GitHub repository can hold the collector, a scheduled GitHub Actions workflow can refresh the collected data, and GitHub Pages can display the result, as with the game. Keep the published data and the topics free of private information.

Design for missed updates. GitHub’s scheduled workflows are not guaranteed to run precisely when requested, and a scheduled run can be missed. Show the time of the last successful collection, flag stale data and allow a manual refresh. A briefing that silently stopped updating three weeks ago is worse than none, because it looks current.

Add the AI layer only after collection works. A capable model can help produce a personal briefing from the collected material: what appears to be new, why it might matter, which claims the sources support, what is interpretation, what remains unverified and what experiment might be worth trying. Link back to the original evidence. Start by giving the collected list to a conversational AI you already use; if the list contains only titles and links, the assistant must retrieve the sources before claiming to have read them. Automating the briefing through an API can come later, subject to the provider’s charges and access terms.

Keep API keys out of code, logs and published pages; if the workflow needs a key, use its secret store and restrict access. Treat collected material as untrusted data, not instructions for the scout. Do not let it execute code from a paper or repository, or upgrade your applications on the strength of an announcement. Its job is to inform you, not to change your working environment without your authority.

Try Machine Coding — Build Your Own AI Scout

This is a proposed exercise, not a demonstration already executed for the book. Use a coding assistant that can work with your GitHub repository, as in Chapter 13. Speak the instructions if you can, and let the conversation develop naturally.

Describe the idea.

I want to build a small application that keeps me informed about developments in AI. I don’t want to read hundreds of articles a week. Help me build something that collects useful updates and presents them simply. Before you build anything, ask me what I’m working on.

Choose the interests.

I’m mainly interested in AI coding agents, local models and voice interfaces. Make it easy for me to change these later. Start with a few reliable public sources, and show me where every item came from.

Build the application.

Create a simple page in my GitHub repository. Collect recent papers and relevant project releases from the sources we agreed. Show each item’s title, source, publication date if known, collection date, a short description and original link. Remove duplicates where practical. Do not invent missing information. Keep the design clear, publish the page using GitHub Pages, and tell me what you actually checked.

Make it repeatable — and honest about it.

Make it refresh automatically on a reasonable schedule using GitHub Actions, and give me a way to run it manually. Show the time of the last successful collection at the top of the page and warn me if the data is stale. Keep the last good data if collection fails, and make failures visible. Don’t add paid services without asking me.

Add the thinking.

Take this week’s items and help me decide which could matter to my work. Read the original sources where your tools allow. For each relevant item, explain why it matters, distinguish the source’s claims from your interpretation, identify what remains unverified and suggest a small experiment where one would be useful. Tell me if you couldn’t access a source.

Make it yours.

Now ask me how much time I want to spend following AI each week, and what I’m building. Adjust the topics and briefing to suit that budget. Let me inspect the unfiltered items when I want to see what the ranking missed.

Before calling the scout finished, open its published page, follow several links, trigger a manual refresh and check that the last-successful-update time reflects an actual collection. Verify that a failed collection does not make old data look fresh. You should have a page worth opening each week, with traceable items and a briefing shaped by your work. Then change it. Someone following medical AI will want a different scout from someone building games; that difference is the point.

From briefing to experiment

The briefing earns its place when it helps you make better decisions, including deciding not to change anything. Ask whether a promising development would improve an actual task, reduce cost, make something previously impractical possible or simplify the workflow. Can you test it without disrupting what already works?

The process is short: discover, investigate, try, compare, then adopt or ignore. Let the scout surface candidates. Read the primary source before acting. Try the candidate on a representative task without migrating the whole workflow. Compare the old and new under reasonably equivalent conditions, considering quality, cost, time, reliability, limits and switching effort. Chapter 07 described how to design comparisons that distinguish the effect of a whole configuration from that of an individual change. Record what you decided, why, and which versions you tested. That record helps you avoid repeating an old experiment unless something relevant has changed.

    graph LR
  M["monitor sources"] --> F["filter by relevance"]
  F --> U["understand from primary source"]
  U --> P["propose small experiment"]
  P --> T["try on representative task"]
  T --> C["compare old vs new"]
  C -->|adopt| A["adopt + record why"]
  C -->|ignore| I["ignore + record why"]
  C -->|unclear| P
  

Discovering a technique is not demonstrating its usefulness. The scout proposes; a small experiment on your own work decides.

An improvement that looks spectacular in a demonstration may make little difference to your work. A modest improvement in something you do hundreds of times can be worth far more than a headline feature. Learn to tell those apart.

Your products move too

Everything above applies to your tools. It applies to anything you build on AI as well.

A product built around AI lives on a moving foundation. Better models may improve long-document editing. Better retrieval may sharpen a research tool. Faster voice interaction may change how people use an application. A task that needed a server may become practical on a phone. Each is a possible opportunity, not an automatic upgrade. New capabilities can bring incompatibilities, costs and failure modes, and a model your product depends on may change or disappear.

AI-enabled products need not be rewritten with every release. A personal tool gives you room to experiment; a service other people rely on deserves controlled, tested changes and a recovery path. The question of purpose from Chapter 16 applies here too: change at the pace that serves the product and its users, not at the pace of announcements.

Keep moving, keep creating

I am enthusiastic about this technology, but enthusiasm is not an obligation to follow everything.

A beginner building personal tools may need to revisit their setup only occasionally. An infrastructure developer may need to watch closely; the owner of a stable service may rightly prioritise reliability over novelty. Try a short weekly briefing, investigate one promising item when it warrants attention, and occasionally review the tools and subscriptions you pay for. Find a rhythm that improves your methods without consuming the time you meant to spend creating.

The machine should lower the cost of staying informed, not give you another system to administer. As it becomes more capable, delegate more of the watching, investigating and comparing, while keeping consequential adoption decisions grounded in evidence. Machine coding applies to the improvement of its own practice.

Don’t spend your life trying to keep up with every machine. Build a machine that helps you recognise which changes are worth keeping up with.

What comes next

Keeping up helps you choose which machines to work with. Chapter 18, Make the Machine Yours, asks how to turn those choices into a working environment that knows your projects, preserves your decisions and follows your standards.