An AI agent that works on an SD project needs a place to work and a limit on what it can reach. Prompts, tool scopes and promises inside the agent's own software protect against mistakes and against instructions hidden in the data it reads. They do not stop an agent that can run as the Windows user who owns the installation: it can read the kept copy of the account password, open an interactive sd-solo as you and do whatever you can. What decides how far an agent can reach is who it runs as and whether the two OS switches are on.
The agent is never you. Do not give it your passwords, your Windows password or a window that is already signed in.
Why not a second Windows user#
SD Core Solo for Windows has one account, sduser, and its two OS switches belong to that account alone (The account and its passwords). There is no second account to make for an agent and nothing inside the account that scopes it: whoever has the account password has all of it, less what the two switches withhold. Only one SD can run on a computer: its API and ssh ports, 4249 and 4251, are fixed and machine-wide, so a second Solo for another Windows user on the same computer is not an option.
The two OS switches#
The shell and OS access are two switches, sh and os, both off as delivered (Operating system access). With them off, sh, os.execute, the embedded Python, the editors that run outside SD and a path outside the account are refused to a session that has not typed admin. Switched on, they run with the rights of your Windows user, and then they are not a wall: what an agent's installation can reach is what its Windows user can reach. The switches are the administrator's to turn on or off (set.os.access), and the installer asks about them once.
Two shapes#
The full recipe is sdb_ai\sd64\agent-pack\recipe\agent-account.md in the SD Core Solo for Windows source, with a template for the project's CLAUDE.md and a Claude Code skill that carries the SD knowledge (see the page SD and AI Agents in the User documentation). The installer puts only the guide and the knowledge pack of the installed version under %USERPROFILE%\SDCoreSolo\sdsys\agent-pack; the recipe, the template and the skill are not installed with the product: take them from the source of the version you run.
Shape 1: the agent is a client of your installation, with both switches off. It gets the account and nothing outside it: it cannot run a Windows command, read or write a file outside the account's folder, or change the VOC. It can read, change and delete everything the account holds, including your production data, so use it only where the agent may touch that data.
- Check the switches are off. Type
admin, thenset.os.accesswith no argument: it saysAccount sduser has SH no, OS.EXECUTE no. If it does not,set.os.access sh offandset.os.access os offput it right, and the next sign-in sees it. - Give it a way in that is not your Windows sign-in. Over ssh, give it a key, never your Windows password: add the agent's public key as one line of Solo's own key file,
%USERPROFILE%\SDCoreSolo\ssh\authorized_keys(ssh access); it signs in on port 4251 with the key and types the account password at the SD prompt, and the sign-in runssd-solo, never a shell. Or the API on port 4249 (API access), which takes the account password. The agent runs on another computer, as a client. - Give it the account password and nothing else, never the administrator password, the global password or your Windows password. Change the account password when the work ends (
set.password). - Prove the walls before you trust them. As the agent, try what the guide says is refused:
sh,os.execute, a path outside the account,config, acopyinto the VOC,catalog ... global. Each must be refused in the words the guide quotes. If one succeeds, a switch is on that you did not mean to turn on. - Keep the hand-over human. The agent proposes; a person reads the program and puts it where it belongs.
- Take it back: delete the agent's line from the key file and change the account password.
Shape 2: the agent has a computer of its own. Use it when the agent needs the shell or OS access, or must not see your account. The wall is the operating system, and the computer holds nothing you want to keep from the agent.
- Get the computer. A separate machine, or a virtual machine with its own network address. Not a second Windows user on yours.
- Install Solo there under a Windows user of its own, with the Solo installer (Installing), choosing new account and administrator passwords, and ticking the shell or OS access only for what the project needs.
- Give it a workspace with copies of what it needs to read. Do not copy your real data there.
- Give it a way in: the agent runs
sd-soloon that computer as the installation's Windows user, with its input piped (the first line is the account password, Running SD), or it comes in over ssh to port 4251 as in shape 1. - Prove the walls, as above; with a switch on, the matching probe is allowed, and that is what you chose.
- Take it back by switching off or deleting the machine or virtual machine.
What this does not give you#
There are no scopes inside the account: the agent can read, change and delete everything in sduser, and with a switch on everything its Windows user can reach, which is why your data is somewhere else or behind shape 2. A switch turned on later takes the refusal away from then on. The audit trail names what the agent did, not what it saw. The MCP door (The MCP door) is another way in, off as delivered, run by an MCP client on this computer; this recipe does not use it, and the project-scope .mcp.json example in the source is the shape of a remote door that is not built, not something to use: Solo's own ssh server runs sd-solo for every sign-in and discards the command the client asked for. And no setting protects you from a prompt that persuades the agent to ask you for more: the answer to a request for the administrator password, or for a switch, is yours, and the safe default is no.
See also#
Operating system access · Security · The MCP door · and, in the User set, the page SD and AI Agents.