How do I give an AI agent its own login and a time limit?
Help me fill in an agent card for an AI agent my team uses. Ask me one question at a time: what the agent does, which tools it connects to, what it reads and what it changes in each tool, whose login or token it uses now, how often it runs and when it stops, who checks its work and how often, and who can turn it off. Then give me the finished card as a table with these rows: what it does, tools it reads, tools it changes, its account or token, where the credentials live, run limit, who checks the work and when, who can shut it off, shutdown steps, shutdown last tested. Flag any row I left blank or answered with a team name instead of a person, and any change access the agent doesn't seem to need.
Give each AI agent its own account, the smallest set of permissions its task needs, a limit on how much it can do before a person checks it, and a named person who can turn it off.
An AI agent is an AI tool that takes actions for you, like updating records, sending messages, or moving files, instead of only answering questions. This guide is for founders and ops leads at small companies without a security team, who are running or testing an agent inside a tool like a CRM (customer relationship manager, such as HubSpot), a shared drive, email, or Slack.
Large companies are starting to treat agents this way. On November 23, 2026, Reuters reported that several US banks now give their own agents separate credentials, limited access, a cap on how long they can run, and a plan for disconnecting them (Reuters via BNN Bloomberg). The steps below are the same idea at a size a 40-person company can manage.
Before you start, you need admin access to each tool the agent connects to, or someone who has it. Some tools charge for an extra user seat, so check that before you create one.
1. List what the agent touches
Write down every tool the agent connects to and what it does in each one. Be literal. “Reads new contacts in HubSpot” is useful. “Helps with sales” is not.
For each tool, mark whether the agent only needs to read or also needs to change things (create, edit, delete, send). If the agent has change access it never uses, this list is where you’ll spot it.
2. Give the agent its own account
Many agents run on the login of whoever set them up. That means the agent can open everything that person can, and the activity log credits the person for everything the agent did. If you later need to stop the agent, you’d have to lock the person out too.
Fix it one of two ways, depending on the tool:
- Create a separate user with a plain name like
agent-crm-cleanup, for tools where the agent works through the regular screens. - Issue a dedicated API token for tools the agent reaches through an integration. An API token is a long, password-like key that one program uses to sign in to another. Pick a kind that lets you set permissions and an expiration date. GitHub’s fine-grained tokens, for example, can be limited to specific repositories and set to expire.
Keep the agent’s credentials in your team’s password manager, filed under the person who owns the agent. Don’t paste them into a chat thread or a shared doc.
3. Give it only the access the task needs
Use your list from step 1. If the agent only reads, give it read-only access. If it changes records, limit that to the kinds of records it works on. An agent that tags new leads doesn’t need permission to delete companies.
When a tool won’t let you narrow permissions that far, write that down. It tells you where a person should review the agent’s work more often.
4. Set a run limit and a human check
The run limit answers one question: how much can the agent do before someone looks at its work? Set it in whatever unit your tool offers, such as minutes per run, steps per run, records per run, or a spending cap. If the tool has no such setting, run the agent on a schedule instead of leaving it on all the time.
Then pick the person who checks the work, and when. Start tight. In the first week, review every run. Once the output holds up, move to a daily or weekly check, and write the new schedule down so the team knows the change was on purpose.
5. Name who shuts it off, and write down how
Pick one person who can stop the agent, plus a backup for when they’re out. Use names. When a team owns the job, everyone assumes someone else will do it.
Write the shutdown steps where both of them can find them:
- Pause or cancel the agent’s scheduled runs.
- Turn off the agent’s account or revoke its token. Because the agent has its own (step 2), nobody else gets locked out.
- Check what the agent left running, such as scheduled jobs, webhooks (automatic messages one tool sends another when something happens), queued emails, or drafts, and turn those off too.
Run through the steps once before the agent goes live, so you know they work.
A worked example in HubSpot
This example is made up, so swap in your own tools and numbers.
A RevOps lead wants an agent that finds duplicate contacts in HubSpot and suggests merges. It has been running on her own login.
Her list from step 1 has one tool and two jobs. The agent reads contacts and writes a note on each pair it thinks is a duplicate. It doesn’t need to merge or delete anything, because a person approves the merges.
She creates a dedicated integration for the agent with access to contacts and notes only, and stores its token in the team password manager under her name. The agent runs every weekday at 7am and stops after flagging 50 pairs. She reviews the flagged pairs every morning for the first week, then moves to Mondays and Thursdays. She can shut it off, and her ops manager is the backup. The shutdown steps are to pause the schedule, revoke the token, and delete any flags that haven’t been reviewed yet.
If the agent starts flagging pairs that aren’t duplicates, the damage is a few wrong notes, because it never had permission to merge.
Agent card to copy
Fill in one card per agent and keep it where the owner and the backup can find it. The prompt at the top of this page walks you through it with an AI tool.
| Field | Your agent | Example |
|---|---|---|
| What it does | Flags likely duplicate contacts for review | |
| Tools it reads | HubSpot contacts | |
| Tools it changes | HubSpot notes only | |
| Its account or token | Dedicated integration token | |
| Where the credentials live | Team password manager, under the owner | |
| Run limit | Weekdays at 7am, 50 pairs per run | |
| Who checks the work, and when | Owner, daily for week 1, then twice a week | |
| Who can shut it off | Owner, with the ops manager as backup | |
| Shutdown steps | Pause schedule, revoke token, clear unreviewed flags | |
| Shutdown last tested | Before launch |
Sources
- Some U.S. banks tighten AI-agent controls on concern about models escaping safeguards, Reuters via BNN Bloomberg, November 23, 2026
- Managing your personal access tokens, GitHub Docs
Free to use and share. Have a better version? Send it in — this library is community-built.