Skip to content

agentic.ask

Page status: scaffold Source state: generated Applies to: Shepherd v1.0-dev Owner: @docs-system-owner (TBD) Validation: scripts/gen_shepherd_api_inventory.py --check

This is reference — exact, generated facts. The mental model lives in concepts; recipes live in guides.

Pre-rename surface

Generated from the internal agentic facade; names and paths change at the Shepherd rename.

function

ask async

ask(effect: Ask[R]) -> R

Perform an Ask effect and await its response.

The nearest dynamically installed handler wins. This tranche supports pure-response handlers only; supervisor/resumption handlers are reserved for the later continuation runtime.

See also