Skip to content
Latest (currently 2026.10.2) has the newest features, bug fixes, and CVE patches of Solo Enterprise for agentgateway.

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

VS Code Continue

Page as Markdown

Configure VS Code Continue to use agentgateway running in Kubernetes

Configure Continue, the open-source AI code assistant for VS Code, to use agentgateway deployed in Kubernetes.

Before you begin

  1. Set up an agentgateway proxy.
  2. Set up access to the OpenAI LLM provider.
3. Install the Continue extension in VS Code.

Get the gateway URL

Tip

Kind cluster? Kind does not support LoadBalancer services by default. To use this option with a Kind cluster, install and run cloud-provider-kind.

The following command reads the LoadBalancer IP address or hostname, whichever your cloud provider assigns.

export INGRESS_GW_ADDRESS=$(kubectl get svc -n agentgateway-system agentgateway-proxy \
  -o jsonpath="{.status.loadBalancer.ingress[0]['hostname','ip']}")

echo "Gateway address: $INGRESS_GW_ADDRESS"

After port-forwarding, the gateway is accessible at http://localhost:8080. Use localhost:8080 wherever the instructions reference $INGRESS_GW_ADDRESS.

kubectl port-forward -n agentgateway-system svc/agentgateway-proxy 8080:80

Configure Continue

  1. Edit the ~/.continue/config.yaml file to add your agentgateway endpoint. If the file already has a models list, add the model to that list.
  2. Replace <INGRESS_GW_ADDRESS> with your gateway address. Keep the /v1 path. This base URL needs the route from the OpenAI v1/chat/completions tab of the OpenAI provider guide, which forwards every path to the backend. The Custom route tab rewrites every request to /v1/chat/completions, so it does not work with clients that add their own path, such as /chat/completions.
name: agentgateway
version: 0.0.1
schema: v1
models:
  - name: agentgateway (Kubernetes)
    provider: openai
    model: gpt-4o-mini
    apiBase: http://<INGRESS_GW_ADDRESS>/v1
    apiKey: anything

Review the following table to understand this configuration.

FieldDescription
nameAt the top level, a name for the configuration. In the models list, the display name shown in the Continue model selector.
version, schemaRequired by the Continue config.yaml format. Keep schema: v1.
providerSet to openai for any OpenAI-compatible endpoint.
modelThe model name from your agentgateway backend configuration.
apiBaseYour gateway address with the /v1 path. Continue adds /chat/completions to it.
apiKeyA placeholder value if agentgateway has no authentication, or your gateway API key.

Verify the connection

  1. Open the Continue sidebar in VS Code (Cmd + L on macOS, Ctrl + L on Windows/Linux).
  2. Select agentgateway (Kubernetes) from the model dropdown.
  3. Send a test message to confirm the connection.