Search for a command to run...
Add AI to Visual Studio Code with GitHub Copilot, Cline, Roo Code and Continue, install them from the command line and configure them for a team.
You do not have to switch editors to get an AI assistant. The VS Code extension marketplace has everything from inline completion to fully autonomous agents.
Cline and Roo Code both take over the agent panel, and Copilot's own agent mode conflicts with them. Pick one agent, keep the others for completion only.
# GitHub Copilot — inline completion and chat
code --install-extension GitHub.copilot
code --install-extension GitHub.copilot-chat
# Cline — an autonomous agent that edits files and runs commands
code --install-extension saoudrizwan.claude-dev
# Roo Code — the community fork of Cline with extra modes
code --install-extension RooVeterinaryInc.roo-cline
# Continue — an open-source assistant and agent
code --install-extension Continue.continue
# List what is installed
code --list-extensions| Extension | Model | Best for |
|---|---|---|
| GitHub Copilot | GitHub's own | Inline completion, chat, and an agent mode inside VS Code |
| Cline | Bring your own key | A fully autonomous agent that plans, edits and runs commands |
| Roo Code | Bring your own key | The same, with extra modes and a smaller footprint |
| Continue | Bring your own key | Open-source, configurable, works with local models |
# Sign in
code --install-extension GitHub.copilotSign in from the Accounts icon in the activity bar, or with the GitHub CLI:
gh auth login// .vscode/settings.json — repository level defaults
{
"github.copilot.chat.codeGeneration.useInstructionFiles": true
}Put your repository instructions in .github/copilot-instructions.md and commit them.
Both agents work the same way: you pick a model provider, paste an API key, and describe the task. They read the project, propose edits and run commands in a terminal.
// .vscode/settings.json — keep the agent out of sensitive paths
{
"cline.deniedCommands": ["rm -rf", "git push --force"],
"cline.customInstructions": "Run `npm test` before you say a change is done."
}Run the agent inside a dev container so a stray command cannot touch your machine. Review every diff — the agent can run commands with your permissions.
Continue is fully open source and works with any provider, including local models:
# ~/.continue/config.yaml
name: My Assistant
version: 1.0.0
schema: v1
models:
- name: Claude Sonnet
provider: anthropic
model: claude-sonnet-4-5
apiKey: $ANTHROPIC_API_KEY
- name: Llama (local)
provider: ollama
model: llama3.1
apiBase: http://localhost:11434/v1# The models tab in the sidebar
code --install-extension Continue.continue.github/copilot-instructions.md or
.continue/rules — so the team gets the same behaviour.settings.json that
you commit..gitignore — agents create scratch files.Install the open-source OpenCode terminal agent with the install script, npm or Homebrew, connect a model provider and bootstrap the project with an AGENTS.md file.
Install and configure Docker, Kubernetes, Helm, Istio, Minikube and OpenShift with step-by-step guides, production-ready configuration examples and troubleshooting tips.