# How to give an AI agent limited access to your computer: a checklist Start the agent read-only and switch on writing, running commands or the screen one at a time, only for the agent that needs it. Give it a token that expires, from 5 minutes to 90 days. Keep a pause you can use for the whole computer. Read the computer's own record of what the agent called. And know the limit: an agent that can run commands acts with your user's rights. Facts read: 2026-11-25 ## 1. Start read-only [Section on website](https://cmdop.ai/academy/lessons/limited-access-checklist#read-only-title) A new agent can only read. Writing files, running commands and the screen are switched on by hand on your page, one at a time and for that one agent. Switch on only what today's task needs. - [Choose what an agent may do](https://docs.cmdop.ai/guides/access) ## 2. Give the token an end date [Section on website](https://cmdop.ai/academy/lessons/limited-access-checklist#token-title) An agent token can last from 5 minutes to 90 days. Pick the shortest that fits the work; you can extend it later, or revoke it. The owner token never opens the MCP server, so an agent never holds it. - [Tokens](https://docs.cmdop.ai/concepts/tokens) ## 3. Know what revoking does [Section on website](https://cmdop.ai/academy/lessons/limited-access-checklist#revoke-title) Revoking an agent cuts it off from its next call. A task it already started keeps running: stop that task by its id, or pause the computer. - [Revoke an agent](https://docs.cmdop.ai/guides/access/revoke) - [Cut an agent off](https://docs.cmdop.ai/guides/use-cases/cut-off) ## 4. Keep the pause in reach [Section on website](https://cmdop.ai/academy/lessons/limited-access-checklist#pause-title) Pausing a computer from your page stops every tool call on it and its running tasks, for every agent. Only a person at that computer can resume it. - [Pause and presence](https://docs.cmdop.ai/guides/pause-and-presence) ## 5. Leave the key folders closed [Section on website](https://cmdop.ai/academy/lessons/limited-access-checklist#key-folders-title) The file tools refuse folders that hold keys, such as `~/.ssh`, `~/.kube` and `~/.netrc`, unless the computer's own limit opens them. This holds for the file tools only: an agent that can run commands is not held to folders. - [Files](https://docs.cmdop.ai/guides/files) ## 6. Treat the screen as three switches [Section on website](https://cmdop.ai/academy/lessons/limited-access-checklist#screen-title) Screen tools work on macOS and on Linux with X11, and only when all three are on: the agent's grant, the computer's own limit, and the system's permission. - [The screen](https://docs.cmdop.ai/guides/screen) ## 7. Read the record [Section on website](https://cmdop.ai/academy/lessons/limited-access-checklist#record-title) The computer keeps its own record of the calls agents made, with their arguments, for 30 days or 500 MiB. The server keeps only a fingerprint of each call's arguments, not the arguments. - [The record of calls](https://docs.cmdop.ai/concepts/audit-and-history) - [See what an agent did](https://docs.cmdop.ai/guides/use-cases/what-did-it-do) ## 8. Open no ports [Section on website](https://cmdop.ai/academy/lessons/limited-access-checklist#no-ports-title) The computer connects outward on its own. You open no inbound port on it or on your router. ## What this checklist does not do [Section on website](https://cmdop.ai/academy/lessons/limited-access-checklist#limits-title) - It does not make an agent harmless. Once running commands is on, the agent acts with your user's rights on that computer. - It narrows what an agent can reach and gives you a way to stop it; what you switch on is still your call. - macOS and Linux only. Windows is not supported yet. - [The security model](https://docs.cmdop.ai/concepts/security-model) - [Feature status](https://docs.cmdop.ai/help/feature-status) ## Related materials - [Cut off an AI agent](https://cmdop.ai/academy/lessons/cut-off-an-ai-agent.md) - [Run terminal commands on your Mac from ChatGPT](https://cmdop.ai/academy/lessons/chatgpt-run-terminal-commands-mac.md) - [AI task after closing the chat](https://cmdop.ai/academy/lessons/task-after-closing-chat.md) [All materials in this path](https://cmdop.ai/academy/paths/control-access.md)