@ravshansbox/pi-multi-codex

Multi-account OpenAI Codex routing extension for pi

Packages

Package details

extension

Install @ravshansbox/pi-multi-codex from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@ravshansbox/pi-multi-codex
Package
@ravshansbox/pi-multi-codex
Version
2.0.1
Published
Oct 16, 2026
Downloads
290/mo · 290/wk
Author
ravshansbox
License
MIT
Types
extension
Size
28 KB
Dependencies
1 dependency · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-multi-codex

Multi-account OpenAI Codex routing extension for pi.

Install

pi install npm:@ravshansbox/pi-multi-codex

Usage

Pi loads the extension from ./index.ts. Run /multi-codex in the TUI to add Codex accounts, switch between them, or remove old ones.

For example, if the active Codex account hits a usage limit during a session, the extension can switch to another saved account and resend the latest user message as a follow-up.

Development

npm install
npm run check