GOKEE

Part VI · AI agents15 min

27Giving work to an agent

How to choose work that suits an agent, write it so the result is usable, check it with the right care, and plan the hours of the people who check.

The first time a team gives real work to an agent, the result is often disappointing. The usual cause is the task and not the agent: it was written the way one writes a note to a colleague who already knows everything.

Take the team that opens the German market at Hollin (chapter 14). Someone writes to the agent: “Do the German product pages, like before.” The agent has no “before”. It has not seen the pages that were approved last month, the tone the team agreed, or the words that Legal does not allow, unless the task points at them. What comes back reads well and is wrong in five places, and a person finds them only by reading all of it. The team decides that agents are not worth the trouble. What it has learned is that the task was not written.

This chapter has five parts, in the order of the work: choosing what to give, writing the task, validating the result, planning it in the cycle, and looking back on it.

What is good work for an agent

Three questions help to decide whether a piece of work suits an agent.

Is it well defined? The agent needs to know what is wanted and when it is finished. “Write the German version of these ten product pages, in the tone of the examples attached” is defined. “Improve our German presence” is not. A useful test: could two people read the task and agree, without talking, on whether a result is finished? If they could not, the agent will not know either, and the person who checks will be judging against something that was never said.

Can a person check it in much less time than it takes to do? This is the most important question. A translation can be checked by a German speaker in a fraction of the time it takes to write. An analysis whose every number has to be recalculated by hand cannot. If checking costs as much as doing, the agent saves nothing. It can even cost more, because the person also spends time writing the task and reading what is not right.

Can a mistake be undone? A draft that is wrong is corrected. A payment that is wrong is a problem. Work that cannot be undone needs a person before it happens, not after. This question also decides how much care the check needs (see “Validating” below), so answer it for each kind of work, not once for the agent.

Work that needs judgment about people, a relationship with a customer, or a decision that someone must answer for stays with people.

The three questions give one answer per piece of work. Here are five pieces, from Hollin and Parcela:

Piece of workWell defined?Checked much faster than done?Can it be undone?Decision
Ten product pages into German, with examples of the toneYesYes: a page is read in minutesYes: it is corrected before it goes liveGive it
First answers to customers’ common questions, with the policy attachedYesYes: an answer is read in a minuteMostly. A promise about money is notGive it. A person reads answers about money before they go out
Check that every figure of the quarter report is rightYesNo: each figure is recalculatedYesNot as it is. The agent can prepare, a person checks
Refund a customerYesYesNoA person does it, or approves it first
Choose which customers get a discountNo: it is a decisionStays with people

Many pieces of work fail one question and pass the others, and they are still useful. Then split them. The agent does the part that is defined and quick to check, and a person does the rest. The agent prepares the accounts and a person checks and sends them (chapter 28). The agent drafts the proposal and a person decides the price. The split also keeps the decision, and the answer for it, where chapter 26 put it.

One more thing about size. A task for an agent should be small enough to check in one sitting. A task that produces a hundred pages gets a quick look, because nobody has an afternoon free. The same hundred pages in ten tasks of ten get ten real checks, and the first one shows the mistakes the other nine would have repeated. Chapter 14 asked that a task be small enough to finish in a cycle. For an agent the measure is smaller: what a person can check at once.

Writing the task

An agent knows nothing about your company except what the task tells it and what it is allowed to read. A good task for an agent has what a good task for a new colleague has, with nothing left unsaid:

  • the context: what this is for, and where it fits;
  • the material: the files, the links, the examples of what good looks like;
  • what finished means: stated so that the person who checks can say yes or no;
  • the limits: what it must not change, send or decide.

This is the refinement of chapter 19, done strictly. Teams often find that writing tasks for agents makes their tasks for people better too. Appendix B has the template. Here is the task of the German pages, written with it:

What:      The German version of the ten product pages on the attached list.
Why:       Part of the German website, for the German market. The pages go live in 2027-Q1-C3, with the campaign.
Material:  The ten English pages. Three German pages that are already approved, as examples of the tone.
           The list of words that Legal does not allow.
