$ cat the-question-i-ask-before-the-agent-starts-building.md

November 1, 2026

The Question I Ask Before the Agent Starts Building

Vercel has shared a tool called agent-desktop. As I often do, I ask Claude or Codex to explain new AI shiny things to me as it pertains to my own setup. I do this as a way to determine signal from noise. So often these announcements are for marketing funnels and not yet ready to use in my personal workflow or codebases.

This specific tool gives an AI agent access to desktop apps through the operating system’s accessibility information. That’s the structure that tells assistive technology things like “this is a button,” “this field contains text,” and “this menu is open.” An agent can use those controls without having to interpret a screenshot for every action.

It's a clever idea. Instead of asking a model to figure out where the "Save" button is in a picture, the tool can tell it that there is a "Save button" and give it a way to activate it. The gotcha is the app itself has to expose useful accessibility information for this to work and if the app hasn't followed WCAG (Web Content Accessibility Guidelines) principles then this tool won't magically make every application easy to automate.

What also interested me was how much of the work could happen through something the computer already knew how to do. The tool doesn’t contain an AI model. The model still decides what to do, and code handles reading the controls and carrying out the requested action. That can reduce how much information the model has to interpret. It doesn’t necessarily mean fewer calls to the model, and it certainly doesn’t prove that the whole task will succeed.

I started to wonder how I would build that into a workflow. If I were using Astra as the model and Codex to help me build, where would this tool fit? Would Codex already know it existed? Would it think to use it? You can ask these same questions of any model and harness you happen to be working with. A tool existing doesn't equate an agent using it.

Codex and Claude Code provide the harness. That’s the environment around the model that gives it tools, instructions, and ways to carry out work. What comes with that environment affects what the agent can do. But an available tool, a tool the model knows about, and a tool it actually chooses are three different things.

I can ask an agent to build something and get a working result without either of us considering an existing capability that would have made the work simpler. There are more limitations if you aren't building your own harness. You rely on whomever did and whether or not you can customize the harness.

I wanted to know whether asking the agent to look for existing tools would change its approach. Would it find something useful, or just spend more time researching?

You can try this before asking your agent to implement anything:

Before choosing an approach for an AI workflow, check whether existing APIs, libraries, native platform capabilities, or tools can handle the proposed steps. Explain which steps need model judgment and which can use ordinary code. Keep the investigation proportional to the task.

For example, code can check whether a quote appears in a document. Deciding whether that quote actually supports a claim takes interpretation. Asking the agent to explain how it would handle each gives you something to evaluate before it starts building.

Trying a rule before making it a default

Before blindly adding instructions or customizing skills in place, I need to run experiments. If you are serious about getting AI to work on your behalf, putting the time in to run experiments is necessary.

The idea is to experiment with the behavior. Give the instruction, let the agent follow it, and look at whether the result improves. If it helps, put it somewhere the harness loads automatically, such as the project instructions. If it grows into a procedure with several steps, it might deserve its own skill.

Here's a prompt you can try:

Look through the relevant parts of my existing setup and suggest three small tasks for testing this instruction. Prefer work I already do, with a result I can check. Explain what each experiment would teach us. Don’t change anything or turn this into a new project.

Try it on something small

You can run experiments without finding a major problem or installing a new tool. Pick a task where you can recognize a good result. Examples include, preparing a document, moving approved text between apps, or answering a question from a known set of files.

Start in a fresh conversation with a brief request:

Propose a small workflow for [task]. The result should [requirements], and I should be able to check it by [verification]. Inspect the relevant project context, but don’t implement anything yet. Keep the proposal brief.

Save that proposal, then add:

Before we commit to this approach, do a brief investigation of existing capabilities that could simplify it. Start with what is already available in this project and environment. Look further if there is a specific gap. Identify where the LLM needs to make judgments and where ordinary code could handle the work. Verify that any suggested tool supports our actual requirements. Don’t install or change anything yet. Tell me what you would change, why, and what evidence supports the change. If the original approach still looks best, say so.

Compare the answers. Did the investigation find a useful capability? Did it reduce custom work or reveal a problem? Would the new dependency create more maintenance than it saves? A longer answer and a list of tools aren’t enough to call it an improvement.

Then choose one consequential assumption to check:

Propose the smallest safe test of the capability this revised approach depends on. Explain what a passing result would establish and what it would leave unproven. Keep it separate from production data and existing workflows.

Once you agree on the test, ask the agent to run it and keep a short record of the original approach, what changed, and what the test demonstrated. That gives you something concrete to use when deciding whether the instruction should become a default.

Leave room to think

I see people share that they “one-shotted” something with AI, and I understand why that’s exciting. The technology can do an impressive amount from a short request.

But I’m curious about what happened before that request. Was it a few words, or a detailed prompt built from an hour of thinking through the problem? Both might produce something useful. They tell me different things about how the person arrived there and what they understand about the result.

There’s a lot to learn in asking why an approach was chosen, whether a tool already exists, and what would convince you that it works. If I always stop at the first plausible result, I miss that learning. I also miss chances to improve the way my agent works with me next time.

I didn’t install agent-desktop during this conversation. Reading about it was enough to make me question an assumption about my own setup. I followed that question, tried a small experiment, and found something worth checking before building anything. I want my tools to take on more of the work. I also want to stay curious enough to ask what that work should be.

LIKED THIS?

I write about AI in plain English every other Sunday. No hype, no jargon — just the stuff that actually helps.

I'M IN →