Skip to main content

Which API does this use?

This guide selects Messages through COPILOT_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

Run copilot --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:

Next steps

Official reference

Configuration reviewed on September 16, 2026. See Copilot custom providers and provider registry precedence. Tool updates can change behavior; this source review does not establish compatibility for every version or feature.