Finished:  Ten pages, each with its title, its text and its three bullet points. Every price and measure is the same as
           in English. A German speaker could publish each page after reading it once.
Limits:    Do not change prices, measures or legal texts. Do not publish. If a term is unclear, keep the English word
           and list it at the end of the page.
Validated by: Jonas, of the German team · time to check: 2 hours

The context tells the agent what the work is for, and that matters more than it seems. “Translate” and “translate for a page that sells to a customer who is about to pay” lead to different choices of words, and the agent can only make the second choice if it is told.

The material is where most tasks are thinnest. Examples work better than adjectives. “In a friendly but professional tone” can mean anything, and three approved pages mean one thing. Material also carries what is not said anywhere else: the list of forbidden words, the price list, the policy for refunds. If a rule matters, it is in the material or in the agent’s standing instructions. It is not assumed.

“Finished” is written for the person who will check, as much as for the agent: a reader could say yes or no to each line. “Good German” is an opinion. “Every price is the same as in English” can be checked by anyone, in a minute. And a useful limit is the instruction to say what is missing instead of guessing: the person who validates then reads the list, which is much faster than finding the guesses one by one.

The last line is the plan. The task says who will validate it and how long that will take, here two hours for ten pages, which is twelve minutes a page. It is the time that goes into the cycle (see “Planning the agent’s work”).

Validating

A PERSONGivenContext, material, whatfinished means, limits.One validator and thetime to check, plannedTHE AGENTDraftedDoes the task, and listswhat is missing insteadof guessingTHE VALIDATORCheckedAgainst what finishedmeans, with most carewhere a mistake costs mostTHE VALIDATORAcceptedIt is theirs now, andit counts as finishedyesnoSent backwith where, and whydrafted againWritten in one placefor every returnThe same reason two or threetimes: one line added to thestanding instructions, and themistake stops for everyone
Figure 33. The path of one piece of agent work. A person gives it, the agent drafts it, and the one named validator checks it: accepted, it is theirs; sent back, it says where and why, and the same reason twice changes the agent’s instructions.

The person who validates does three things. They look at the result against what “finished” meant. They check the parts where a mistake would be expensive, with more care than the rest. And they accept it, or send it back with a comment that says what is wrong.

How much care depends on the work, and the third question of the first section decides it. A new kind of work is checked completely. Repeated work that is small and can be undone is checked by a sample each day, plus the parts where a mistake costs the most. Work that cannot be undone is read in full before it happens. After the standing instructions change, a few pieces are checked completely again. So “check everything” and “check a sample” do not conflict: the check gets lighter as the agent does the same work well, for work that can be undone, and never for work that cannot. A sample is a lighter check and not a lighter answer: the named person still answers for all of it.

A comment that sends work back should say where and why, so that it can be used. “Not right” gives the agent, and the next person, nothing. “Pages 4, 6 and 9 say delivery takes two days. Our policy is three to five working days” says what is wrong and where it repeats. It also makes the reason visible, and that is what the next paragraph needs.

Validating is not reading quickly and approving. If, after some weeks, the person accepts everything without looking, the rule is being kept only in name. A team can protect itself with a simple habit: now and then, check one piece of agent work completely, as if it were the first. One piece in each cycle is enough to learn whether the sample was catching what it should. Work that is never sent back is not proof that it is good. It can also mean that nobody is looking.

When an agent’s work is sent back often for the same reason, the fix is usually in its instructions and not in each task. Teams often keep standing instructions for their agents: how the company writes, what it never does, where things are. They are worth reviewing in the pit stop, like any other part of how the team works. To make this easy, write the reason for each return in the same place. At the end of the cycle, two or three returns with the same reason are a line to add to the instructions. Once it is added, the agent stops making that mistake for everyone who gives it work.

Accepting has a meaning, too. From the moment the person accepts the result, it is theirs: if a customer, a colleague or the Lead asks about it later, the question goes to them (chapter 26). That is a reason to accept when the work meets what finished meant, and not before, even when the cycle is ending and the queue is long.

