GOKEE

The Gokee book · Part VI

AI agents

  1. 26An agent works like a member
  2. 27Giving work to an agent
  3. 28A company of one person

26An agent works like a member

A computer can never be held accountable. Therefore a computer must never make a management decision.

Attributed to an IBM training manual, 1979

An agent is an AI program that does work. You give it a task, with the information it needs, and it produces a result: a draft, an analysis, a piece of code, a set of answers to customers.

Most methods for organising work were written before agents existed. They treat an agent as a tool, like a spreadsheet. But an agent takes tasks, needs clear instructions, produces work that has to be reviewed, and can be busy. For planning, it behaves much more like a member of a team than like a tool. Gokee starts from that.

The same calendar

In Gokee an agent works like a member:

This keeps people and agents in sync. If the agent's work is in the cycle backlog, the team sees it in the plan, in the cycle review and in the report. If the agent works outside the plan, its results arrive when nobody expects them, and the team has the problem of chapter 1 again, this time with a program.

One difference: an agent can work for many teams

One agentGerman team: product descriptionsA person of this team validates itThe time to check is in the team's planSupport team: help pagesA person of this team validates itThe time to check is in the team's planSales team: contracts to checkA person of this team validates itThe time to check is in the team's planIts limit: the time peoplehave to check its work
Figure 19. One agent, three teams. Each team plans its part of the agent's time in its own cycles, and a person from that team validates the work before it is finished.

A person belongs to one team. An agent does not have to.

One agent can take work from several teams, while it has time available. An agent that writes first drafts of product descriptions can do it for the German team on Monday and for the support team's help pages on Tuesday. An agent that checks contracts can serve every team that signs one.

This is one of the biggest advantages of agents. A person with a rare skill is shared with difficulty: every team wants them, and they can be in one place. An agent with that skill helps wherever it is needed.

"While it has time available" is a real limit. An agent has a cost for each piece of work, a limit on how much it can run, and above all a limit that is not its own: the time of the people who check its work. So an agent's time is planned too. Each team plans the work it gives to an agent in its cycles.

The one rule

There is one rule about agents, and it is the ninth principle of Gokee:

The work of an agent is always validated by a person.

An agent's work is not finished until a person has looked at it and accepted it. That person is responsible for the result, exactly as if they had done the work themselves.

The reason is that an agent can be wrong in ways that are hard to see. It can write a confident answer to a customer with a wrong fact in it. It can produce code that works in the example and fails in the real case. It does not know that it is wrong, and it is not responsible for anything. A person is.

The rule has a practical side that is easy to forget: checking takes time, and that time is counted in the plan. If an agent produces twenty drafts in a cycle and each one needs twenty minutes of a person's attention, that is almost seven hours of someone's cycle. If nobody has those hours, the team should not plan the work. An agent that produces more than people can check does not make the team faster. It only makes a longer queue.

Who validates

The person who validates comes from the team that asked for the work. The German team asked for the product descriptions, so someone in the German team reads them and accepts them. That person knows what the work is for and can tell if it is right.

It follows that responsibility does not move to the agent, or to whoever set the agent up. The team that asks for the work owns the result.

What an agent is not

An agent is not a Lead, and it does not own a project. Ownership means being responsible, and an agent cannot be. An agent can do most of the tasks of a project. The owner is still a person.

An agent is not counted as a person in the size of a team. A team of four people and three agents is a team of four, with more capacity for certain kinds of work and with part of its people's time given to checking.

27Giving work to an agent

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.

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.

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.

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.

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

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:

This is the refinement of chapter 19, done strictly. Teams often find that writing tasks for agents makes their tasks for people better too.

Validating

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.

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.

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. Most teams 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.

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.

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.

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?

28A company of one person

Ines, who sells language courses online (chapter 16), has no colleagues. Until last year she did everything herself: wrote the lessons, recorded them, answered students, ran the advertising, sent the invoices. She worked sixty hours a week and the business could not grow, because every new student meant more of her time.

Now she has agents, and she has organised them with Gokee. Her company still has one person. It works like a small team.

Roles, given to agents

Ines listed the roles of her company, as if she were going to hire for each one:

RoleWho does itWhat Ines keeps
LessonsInesEverything: this is what students pay for
Student supportAn agent answers; Ines checksReads a sample every day, and every answer about money
Marketing textsAn agent draftsChooses the campaigns, approves every text
Translation of the siteAn agentA paid reviewer checks each language once
AccountsAn agent preparesChecks and sends each month

She did not give away the work that is the reason her company exists. She gave away the work around it.

Her two jobs

A person who works with agents keeps two jobs. The first is deciding what the agents do: choosing the projects, writing the tasks, setting the order. The second is checking their work.

These two jobs are the job of a Lead. Ines is the Lead of a team whose members are agents. This is why Gokee works for her without changes: she plans a quarter, runs cycles, and reviews results, like any Lead.

The limit of her company is no longer the hours she can work. It is the hours she can check. She counts them when she plans: if the agents can produce more than she can validate, she plans less for them.

Her quarter

Ines follows the Beat alone.

For a person alone, the meetings become notes. What stays is the rhythm: something that makes her stop and look, on fixed dates, when nobody else will ask.

When she hires

In the autumn Ines hires a part-time teacher. On the first day, the teacher can read the plan for the quarter, the reports of the last cycles and the Dailies. The calendar is running. There is nothing to set up and no "how we work" to invent.

This is the practical reason to use a method for a whole company when you are one person. The company that Ines will have at five or at fifty people is being organised now, at no extra cost.

The honest limit

It is tempting to say that with agents a company no longer needs to hire. That is not what this chapter says.

Agents do the work, and a person directs it and answers for it. Some roles are mostly work of the kind agents do well, and one person can direct several of them. Other roles are mostly judgment, relationships and responsibility: a difficult customer, a negotiation, a decision about a person. When one of those roles grows beyond what Ines can carry, she needs a person. With agents that moment comes later, but it still comes.