> For the complete documentation index, see [llms.txt](https://docs.avis.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avis.xyz/integrations/ides-and-editors/vs-code-studio.md).

# 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="/files/eogYOVkKAkdfYF3yjlgN" 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.xyz](https://avis.xyz).

### [​](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="/files/Cijp4P2cCu69R4mv23Eh" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