Planning the agent’s work

In the planning of a cycle, the work for an agent is planned like the rest, with two lines for each piece: the task for the agent, and the time of the person who will check it. The first line says what the team asks for. The second says what it costs the team, and it is the one that decides how much fits.

Seven hours and forty minutes is about one working day of people’s time in two weeks. Both teams have that time counted in their ongoing work before they put a project in the cycle, as chapter 15 counts any work that repeats.

Now the other side of the sum: what the team gets for those hours. The mechanism is the one of chapter 26. The hours a piece of work took by hand become the hours of writing its task and checking it, and the team gets back the difference. So a team needs three numbers for each kind of work: how long it took by hand, how long the task takes to write, and how long the check takes. The first comes from the team’s own record. The other two come from a few cycles of trying.

The sum holds only while the checks hold. If pieces come back, the hours of checking grow, and the gain shrinks with them: three proposals sent back at Parcela turn six hours into eight (see “In the retrospective”). The hours a team gets back go to its own work, and the method that spends them is the same one: planned, given as tasks, reported, with a person answering for each piece. A team that wants its own numbers, and not this book’s, has them after two or three cycles: the retrospective’s three numbers below say how many pieces the agent did, how many came back and how long checking took.

The rule is the one of the last chapter: a team gives an agent no more work than its people can check. It is easy to break, because the agent’s side of the line has no limit that anyone feels. Writing the person’s time next to each piece makes the limit visible on the day of planning, when it can still be used.

When several teams share an agent, they see each other’s requests in the plan. If the requests are more than the agent can do or more than people can check, the Leads decide the order, as they would for any shared resource. This is one more thing the shared planning weeks are for. At Parcela it is a conversation of five minutes between the two Leads, because there are four Leads and one page.

The same count works in the quarter. When a team decides in C5 that it will give a repeated part of its work to an agent, which chapter 15 suggests as a project when ongoing work grows, the project has three costs, and they are written in its size: writing the task and the instructions, the first weeks in which a person checks all of it, and the lighter checking that follows. A project that counts only the first cost looks cheap and then takes the time of the people who check. A project that counts all three says honestly what the team gets back: the weeks of work that the repeated work took, minus the hours of checking that remain.

In the retrospective

The team’s retrospective includes its agents. The questions are the same as for any part of the work. What did we give to agents this cycle? What came back good, and what did we have to redo? Where did checking take longer than we planned? What do we change?

Three numbers help to answer them, and the team already has all of them. How many pieces did the agent do? How many were sent back, and for what reasons? How long did the checking take, compared with the hours that were planned? These come from the tasks and from the two lines of each piece of work, and they are part of the second number of chapter 24, where the time went.

Three returns with the same reason are one change, and the retrospective is where it is made.

The retrospective is also where a team decides to give an agent more, less or something different. A kind of work that came back right and quickly is a candidate for a lighter check. A kind that was sent back every time stops being given until its task or its instructions are better. Both are decisions about people’s time, so they belong to the people.

In the pit stop, the quarter retrospective of the department looks at the agents of the whole quarter, and the review of the standing instructions fits the week’s use for tidying up: it is small and it was put off (chapter 7).

In short

  • Good work for an agent is well defined, much quicker to check than to do, and possible to undo. Work that fails one test can often be split.
  • A task for an agent says the context, the material, what finished means and the limits, and names who validates and how long it will take. Keep it small enough to check in one sitting.
  • Validating means really checking, with the most care where a mistake costs the most. The care is lighter for work that is small and can be undone, and never zero.
  • Send work back with a reason, and write the reasons in one place. The same reason twice is a change to the instructions.
  • Plan two things for each piece of agent work: the task and the time to check it. A team gives no more than its people can check.
  • What a team gets back is the hours by hand minus the hours of the task and the check, so the check sets the gain. In Parcela’s invented sum, a cycle gives back about 55 hours with a sample and 42 with every answer read.
  • Include the agents’ work in the retrospective: what was given, what was sent back, how long checking took.