Chris Walker

Agent-first design

Running an entire product build as a designer, with models writing every line

The idea

Clay is the assistant inside Huntress. A learner forwards a suspicious email and Clay tells them what gave it away. An admin types a slash command and Clay sends the reminders, builds the assignment, or pulls the report. I had designed it months earlier and watched it get built the normal way, which is to say slowly, in pieces, with the design drifting a little further from the boards every sprint.

A learner forwards an invoice scam

Then I tried something different. Instead of handing the designs off, I asked a model to walk the whole product the way a user would and write down everything it found. It came back with 105 findings. Then I asked it to go through my build plan, my briefs, and every ruling I had ever written in Linear, and turn them into a single sheet of rules. That became 162 numbered rules, and it changed the way the next two weeks went. From that point on, nothing was a bug until it had been checked against a rule I had actually written. If there was no rule, it was a decision, and the decision was mine to make.

Slash commands

The findings were only useful because of the rules. Without them the model called every surprising behavior a bug, including a dozen that were my own decisions from months before. With them it could tell the difference, and so could I.

Constraints

I spent one day in conversation. Not filling in a questionnaire, but working through the product with Claude the way I would with a colleague who had just read everything we had: fifty-four questions the first afternoon, fifteen more that evening, dozens over the following days. Who can see Clay. What a verdict looks like to a learner versus an admin. Whether a receipt gets an undo chip or a restore chip. What happens when an admin resets the password of someone who has never logged in. Some I answered in a sentence. Some took a back-and-forth until I could say what I actually wanted, and often the question itself was the clarity. Each one ended as a number and a line in a decisions file, and every agent that touched the build read that file before it read any code.

The first thing a new admin sees asks for one thing: an organization name.

The constraints that mattered most were gates, and each one was a choice. I could have let each fix merge to the main branch as it finished, which is how the previous version got built. I chose a frozen release candidate instead: nothing moves until every test battery has been rerun on one commit and I have done my own manual pass and signed off with the hash. It is slower, but the design stops drifting, because there is one build to look at and I am the one looking. I could have picked a model for the hard features up front. I chose to build each one twice on two different models and let a scoreboard pick, because I had no evidence yet about which one was better at this codebase. And every pull request is reviewed by more than one model, with a separate agent checking each reviewer's findings against the diff and marking them confirmed, false, or unsure, because the first day showed reviewers raising the same doubtful finding on every round.

I also said no to things. When the quality plan grew to nine extra passes, I moved five of them to after launch (a voice pass, delight goldens, a latency gate, a production-shaped seed, an experience walk) and kept the four that could stop a user from being hurt: the integration review, accessibility, verification of every merged change, and the final rerun. On the second Sunday I froze scope entirely. From then on, only fixes to things already in the build. A reviewer that could run at four in the morning without me was new. A release candidate and a sign-off were not. What changed is that I was the one holding the gate.

Variants

The design lane drove everything else, and it was not new work. It picked up where the earlier boards and documents left off: a live copy of the product on my own branch, taking every merge from the main branch automatically, where I checked that each mockup had been built the way it was drawn and then kept improving it now that it was real. It was where I made the decisions the agents then built against. Nothing went to a worker as a brief until it had been tried here first. I would open the app, notice something, describe the change, see it live, and only then did it become a rule the pipeline had to follow. The agents wrote the code. The lane is where the clarity came from.

This is where the volume got interesting. I had wanted to redesign the Clay panel for months. Instead of one direction, I asked for a gallery of nine, each one a working prototype running the same scripted conversation, so I could compare them on identical content. My criteria were set before I looked. Admin work in Huntress happens on the page, in tables and lists, so Clay has to act beside the work rather than on top of it. The page must stay readable while Clay is open. Nothing may cover the navigation. And the empty state has to say what Clay can do instead of waiting for a prompt.

That ruled out more than it kept. A floating chat bubble covered the table Clay was about to change. A full-page canvas threw away the context an admin had just built. A command bar was quick but left no room for a result. The one that won was a docked workspace: a thin bar on the right edge that opens into a panel which pushes the page over instead of covering it, so a learner list and Clay's answer about it sit side by side. It arrived with Chat, Activity, and Saved tabs. After a day of real use I removed the two extra tabs. Nobody switched to them, including me, and saved items moved to the top of History, where people actually looked for them. I also made the panel resizable, pushing the page until it runs out of room and covering only then.

Docked workspace

