← Machine Coding

When Machines Work Together

You, the machines and the living product: directing several intelligences towards one objective, and keeping what works.

Picture something different from a programmer at a desk.

You have an idea. You do not know everything you need to build it. You may not even know whether the technology exists. So you ask one machine to investigate, another to explain what it found, another to build a first experiment, and another to challenge what was built. You use the result yourself. You redirect the work. You keep what was learned. And when something better becomes available, you change the machines you use and the way they work together.

The previous three chapters showed how to keep up with changing technology, give a machine durable context and choose the right intelligence for each job. Here they come together. You become the director of a collection of intelligent capabilities working towards an objective you care about. You can begin with an idea and acquire much of the knowledge needed to realise it along the way.

Several lasers, one target

I think of it as focusing several lasers on one point. The important thing is not the number of beams. It is that they converge.

Scattered separate efforts contrasted with several distinct beams converging on one shared objective set by the human director.
Several lasers, one target. A team converges on one clearly stated objective; a crowd produces incompatible suggestions and duplicated work. Every machine needs a reason to be involved.

That is the difference between a team and a crowd. Without a shared direction, capable machines produce incompatible suggestions and duplicated work: one rewrites what another just built, a reviewer critiques a design nobody chose, research piles up that answers a question no one asked. Give them a common objective and distinct responsibilities, and their strengths can complement one another.

The direction is yours. Not the implementation plan — the machines can propose that — but the objective: what you are trying to make, for whom, and what would count as success. Everything else on the team takes its bearings from that.

This book was written this way

I can describe this from experience, because the book you are reading was made by a small team of machines.

I set the direction: what each chapter is for and what it must argue. One AI helps me develop those ideas into detailed commissions. Others draft the chapters; one also acts as an editor, sometimes reshaping a commission because it repeats an argument already made. The repository holds the shared record: an editorial index, evidence notes and an instruction file. Each machine can pick up where another left off. I read what comes out and decide what stays.

It works, and it also fails in instructive ways. One night I gave a machine a chapter to write. It found a finished draft already waiting in the same folder, written minutes earlier by another session. Nothing was lost, but the lesson was plain. A team of machines needs what a team of people needs: clear ownership of the work and a shared record everyone actually reads. Where work runs in parallel, separate branches or workspaces can prevent one machine from overwriting another’s changes.

Learn what you need along the way

In conventional development, much of the learning had to precede the work: the language, the framework, the library, the method. With a team of machines, more of that learning can happen inside the work.

Suppose you want to build an unusual interface between people and AI — something you speak to while you walk. You know nothing about speech recognition, audio processing or conversational interface research. You need not master them before beginning. One machine can explain the concepts, investigate existing tools and propose a first experiment. Another can build it. Trying it gives you a clearer idea of what you want, which sends the research in a better direction. Learning and creating become one loop rather than a sequence with years of study at the front.

You are not limited to the tools you knew existed yesterday.

The learning here belongs to the working system — you, your records, your tools and the machines you direct. Researching a technique or installing a library does not itself retrain the model. Nor does reading about a capability establish that it works. A technique earns its place in your working method when you have tried it on relevant work and evaluated the result.

One direction, several machines

Chapter 18 showed how a machine can act as researcher, collaborator, engineer, reviewer or organiser. A team can distribute those responsibilities. Two become particularly important as the team grows: evaluating results against the objective and preserving decisions, experiments and discoveries so that the next worker can continue.

These are responsibilities, not an architecture. You do not need six agents. Roles can be combined or created for one afternoon. A single capable model in separate sessions can fulfil many of them. Separate machines earn their place through a different capability, a cheaper way to do routine work, or a more independent view.

Teams also cost something. Each additional machine brings coordination overhead, permissions to manage and another opportunity for disagreement. My rule is simple: every machine should have a reason to be involved. If you cannot say what it contributes, it is decoration.

The person in the middle

The machines can plan, research, identify what is missing and recommend changes. Routine decisions can be delegated within established boundaries. Your part is different, and it is not small.

You know what you value, what you are willing to spend and what a useful result looks like. You decide what the team may touch and which consequential actions require approval: spending money, publishing, deleting or affecting other people. You direct the work in ordinary language: “Make this easier to use.” “Find out what other approaches exist.” “Build me a version I can try.” “Get someone else to challenge it.” “I don’t like where this has gone — try another direction.”

The test is not how many decisions you made personally. It is whether the work still serves your goals or has drifted towards objectives you never chose.

Tune it like a racing car

A racing team does not build a car, declare it finished and never touch it again. The car is driven. The data is examined. Engineers find where it loses time; mechanics change the set-up; specialists look at particular components; the driver says how it feels. The car goes back out, and the results decide what happens next.

A product developed with a team of machines can follow the same rhythm. You use the application. A research role looks for possible improvements. A builder makes a change. Review and evaluation investigate it. You use the new version. The results are kept, and the next experiment begins.

It is the loop this book has used from the start — communicate, build, evaluate, improve — distributed across several machines. Research equips the builder; review challenges the result; experience tells you whether it serves your intention; the record preserves what was learned. Small tasks need only some of these activities. The value is in the rhythm, not the ritual.

The racing-car analogy also suggests a discipline: keep a dependable version while experimenting with the next. Continuing improvement need not mean continuing instability.

