AI is all the rage, if I dont learn how to do prompt engineering, somebody who can will replace me in the future.
This post covers an alternative way to get powerful AI features in VS Code and is based on tutorial from Code With Nathan, thanks for the great content Nathan!
Setup - Tools & Extensions
- Download and install LLM Manager Ollama
- Install models with these commands
1 | ollama pull deepseek-r1:7b ~ chat mode |
- Download and install IDE VS Code
- Then install these extensions Extensions
Agent Mode (Cline extension)
These steps will provide Agent mode
in VS Code:
- Install extension Cline
- Sign up for an account using Google or Github, this will provide some free
Cline
credits but we will instead use Openrouter - Create a https://openrouter.ai/ account
- Create an API key (top right), I called mine
Cline VS Code
, copy the key - Back in VS Code -> Cline -> Settings -> Provider ->
OpenRouter
-> Model typedeepseek/deepseek-r1:free
Chat & Code Completion (Continue extension)
These steps will provide Chat & Code Completion modes
in VS Code:
- Install extension Continue - open-source AI code assistant
- Click
Continue
extension on the left -> Configure your own models -> Local -> Skip and configure locally - Use the config below
1 | name: Local Assistant |