Onboarding got the same treatment. Thirteen directions, from a pill in the header to a checklist that lives inside Clay itself, all built as clickable scenes. The rules I set before looking were that it must not take a dashboard card, must not cover the nav, must follow the admin across screens, and must not replace the chat. The winner keeps setup as a list of tasks Clay holds for you, with the steps you cannot do yet locked and told why. For the threat record, twelve layouts of the same incident; I chose a vertical ledger of what happened, in order, over a dashboard of signals, because an admin reads an incident as a story. For the learner's verdict I chose one paragraph with three quotes from the email over a checklist, and took the word “signal” out of the learner's copy entirely. The admin keeps Clay's own checks, because the admin needs them. For the moment you open Clay from the dashboard, a playground where I tuned one transition until it felt right.

Setup as tasks
Glide

The learner side got fewer directions and more removal. The first message in every conversation says what the security team can and cannot see, once, and then gets out of the way.

The learner’s Clay

A learner should never have to find a button. Drop a screenshot anywhere on the page and it attaches. Paste one and it attaches. Up to three at a time, and the verdict comes back the same way.

Drop a file anywhere

Each of those galleries would have been a week of work on my own. Here they were an hour, and the interesting part shifted from making the options to having opinions about them. How much can a verdict be simplified before a learner stops trusting it. When does an admin want to see who is about to receive a reminder before it goes out. Which decisions deserve a confirmation and which deserve an undo. The system gave me a consistent foundation. The decisions about what the information should be were still mine, and I made more of them in two weeks than in the previous two months.

Watching it build

The build ran on a single virtual machine. A Claude session orchestrated. Codex workers on two different models wrote the code, one pull request per fix or feature from the plan. The machine started with eight cores and was at thirty-two by the second night because the workers kept running out of room. I watched most of it through a build log, one timestamped line at a time.

Build logthe first twenty hours
20:25Zgo · orchestrator up · five workers

Within twenty hours, twenty-six pull requests had merged, each one a fix or a feature from the plan: the admin console that had been empty for every account, verdicts that filed one record instead of two, the assignment wizard, the retry logic behind the admin stream. In the first head to head round, the build that followed my new rules beat the one that did not eight times out of nine. That was the moment I stopped worrying about whether the models could write the code and started worrying about whether I had written the right rules.

The failures were instructive in a way the successes were not. One night the machine ran out of memory because too many test suites were running at once, and everything died, including the two agents running the build. Another night a merge agent moved a branch underneath a worker that was still editing it, and the worker's next commit quietly reverted a day of finished work. Nothing broke loudly. A single line in the log showed thousands of deletions in files the pull request did not own, and that was the only clue. By morning both were rules that kept test runs from sharing a machine, kept agents out of each other's branches, and made every merge compare its diff against the base first.

I started to think of the rules file the way I think of a design system. Something felt off, I figured out why, and I turned it into a constraint the whole system could use.

The factory

By the second weekend the pipeline had a rhythm. The agents on the machine added more than two hundred thousand lines across the two repositories. I added about a hundred thousand, mostly through the design lane. On the busiest day, sixty-five user-facing pull requests merged between one in the morning and four in the afternoon. A twenty-four hour soak walked the learner experience over a thousand times while I slept.

It was not free. The night the build ran hardest cost more than the rest of the week combined, and when I looked at why, most of it was four long-lived agent sessions replaying their entire history on every turn. The fix was embarrassingly simple. Start fresh each cycle, use the expensive reasoning only where judgment is needed, and turn the repetitive checks into scripts that cost nothing. Spend fell by more than half and the pace did not change.

Not every call was right. To protect my own model budget I moved my QA notes to a cheaper model for one evening. It was supposed to take notes. Instead it edited code in a stale copy of the repository, and I pulled the plug after two hours and kept its patch for parts. The rule from that night: cheap models for long automated walks, the expensive one for judgment, and never both on the same files.

Clay shipped on the sixth release candidate, signed off against one hash, with the redesigned panel, onboarding, and the learner portal in the same launch. Two hundred and five pull requests had merged into the launch branch in six days to get there, and every one of them had gone through the same gates as the first.

If there is one idea I would hand to the next person who runs a build this way, it is that a group of agents working on the same code fails the way a group of people would. The two worst nights were not a model getting something wrong. One agent moved a branch while another was still working on it. Another committed an old copy of the code and quietly undid a day of finished work. Both happened because two agents touched the same thing with nobody in charge of it, and both were fixed with ownership, not better prompts: one owner per branch, and a check before every merge that nothing outside the change had been deleted.

The other thing I would hand over is knowing which decisions are mine. Forty-three of the first day's fifty-four rulings were defaults I accepted. The ones I kept were money, production, taste, and the gates. Everything else got a default and a line in the file, and that split, not the models, is what let the build run through the night without me.

What transfers is not the tooling. It is that a designer can own a build end to end when the rules are written down, the gates are real, and someone holds them. I would run a feature team this way tomorrow: designs expressed as rules the whole team reads, a live lane where the design is iterated on the real product, and one person who signs the hash.