@earendil-works/pi-coding-agent CLI) configures models through a JSON file
and can talk to a Valkyrie deployment over either the OpenAI-compatible or the
Anthropic-compatible API.
Install
Configure a provider
Add Valkyrie to~/.pi/agent/models.json:
OpenAI or Anthropic
Pi picks the protocol from theapi field:
"api": "openai-completions"uses the OpenAI-compatible route (baseUrlends in/v1)."api": "anthropic-messages"uses the Anthropic-compatible route (setbaseUrlto the deployment base without/v1; Pi appends/v1/messages).
$VALKYRIE_API_KEY reads the key from your environment. Use your deployment slug
(deployment-{id}) or an alias in the URL, and set the model id
to what your deployment serves (for the shared Qwen deployment that’s
RadixArk/Qwen3.8-27B-NVFP4 with baseUrl https://valkyrie-back.azumo.com/qwen/v1).