Letting an agent act for you
At a glance
- What it is
- A concept I designed and coded in November 2026, directing Claude Code. Every app, task and permission is invented. It is not any company's product, protocol or data.
- My role
- Everything: the three moments, the permission rules, the developer view, the copy and the code.
- Built on
- Living with my own agent, bre.ai, which works under three tiers: what it does alone, what it asks me first, and what it never does. Every action it takes can be undone.
- The one thing
- People will hand over a task, not their account. The permission should be shaped like the task.
Sign-in was built for people. Agents need a different handshake
Today, letting an AI agent do something on a site usually means giving it a password or a long-lived token that can do anything you can do. That is backwards. People don't want to give an agent their account. They want to give it one errand.
I live with this problem every day. My own agent, bre.ai, can act on my tasks, plans and people. It does small reversible things alone, proposes anything bigger, and never sends a message for me. The rule that made me trust it wasn't a setting. It was that every permission matched one job and every action could be undone.
This concept designs that handshake for any agent acting on a third-party service: ask for a scoped, time-bound permission in plain words, show the work while it happens, and end with a receipt and an automatic expiry.
Ask, watch, wrap up
Pick a moment. The left side is what the person sees. The right side is what the service and its developers see, and the record kept.
What the person sees
Book me a table for two at Lucia's on Friday around 7.
· See open tables at Lucia's on Friday
· Book one table for 2, between 6:30 and 7:30
I won't pay deposits or message the restaurant without asking you. This permission ends when the booking is done, or tonight at midnight.
What the service sees
- Requested scope
- read: availability(Lucia's, Fri) write: book(1 table, 2 people)
- Excluded
- payments, messages, profile
- Expires
- On task complete, or 23:59 today
- Shown to person as
- Two plain sentences, not a scope string
What the person sees
Wait, can you try 7 instead?
What the service sees
- Live status
- Visible in the conversation and on the service's side
- Stop
- One tap, honored before the next action
- Actions so far
- 1 read, 0 writes
- Nothing irreversible
- Happened before the person could step in
What the person sees
I used your Tablebook account once, to make this booking. That permission has now ended.
What the service sees
- Receipt
- Every action, with time and result
- Permission
- Expired automatically on completion
- Undo
- Cancel is offered right in the receipt
- Audit
- Same record for the person and the service
Every app, restaurant and confirmation number here is invented. The rule names are mine.
Seven rules behind all three
- Ask for the errand, not the account. The scope matches one task.
- Say what's included, what's not, and when it ends, in plain words.
- Time-bound by default. Permission ends when the task does.
- Money, messages to other people and anything irreversible always come back to the person.
- Show the work while it happens, and honor stop before the next action.
- End with a receipt that lists every action and offers undo in place.
- The person and the service see the same record.
I already live under these rules
bre.ai. My agent works in three tiers: does alone, proposes, never. It has never sent a message for me, and every action has an undo. Rules four and six come straight from it. How I build it with Claude Code.
Netflix AI explanations. If a line failed its check, members saw nothing. In delegation, the same instinct means stopping and asking instead of guessing.
Netflix evidence system. Ten ranked categories, one slot, rules enforced in code that dozens of teams built on. Permission scopes need the same kind of shared, enforced vocabulary.
How you'd know it works
I haven't tested this concept with people. If I were shipping it, these are the signals I'd watch.
| Signal | What it catches |
|---|---|
| Grant rate on first ask | Whether the request is clear and scoped enough to say yes to |
| Requests broader than the task | Agents or developers asking for more than they need |
| Stops mid-task | Moments where people lost confidence, and why |
| "I didn't expect that" reports | Actions the receipt explained badly, or scope that was too wide |
| Permissions still alive after the task | Expiry rules that aren't working |
Six moments that break the easy version
| Situation | The trap | What the design does |
|---|---|---|
| The task grows: "book it, and order flowers too" | Scope creep inside one grant | A new errand is a new ask. The first permission doesn't stretch. |
| The site asks for a deposit mid-booking | Money appears halfway through | Stop and ask, with the amount and who gets it. Never pay on the original grant. |
| The agent is mid-task when the person closes the app | Work running unseen | Pause at the next step, and send a notice with Continue or Stop. |
| Two agents ask for the same account | Overlapping grants | Show both in one place and let the person keep one |
| A work account under company rules | Personal and enterprise policy collide | The company's policy sets the ceiling; the person can only narrow it |
| The agent isn't sure the booking went through | Silent half-success | Say so plainly, show what it saw, and never retry a write without asking |
Pick a task, see the permission it should ask for
Choose an errand. The request writes itself from the task, not from everything the app can do. A small script in your browser, invented apps.
What the person sees
What the service sees
Every permission an agent holds, and a way to end it
| Agent | Service | Can do | Ends | Action |
|---|---|---|---|---|
| Personal assistant | Tablebook | Book one table at Lucia's, Fri | When booked | End now |
| Personal assistant | ShopCo | Read orders, last 90 days | In 42 min | End now |
| Travel agent app | Airline | Change seat on one flight | After check-in | End now |
If a person can't list what an agent is allowed to do right now, they don't really control it. This is the screen that answers that in one look, with one tap to end each grant.
A small set of scope words everyone uses
| Scope word | Plain words the person sees | Always asks again? |
|---|---|---|
| read | See | No |
| create(max=n) | Make up to n | No, within the task |
| update(max=n) | Change up to n | No, within the task |
| delete | Remove | Yes, every time |
| pay | Spend money | Yes, every time, with the amount |
| message | Send something to another person | Yes, every time, with the text |
At Netflix, ten ranked categories enforced in code let dozens of teams put words on titles without breaking the page. Scopes need the same thing: a short shared list, translated into plain words the same way everywhere.
What a permission request can say
| We say | We never say |
|---|---|
| "I need to use your Tablebook account for this one booking" | "Grant access to your Tablebook account" |
| What's included, what's not, when it ends | "Read and write permissions" |
| "That permission has now ended" | Nothing, leaving it running |
| The amount and who gets it, before any payment | "May incur charges" |
When a company sets the rules
At work, the company sets the ceiling and the person can only narrow it. The admin view lists which agents are allowed, which scope words they can ever ask for, and the longest a grant can last.
| Policy | Example setting |
|---|---|
| Allowed agents | Company-approved assistant only |
| Scopes allowed | read, create; never pay or message |
| Longest grant | 8 hours |
| Audit | Every grant and action kept for 1 year |
What a third-party service declares
The service publishes its actions once, in the shared vocabulary, with a plain sentence for each. The agent can only ask for what's declared, and the request screen is built from those sentences, so the person reads the developer's words, checked, not a raw scope string.
Four ways to hand an agent access
| Option | Good at | Why not |
|---|---|---|
| Share your password | Works everywhere today | No limits, no expiry, no record |
| A long-lived token for the whole account | Simple for developers | Far broader than any one task |
| Ask before every single action | Very safe | Exhausting; people stop reading and tap yes |
| A grant shaped like the task, with hard stops for money and messages | Safe where it matters, quiet where it doesn't | The one I picked |
Security and ease, side by side
| Choice | Easier | Safer | Where I landed |
|---|---|---|---|
| Grant length | Long | Short | Ends with the task, or the same day |
| How often to ask | Rarely | Every step | Once per task, again only for money, messages and deletes |
| Where the record lives | Nowhere | Everywhere | One receipt both sides can see |
Accessibility
- Requests are short lists, read in order, with the end time last so it's heard.
- Stop is always a real button, reachable by keyboard and voice.
- No timers that expire before assistive tech can reach Allow or Not now.
- Receipts are plain text, easy to copy into a note or a support ticket.
Where this could go wrong
| Risk | What I'd watch |
|---|---|
| People tap Allow without reading | Grant rate vs. "I didn't expect that" reports |
| Developers declare vague actions | Review of declared sentences before they go live |
| Agents split one risky task into many small grants | Patterns of many grants in a short time |
| Receipts nobody reads | Whether undo from the receipt gets used |
How I'd roll this out
- Start with read-only tasks, where mistakes cost nothing.
- Add create and update with a max count once receipts and stops are proven.
- Payments and messages last, always asked every time.
- Publish the vocabulary to developers before the person-facing screens, so the words match on day one.
- Watch grants still alive after their task as the key guardrail.
Designed in words, built by directing Claude Code
I wrote the moments, the scope vocabulary and the copy, then directed Claude Code to build the page and the permission demo. It's the same way I build bre.ai, where my agent lives under these exact kinds of rules every day. How I work with a coding agent.
The details, if you want them
8 working notes behind the concept. Open any one.
What a grant holds
| Field | Example | Why it's there |
|---|---|---|
| Who acts | Your assistant, on this device | People need to know which agent |
| Where | Tablebook | The service, by name |
| What it can do | See tables, book one | Plain verbs, not scope strings |
| Limits | One booking, for 2, Friday | Keeps the errand small |
| Never | Payments, messages | Named so it's clear |
| Ends | When done, or midnight | Every grant ends |
| How to stop | One tap in your permissions list | Always reachable |
A grant, state by state
| State | What the person sees |
|---|---|
| Requested | The request sheet with the errand in one sentence |
| Active | A small chip while the agent works, tap to watch |
| Paused | "Waiting for you" with the one question |
| Done | A wrap-up: what it did, what it didn't, receipt |
| Expired | Moves to history, nothing left open |
| Revoked | Stops right away, with what was finished so far |
When money is involved
- Before a cart is final, the person approves a goal and a budget ("dinner for two, up to $25 deposit").
- When the exact amount is known, they confirm that specific charge, with who gets paid.
- Their own passkey or saved payment confirms it; the agent never holds the card.
- The approval covers one charge and expires right after.
The words on the request sheet
| Part | Words |
|---|---|
| Header | "To do that, I need to use your [service] account for this one [errand]:" |
| Can do | Bulleted plain verbs |
| Won't do | "I won't [pay / message / change your profile] without asking you." |
| Ends | "This ends when [it's done], or [time] at the latest." |
| Buttons | "Allow for this [errand]", "Change the details", "Not now" |
What admins can set
| Setting | Effect on the person |
|---|---|
| Allowed services | Others show "Your organization doesn't allow this" with who to ask |
| Max duration | Grants can't run past it |
| Blocked actions | Never offered, with a reason line |
| Approval required | The request goes to the admin, and the person sees it's pending |
When things go wrong
- The service changes mid-task: stop, keep what's done, ask.
- The grant expires mid-task: finish nothing new, report what's done.
- The person revokes: stop now, show what's finished and what isn't.
- The agent isn't sure the action matches the errand: ask before acting.
Three studies I'd run first
- Say-back test: after allowing, can people say what they allowed and when it ends?
- Revocation test: can people find and stop a grant in under 10 seconds?
- Developer interviews: what scopes and declarations third-party services can realistically provide.
Questions I'd bring to the team
- Which protocols is the team building on, and where do they leave gaps for the person?
- How do enterprise and consumer grants differ today?
- What does a developer have to declare to be agent-ready?
- How do you test whether people understood what they allowed?