@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.2.29
Published
Sep 5, 2026
Downloads
2,568/mo · 608/wk
Author
xynogen
License
MIT
Types
extension
Size
56.2 KB
Dependencies
3 dependencies · 2 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.
  • Single-select (no preview) → appends a "Type something." free-form row.
  • Single-select with preview → skips the free-form row to fit the side-by-side layout.
  • Multi-select → appends a "Next" row to advance.
  • 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), so a herdr pane pings an away user when a question waits.

Install

pi install npm:@xynogen/pix-ask

Also included in @xynogen/pix-core:

pi install npm:@xynogen/pix-core

Full distro

Source: github.com/xynogen/pix-mono

To install the complete pix suite (all packages + Pi itself):

curl -fsSL https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.sh | sh

License

MIT