# ai/complete Raw single-shot completion. There is no separate registry entry point by this name — build a cfg and use `ai/ask`, or drive the provider protocol directly when you need the parsed response map:
import "deft/stdext/ai/registry" as ai

set cfg [ai/default-cfg]
set reply [await [ai/ask $cfg "prompt"]]     # string reply
For parsed usage/status fields, call the low-level orchestration with an explicit provider singleton and inspect the provider's `extract-usage` / `finish-reason` methods (see manual → AI → Provider Plugins). ## See Also `ai/ask`, `ai/chat`, `ai/models`