DocsGitHubInstall

pal cli infer

Run one inference call on the active agent's model; prompt on stdin

Usage
pal cli infer [options]
OptionWhat it does
--tier <tier>Model size: small, medium, large, flagship (default small)
--system <file>System prompt file
--schema <file>JSON schema file; a reply that doesn't match it fails
--timeout <seconds>Give up after this long (default 60)
--caller <label>Label for PAL's debug log
--webLet the model search and read the web (Claude, Codex, Copilot)
--routePrint the agent, route and model as JSON instead of calling

For scripts and bots: the prompt is read from stdin and the reply printed on stdout. A caller asks for a tier, never a model; the active agent's adapter picks that agent's model for the tier, and an agent without the tier refuses it.

The call loads no PAL hooks or context, and exits 1 with the reason when no route answers.