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

# Pi

> Install RedPill as a native Pi provider with automatic ACI verification.

## Install

```bash theme={null}
pi install npm:pi-provider-redpill
pi
```

## Connect and choose a model

Use Pi's native login and model picker:

```text theme={null}
/login redpill
# enter your RedPill API key

# wait for the footer to show aci-verified
/model
# search for redpill/, choose a model, then press Ctrl+S to save it as the default
```

Pi stores the key in `~/.pi/agent/auth.json`, the live catalog in
`~/.pi/agent/models-store.json`, and the saved default model in
`~/.pi/agent/settings.json`. A model selected without `Ctrl+S` applies only to the current session.

For one process, set `REDPILL_AI_API_KEY` instead. Pi does not copy environment variables into its
credential store.

## Inspect ACI

Attestation and every response receipt are verified automatically. These commands only display or
recheck the local evidence:

| Command                | Result                              |
| ---------------------- | ----------------------------------- |
| `/redpill-settings`    | Provider and verification settings  |
| `/redpill-attestation` | Current attested connection         |
| `/redpill-receipts`    | Recent receipt-bearing exchanges    |
| `/redpill-receipt`     | Verify a retained receipt           |
| `/redpill-session`     | Verify an attested upstream session |

The default verified endpoint is `https://tee.redpill.ai/v1`. Use `REDPILL_BASE_URL` only for a
compatible RedPill deployment.
