Which API does this use?
This guide selects Messages throughCOPILOT_PROVIDER_TYPE=anthropic. The base URL is https://api.asterwise.dev. The client builds the full endpoint: https://api.asterwise.dev/v1/messages.
The model name chooses AsterCode or AsterWork, not the protocol. Use the base URL in the configuration below, rather than the full endpoint.
Custom provider variables
Runcopilot --version and copilot help providers to confirm your installed CLI supports these variables. This guide is for Copilot CLI; it does not configure the VS Code Copilot extension.
If ~/.copilot/providers.json already declares providers or models, current Copilot versions give that registry precedence over these environment variables. Use the registry instructions from copilot help providers to configure AsterWise there instead; preserve your existing providers.
The example below uses the Anthropic-compatible connection. Open a terminal, replace the API key placeholder with your key, and run: