pi-agent-ask
v1.2.8
Published
Let your Pi agent ask instead of guessing, keep working, and remember your answers.
Maintainers
Readme
You gave your agent an obscure task. It didn't understand a damn thing.
Instead of blindly following your bullshit, it asks a question.
And it keeps working while you answer.
Install
Install Pi, then:
pi install npm:pi-agent-askOr install directly from GitHub:
pi install git:github.com/alexshpunt/pi-agent-askRemove any other pi-ask installation so only one extension provides ask_user, then reload Pi.
Ask. Keep working. Get the answer.
The agent calls ask_user. You get a form with choices, previews, your own answer, and notes. Not another wall of text to untangle.
With background: true, the agent continues independent work. Your answer arrives between turns, or wakes an idle agent. If there's nothing else it can do, it calls wait_for_answers.
It still has to wait before doing work that depends on your answer. “Keep working” doesn't mean “guess anyway.”
The bundled skill guides the agent to ask when a decision matters. It doesn't force every agent to behave.
Paste a screenshot into your answer
In Type your own, a question note, or an option note, use Pi's image-paste shortcut shown in the form. It is usually Ctrl+V on Linux/macOS and Alt+V on Windows/WSL. Paste several images if needed; Ctrl+Alt+D removes the last image in that editor.
The form shows [1 image], not a graphical preview. Text is optional. The agent receives the image itself, including in background answers and clarification requests. Images stay in session history; Markdown exports embed them as data URIs, which not every viewer can display.
Linux needs a working native clipboard, wl-paste, or xclip. WSL can read screenshots from the Windows clipboard through PowerShell. File-path attachments and remote-client image uploads are not included.
Your answers aren't disposable
The agent can look up earlier questions and answers, then export them as a Markdown artifact for your task:
list_ask_historyfinds past questions.read_ask_historyreads the question, choices, answer, and notes.export_ask_historyexports all or selected records.
The journal survives compaction, reload, and resume. It follows the current session branch, not every conversation you've ever had. Unfinished forms can recover too.
The boring bits
Use /ask-settings, or press ? in a form. See configuration, tool behavior, and integration events.
This fork of eko24ive/pi-ask adds background questions, waiting, durable history/export, external UI support, and Herdr status. It drops chat question extraction and manual answer/replay commands. The agent asks directly; the form needs no extra model call.
Herdr support includes maudelv's work; the skill was inspired by edlsh/pi-ask-user.
Found a weird case? Open an issue. Got an idea? Start a discussion. Contributions welcome. MIT.
