What makes an agent different
An assistant that takes errands for you is software, like the printer's workloads, but it chooses its own steps, holds authority that belongs to you, and reads content that can try to steer it. This lesson follows one errand, a photo book of your Lisbon trip, to show why that combination needs identity of its own kind, and ends with the questions every one of its actions should be able to answer.
An assistant with errands
You got back from a trip to Lisbon last week, and you would like a photo book of it. One afternoon you open the assistant you use for errands, at assistant.example, and type: "Make a photo book of the Lisbon trip and order it if it costs less than $60." Then you go back to work. The assistant turns your request into a plan:
1. Find the "Lisbon trip" album at photos.example.
2. Choose about 40 of the best photos.
3. Create a book draft at printer.example and lay out the pages.
4. Check the price. If it is under $60, place the order.
5. Tell you what was done.All domains, credentials, and tokens in these examples are fictional. The assistant can carry out that plan because it can call tools: services connected to it, such as the photo service, the printer and a page layout service. After each step it reads the result and decides what to do next. If the album has 600 photos, it decides how to pick 40. If the price comes to $64, it might remove a few pages, or stop and ask you.
Software that pursues a goal this way, choosing and taking its own actions, is called an agent. Usually a language model decides the steps: software trained on large amounts of text, which reads the goal and the results so far as text and writes the next action as text. Before the assistant has done anything, identity questions are already waiting. When it reads your album, whose access is it using? When it places the order, who is paying? When the printer records an order, who should the record say placed it?
Not quite a script
Compare the assistant with the printer's nightly batch job from When software needs its own identity. The batch job does the same steps every night. People wrote those steps in advance and reviewed them, so its permissions can be fitted to exactly what it does.
The assistant's steps are chosen while it runs, from your goal and from whatever it finds along the way, and two runs of the same request can take different paths. Nobody can review the list of steps beforehand, because there is no list until the assistant makes one. What can be decided in advance is the set of things it is able to do, whatever it chooses.
The assistant may also hand part of the work to another agent. The printer runs its own selection agent, which knows how each photo will print on its paper better than any outside assistant does. When the assistant asks it for help, one agent ends up acting partly on behalf of another, and both on behalf of you.
Not quite a person
In other ways the assistant behaves like a person acting for you. It reads, chooses and buys. But the protections built for people fit it poorly.
AuthenticationChecking evidence that someone, or some application, controls an account, such as a password or a passkey. It establishes which account is being used, not what that account may do. prompts, passkeys and approval requests are designed to show that a person is present, and an agent that answers such a prompt proves nothing about you. The assistant also works at machine speed and at scale: it can send hundreds of requests a minute, and the same software runs many copies at once, for many different people.
Responsibility is different too. If the assistant orders the wrong book, it cannot be held responsible the way an employee can. That responsibility sits with you, who asked it to act, and with the operator, the company that runs assistant.example.
So the assistant has two sides. It is software, a workload with all the identity questions the Workload identities lessons raised, and it holds authority that belongs to a person.
The questions every action raises
The figure gathers the parties in your one errand: you, the assistant, two services it acts on, a tool, another agent, and the content flowing back that can try to steer it.
For every action the assistant takes along those arrows, someone should be able to answer seven questions:
- Who is acting? The assistant, which copy of it, and which operator runs it.
- For whom? You.
- On what? The Lisbon album, and one book order.
- With what authority? What you granted, and nothing more.
- For how long? Until the task is done, not indefinitely.
- Who approved it? You, for the order, at a particular moment.
- How can it be stopped? By taking back the assistant's access, without changing your password.
A system that cannot answer one of them for an action has a gap there, whether it is a record that names only you, a grant with no end, or access that can be removed only by changing your password.
Check your understanding
Try these questions before moving on. If an answer isn't right, use the feedback and try again.
Try it in the Lab
- Send the fixed agent on an errand and answer the seven questionsFollow a real delegated album read, answer the lesson's seven questions for it, then see a caption that gives orders treated as data.