I use an AI assistant every day. It drafts posts on this site, keeps my notes in order, and reads my calendar and to-do lists. That’s real access to real systems. So before I gave it any, I wrote it a job description, the same way I would for a new hire or a service accountservice account An identity used by software rather than a person. It needs an owner, the narrowest possible permissions and a regular review. at work.
Here’s what that looks like, and what it taught me about identities that aren’t people.
The job description
This is the short version I’d hand to anyone reviewing its access:
- Purpose: help me think, write and keep track of things. Support, not replace.
- Reports to: me. I make every decision that can’t be quietly undone.
- May: draft and edit posts and pages, fix small errors in live ones, upload images, read my calendar and mail, add and update tasks and calendar entries it created.
- May, with my approval for that specific item: publish a post or page; delete an unused image it uploaded itself.
- May never: send email, delete posts or tasks, change site settings, install anything, add raw scripts to a page, or manage users.
- Must: log every change it makes, ask when unsure, and tell me plainly when it can’t do something.
- Credentials: its own, never mine, revocable in minutes.
Each line maps to something enforced by a system, not just a promise. The rest of this post is how.
Rule 1: its own identity, never mine
The assistant never signs in as me. On this site it has its own WordPress account, its own application passwordapplication password A separate password WordPress issues for a tool or script, which can be revoked on its own without touching your main login. and its own service credential at the edge. In Microsoft 365 it goes through an app registrationapp registration An application's identity in Microsoft Entra ID: what it's called, who can sign in to it, and exactly which permissions it may ask for. I created, with permissions I picked one by one. If something goes wrong, the logs say exactly who did it, and I can revoke the assistant without touching my own access.
Shared credentials are how small mistakes become big incidents. A separate identity costs ten minutes and buys you accountability and a clean kill switch.
Rule 2: a role cut to the job
WordPress comes with roles like Editor and Administrator. None of them fit, so the assistant has a custom one. It can:
- write and edit drafts, and fix things in published posts
- upload images and set featured images
- publish, but only through a tool that refuses unless I’ve approved that specific item
- delete an image, but only one it uploaded, only if nothing on the site uses it, and only with my approval
It can’t change settings, install anything, add raw scripts to a page, manage users, or delete any post or page. Those aren’t rules it’s asked to follow. They’re capabilities it simply doesn’t have.
That distinction matters more with AI than with people. A language model can be talked into things: by a cleverly worded web page, a poisoned document, or an instruction hidden in an email. You can’t train that out completely, so you design for it. Whatever the model is convinced to try, the permission system decides what actually happens.
I tested that rather than assuming it. When the publishing permission was added, I had the assistant try to publish a draft without my approval flag. The tool refused, and nothing was saved: not the content, not a status change. A control you haven’t tested is a control you hope works.
Rule 3: tools, not open doors
The assistant reaches my systems through MCPMCP Model Context Protocol. An open standard for connecting AI assistants to tools and data through small servers, each exposing only the actions you choose., a standard way to give an AI a fixed set of tools. I write or choose those tools, so each one is a narrow, named action: “save a draft”, “list my tasks”, “read today’s calendar”. There’s no tool for “run any command”, and the Microsoft 365 server only exposes the calls I allowed. It can read mail but not send it. It can add tasks but not delete them.
Rule 4: a human in the loop for anything irreversible
Publishing, sending, deleting: anything that can’t be quietly undone waits for me to say yes, in plain words, for that specific item. The assistant does the work; I make the call. It’s the same principle as change approvalchange management Recording why a change is safe, who approved it and how to roll it back, before it happens. in operations, scaled down to one person.
Rule 5: everything is written down
Every change it makes gets logged: what, when and why. When I come back to a project a week later, I can see exactly what happened, the same way I’d read a change log after a weekend on-call.
Rule 6: offboarding is planned on day one
Joiner-mover-leaverjoiner-mover-leaver The access lifecycle: grant what a new starter needs, adjust it when they change roles, and remove it all when they go. applies to non-humans too, and the leaver step is the one people forget. If I needed to cut the assistant off tonight, it’s a short list, and none of it touches my own accounts:
- Revoke its WordPress application password.
- Revoke its service credential at the edge, so it can’t even reach the site.
- Withdraw consent for its Microsoft 365 app registration and clear the stored sign-in.
Knowing exactly where every credential lives is half the value of giving it separate ones.
What this taught me
Non-human identitiesnon-human identities Service accounts, API tokens, automation, CI pipelines and AI agents: everything that signs in but isn't a person. In many organizations they now outnumber people. are about to outnumber human ones in most organizations, if they don’t already. Service accounts, automation tokens, CI pipelinesCI Continuous integration. Automation that builds and tests every change as soon as it's pushed, so problems surface early. and now AI agents all need the same discipline we apply to people: joiner-mover-leaver, least privilegeleast privilege Give every person, service and tool only the access it needs for its job, and nothing more. When something is compromised, the damage stays small., separation of dutiesseparation of duties Splitting a sensitive task so no single person or system can complete it alone, like one person requesting a change and another approving it. and an owner who reviews them.
The good news is that none of this is new. If you’ve ever scoped a service account properly, you already know how to give an AI a job description. The hard part is remembering to.



