@cortexkit/pi-openai-auth
Pi package for CortexKit OpenAI Codex OAuth support. It overrides Pi's built-in `openai-codex` provider with a CortexKit provider extension backed by Pi's OpenAI Codex Responses transport and OAuth primitives.
Package details
Install @cortexkit/pi-openai-auth from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@cortexkit/pi-openai-auth- Package
@cortexkit/pi-openai-auth- Version
0.1.1- Published
- Jun 18, 2026
- Downloads
- 56/mo · 56/wk
- Author
- ismeth
- License
- MIT
- Types
- extension
- Size
- 20.3 KB
- Dependencies
- 0 dependencies · 3 peers
Pi manifest JSON
{
"extensions": [
"./dist/index.js"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@cortexkit/pi-openai-auth
Pi package for CortexKit OpenAI Codex OAuth support. It overrides Pi's built-in openai-codex provider with a CortexKit provider extension backed by Pi's OpenAI Codex Responses transport and OAuth primitives.
The Pi provider catalog includes gpt-5.5, gpt-5.4, gpt-5.4-mini, and gpt-5.3-codex-spark.
This package is part of the CortexKit OpenAI Auth monorepo, which supports both OpenCode (@cortexkit/opencode-openai-auth) and Pi (@cortexkit/pi-openai-auth).
Install
Install with Pi's package manager:
pi install npm:@cortexkit/pi-openai-auth@0.1.0
For an unpinned install:
pi install npm:@cortexkit/pi-openai-auth
To try it for one run without changing Pi settings:
pi -e npm:@cortexkit/pi-openai-auth
Restart Pi after installing, then authenticate through Pi's normal login flow:
/login openai-codex
License
MIT