Skip to main content
Pi speaks Chat Completions. Private AI Proxy configures it automatically.

With Private AI Proxy

  1. Install Private AI Proxy, sign in, and turn on Protected.
  2. On the Agents screen, connect Pi.
  3. Start pi.
The app writes the provider into Pi’s settings with an agent-scoped token for its local API, and restores the previous settings when you disconnect or stop Protected. From the CLI, the same connection is:

Without the Proxy

Install the RedPill provider package, then sign in and pick a model inside Pi:
Pi stores the key in ~/.pi/agent/auth.json, the live catalog in ~/.pi/agent/models-store.json, and the saved default in ~/.pi/agent/settings.json. REDPILL_AI_API_KEY supplies the key for one process; Pi does not copy it into its store. This package verifies ACI inside Pi: attestation and every response receipt are checked automatically, and /redpill-attestation, /redpill-receipts, /redpill-receipt, and /redpill-session show the evidence. Its default endpoint is https://tee.redpill.ai/v1.

Check the connection

Run /model in Pi and confirm a redpill/ model is selected. With the provider package, wait for the footer to show aci-verified before sending work.

Troubleshooting

References