Harness setup

Pi

Pi reads provider overrides from ~/.pi/agent/models.json. If PI_CODING_AGENT_DIR is set, use models.json in that directory instead. Merge the block below into your config, preserving the provider's API key and other headers. Repeat it for each provider you use.