> For the complete documentation index, see [llms.txt](https://docs.avis.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avis.net/integrations/ides-and-editors/vs-code-studio.md). Agents can also search and read this documentation through its [MCP server](https://docs.avis.net/~gitbook/mcp).

# VS Code Studio

VS Code includes built-in AI chat through GitHub Copilot Chat. AVIS models can be used directly in the Copilot Chat model picker.

<figure><img src="https://3712251980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd1iOtdhEqFbDy8JzwAnH%2Fuploads%2FagJGuFcCqxgrOzptlq6x%2Fimage.png?alt=media&amp;token=fb5337c5-6dfd-480f-903c-50b6954f1cfb" alt=""><figcaption></figcaption></figure>

### [​](https://docs.ollama.com/integrations/vscode#prerequisites)Prerequisites <a href="#prerequisites" id="prerequisites"></a>

* AVIS v1.0
* [VS Code 1.113+](https://code.visualstudio.com/download)
* [GitHub Copilot Chat extension 0.41.0+](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat)

VS Code requires you to be logged in to use its model selector, even for custom models. This doesn’t require a paid GitHub Copilot account; GitHub Copilot Free will enable model selection for custom models.

### [​](https://docs.ollama.com/integrations/vscode#quick-setup)Quick setup <a href="#quick-setup" id="quick-setup"></a>

```
avis launch vscode
```

Recommended models will be shown after running the command. See the latest models at [ollama.com](https://ollama.com/search?c=tools).Make sure **Local** is selected at the bottom of the Copilot Chat panel to use your Ollama models.

### [​](https://docs.ollama.com/integrations/vscode#run-directly-with-a-model)Run directly with a model <a href="#run-directly-with-a-model" id="run-directly-with-a-model"></a>

```
avis launch vscode --model qwen3.5:cloud
```

Cloud models are also available at [avis.net](https://avis.net).

### [​](https://docs.ollama.com/integrations/vscode#manual-setup)Manual setup <a href="#manual-setup" id="manual-setup"></a>

To configure Ollama manually without `avis launch`:

1. Open the **Copilot Chat** side bar from the top right corner

<figure><img src="https://3712251980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd1iOtdhEqFbDy8JzwAnH%2Fuploads%2FmMTwv9c8cQcUsogNnhcv%2Fimage.png?alt=media&amp;token=6e73c60d-fca0-42d6-ac8b-583f0429993c" alt=""><figcaption></figcaption></figure>

1. Click the **settings gear icon** () to bring up the Language Models window
2. Click **Add Models** and select **Ollama** to load all your Ollama models into VS Code
3. Click the **Unhide** button in the model picker to show your Ollama models<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avis.net/integrations/ides-and-editors/vs-code-studio.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
