pi-dex

Pi, but with Codex's UI — or at least as far as I can go before forking it.

Package details

extensiontheme

Install pi-dex from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-dex
Package
pi-dex
Version
0.1.2
Published
Mar 7, 2026
Downloads
106/mo · 37/wk
Author
maria_rcks
License
MIT
Types
extension, theme
Size
54.8 KB
Dependencies
0 dependencies · 5 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ],
  "themes": [
    "./themes"
  ]
}

Security note

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

README

pi-dex

License Pi package GitHub

Pi, but with Codex's UI - or at least as far as I can go before forking it.

Install

Use whichever source you prefer:

pi install npm:pi-dex
# or
pi install git:github.com/maria-rcks/pi-dex
# or
pi install /absolute/path/to/pi-dex

For local development only:

pi -e .

What this package does

  • Re-styles Pi with bundled PIDEX dark/light themes.
  • Adds a Codex-inspired top card and footer.
  • Re-renders built-in tools with more compact transcript output.
  • Prefixes user prompts visually in a more Codex-like way.
  • Keeps everything in an extension package instead of a Pi fork.

Commands

  • /pidex - show PIDEX status
  • /pidex-theme dark|light - switch theme variant
  • /pidex-density compact|comfortable - switch layout density
  • /pidex-reset - restore defaults
  • /pidex-doctor - show a quick diagnostic report

Development

bun run fmt
bun run lint
bun run typecheck
bun run pack:dry

Notes

  • This package intentionally targets the extension boundary, so some Codex UI details are approximated rather than replaced at the renderer core.
  • Planning and parity notes live in docs/.

Links