Let the machines challenge one another

The most dangerous illusion in a team of machines is agreement.

Three models can share the same mistake. A reviewer can confidently approve a defect. Five agents can produce more work without producing a better application. In my own more technical work, adding models or more elaborate prompting strategies has sometimes failed to improve verified results. Agreement is not corroboration by itself; it may be the same blind spot counted several times.

Be precise about independence. Asking the builder to review its own work is useful, but it may carry the assumptions that produced the defect. A fresh session can reduce that dependence; a different model or provider may reduce it further, without eliminating shared blind spots. Give reviewers the original objective and evidence, not merely the builder’s conclusions. Tests that exercise the relevant behaviour and review by a qualified human offer complementary checks.

The team must be judged by what it accomplishes, not by how much intelligence or activity it appears to contain. Look for evidence that fits the purpose: a regression caught, a user completing a task more easily, a measurable saving, a new capability demonstrated. Preserve the last accepted version and a way to recover it. Promote a change only when the evidence supports it.

When the team discovers something new

This is the part of the arrangement I find most exciting, so it deserves care.

Suppose the researcher finds a library or technique neither you nor the builder had considered. Suddenly there is a new possibility. The team can investigate its source and documentation, determine what adoption would require and propose a bounded experiment. If authorised, it can try the technique. If the experiment establishes a useful new capability, your working system can do something it could not do yesterday — without you first mastering the underlying technology.

That is real amplification, and it brings real risk. A discovery is not a licence. Material found during research is not an instruction to execute it. Check the source, licence, dependencies and permissions before introducing a new tool; contain experiments within the project’s established boundaries. The team must not expose credentials, grant itself authority or deploy changes merely because something interesting turned up. New capabilities stay on trial until they have earned trust.

Try Machine Coding — Build With a Team

Use the AI Frontier Scout proposed in Chapter 17, or the arcade game from Chapter 13 if you have not built a scout. No multi-agent framework is necessary. You can use one capable AI in separate sessions or several permitted models. This is an exercise for you to run, not a report of an experiment I have completed.

Give the team a direction.

I want to improve my AI research application so it finds developments relevant to my work and helps me decide which are worth investigating. Help me work out the single most useful improvement to make first.

Ask a researcher.

Before changing anything, research how other systems approach this. Find a few methods or tools, explain their advantages and limitations, and give me the sources. Distinguish what you verified from what you inferred. Record the findings for the next worker. Don’t change the application yet.

Equip the team.

Based on that research, which tools or models would suit this improvement? Check whether I can use them, what they cost and what restrictions apply. Recommend a simple approach and a way to test it against the current version.

Hand the work to the builder.

Implement a small version of the approach we chose in a separate branch or workspace. Preserve the accepted version. Record the changes and checks, and give me a version I can try.

Get it challenged.

Have a separate reviewer examine the change against the original objective and the evidence. Look for wrong assumptions, defects and regressions. Run relevant checks where possible. Tell me exactly what was checked, what the results establish and what remains uncertain.

If the reviewer uses the same model in a new session, record that fact. A separate session provides a second look, not assurance of independent judgement. Give each worker the relevant shared records and make clear which files it may change.

Experience it.

Show me the new version next to the old one. I want to use both on comparable research tasks and decide whether the change actually helps. Ask me what I think, and don’t assume the new version is better.

Keep what was learned.

Record what we tried, why, what worked, what didn’t and what we decided to keep. Preserve the accepted version, the evidence and the reasons for our decision. Leave a clear handover for the next session.

The exercise succeeds when you can identify the objective, each role’s contribution, the evidence for the change and your reason for accepting or rejecting it. The next session should be able to recover that decision from the record. Rejecting a change that did not help is a successful experiment too.

With the arcade game instead. Set a direction: “I want the game to feel better to play.” Ask a researcher for principles of satisfying arcade gameplay, with sources. Have a builder propose and make a small change while preserving the original. Ask a reviewer to investigate regressions. Play both versions, describe the difference and decide what to keep. One capable AI in separate sessions can be enough.

Your team, not mine

My own team reflects what I do: programming, writing, research and building AI systems. Yours should reflect what you do.

A historian would assemble different roles from a musician. A teacher would need different expertise from a small-business owner. A personal project might need only a researcher and an organiser. Some work needs a human expert; some needs no AI at all. There is no universally optimal team. The objective is not to copy my machinery. It is to develop machinery suited to your own ambitions.

The product grows with you

Something happens when you work this way for long enough. Three things begin to develop together.

You develop: you learn more about the domain, the technology and what you want. Your working environment develops: it gains better records, sharper instructions and more suitable tools. Your product develops: it absorbs the experiments that worked and moves towards a clearer objective. Each feeds the others. Research gives you a new idea; a limitation sends the team in search of a new capability; using the product reveals something that changes your intention.

I call the result a living product: software capable of continuing, directed change. It need not change itself without supervision, nor does it need to be unstable. It keeps a dependable version while the next is explored, and changes when there is reason and evidence to change it.

You are not simply building something with AI. You are developing a way of working in which you, your machines and your creations can keep improving together. The next chapter, ALIVE — Living Technology, explores what happens when the software itself becomes part of that continuing improvement.