> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mspilot.io/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> MSPilot enrolls technician Windows machines so Claude Desktop and ChatGPT run through one governed gateway. Seat words are standard seat and power seat. ConnectWise PSA import is not available. HIPAA is not a self-serve switch.

# Agent

> The Windows program that enrolls a machine and applies your settings.

The agent is a headless Windows program. It enrolls the machine with the gateway and writes the settings for the apps on that user.

The script from **Deployment** can install **Claude Desktop** and **ChatGPT** before it enrolls the machine. The same agent also writes config for Claude Code, Codex, Grok, Gemini, OpenCode, OpenClaw, and Hermes when those apps are already on the machine. The dashboard does not install those other apps.

After a SYSTEM enroll, state is in `%ProgramData%\MSPilot`. After a user enroll, it is in `%USERPROFILE%\.mspilot`. Apps do not read `device.json`. The agent does not print the device token or the enrollment key.

A canonical install schedules its own work. **MSPilot Agent Pull** runs at sign-in and every hour for each signed-in user. **MSPilot Agent Update** runs every hour as SYSTEM. A machine that is still waiting for approval, or for the RMM to report it, finishes enrolling at the next sign-in. You do not schedule a pull job from the dashboard.

Commands are on [Commands](/agent/commands). Installing is on [Install](/agent/install). Building the binary is on [From source](/agent/from-source).
