# Install with an AI agent

An AI coding agent (for example Claude Code or Codex) can do most of the setup. You do only the steps that need a person: passkeys and approvals on the kid Mac.

## The prompt

Open the agent on your Mac, in an empty folder. Paste this prompt, with your values:

```text
Install Guardian, the self-hosted parental control, for my family.
Read https://guardian.opendle.com/llms.txt, then follow the guide pages in order.

- Server: <ssh address of the Linux host>, folder ~/guardian.
- Public address: https://<host name>. My reverse proxy is <Caddy, nginx, Traefik, ...>.
- Time zone: <for example Europe/Paris>.
- LLM: <endpoint and model, or "none">. Ask me for the key. Do not print it.

Run each check of the guide and show me the result.
Stop and tell me exactly what to do when a step needs me.
```

## What the agent does

- Writes `compose.yaml` and `.env` on the server and starts the container.
- Adds the host to your reverse proxy and checks `/healthz` over HTTPS.
- Makes the invite link for the first parent.

## What you do

- Give the LLM key, if you use one.
- Create your passkey from the invite link, and turn on notifications.
- On each kid Mac: run the install command, approve the login item, enter the pairing code, and install the Chrome profile.

## Pages for agents

Each guide page is also available as Markdown at `https://guardian.opendle.com/docs/<page>.md`. The index is at [llms.txt](https://guardian.opendle.com/llms.txt). The same files are in the [`docs/guide`](https://github.com/tubededentifrice/guardian/tree/main/docs/guide) folder of the repository.

