Getting started: Pi

Pi is a minimal coding harness. Unlike Codex and Claude Code, which are closely tied to OpenAI and Anthropic respectively, Pi is agnostic to model.

Like Claude Code, Pi can use Amazon Bedrock. So if you have already completed Getting started: Claude Code, then you’re most of the way set up to use Pi.

The one thing you should add, for using Bedrock, is to export the PI_USE_BEDROCK environment variable:

export PI_USE_BEDROCK=1

Then run like this:

launch.py pi

On remote systems where Pi has trouble with proxy-driven AWS auth, use exported session credentials:

# local machine
refresh.py --remote your.remote.host

# remote shell
launch.py pi

See Tools Reference for additional launch.py options (extra mounts, certificates, dry-run, etc.) and Setting up AWS STRIDES Single Sign-On for the full SSO setup if you have not already completed it as part of Getting started: Claude Code.