@xynogen/pix-ask

Pi tool — structured questionnaire UI (ask_user)

Packages

Package details

extension

Install @xynogen/pix-ask from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@xynogen/pix-ask
Package
@xynogen/pix-ask
Version
0.3.8
Published
Nov 4, 2026
Downloads
1,619/mo · 714/wk
Author
xynogen
License
MIT
Types
extension
Size
57.5 KB
Dependencies
2 dependencies · 4 peers
Pi manifest JSON
{
  "extensions": [
    "src/index.ts"
  ]
}

Security note

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

README

pix-ask

Pi tool — structured questionnaire UI (ask_user).

What it does

Registers the ask_user tool — up to 4 structured multiple-choice questions in a TUI dialog when the agent needs to resolve ambiguous requirements, instead of guessing.

  • Each question: 2–4 options with labels + descriptions. Supports multi-select and markdown side-by-side previews.
  • Every question appends a "Type something." free-form row, so the user can reject all options.
  • Multi-select → also appends a "Confirm" row to commit the checked options.
  • Non-interactive (RPC/JSON) mode falls back to text prompts.

Away notifications — while the dialog is open, ask_user holds the shared agent-state coordinator blocked (via withAgentBlock from @xynogen/pix-runtime). @xynogen/pix-notify uses that state to play a sound when a question waits.

Install

pi install npm:@xynogen/pix-ask

Bundled in @xynogen/pix-core. Install it alone only if you do not use pix-core.

Full distro

This package is part of Pix. The installer sets up Pi and the full distro. See Install for the notes for each OS.

# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.sh | sh
# Windows
irm https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.ps1 | iex

License

MIT