The process of writing software is experiencing a fundamental change. With the rise of sophisticated large language models, AI pair coding, also known as “Vibe Coding,” is becoming more accessible. This approach allows a user’s intent and creativity to work with system intelligence to translate ideas directly into functional programs.
While powerful coding models were once limited to the cloud, many are now available to run locally. This guide will walk you through setting up a local “Vibe Coding” environment on your AMD-powered machine using tools like LM Studio, Cline, and Microsoft VS Code.

Table of Contents:
Why Vibe Code Locally on AMD?
Running your AI coding assistant on your local AMD hardware provides several key advantages:
- Privacy: All processing is done on your device, ensuring sensitive code and data remain private on your machine.
- Cost-Effective: Executing models locally eliminates recurring cloud service costs, allowing for extensive experimentation without usage-based bills.
These benefits make AMD Ryzen™ AI and Radeon™ platforms an excellent foundation for daily vibe coding.
Setup and Installation Guide
Follow these steps to configure your system for local vibe coding.
Step 1: Install AMD Drivers
Ensure your drivers are up to date for the latest llama.cpp support10. Using older drivers may cause models to load incorrectly or perform poorly.
- For most users, install AMD Software: Adrenalin Edition 25.9.1 or higher.
- For commercial customers, download AMD Software: PRO Edition 25.Q3 or higher.
- Users with AMD Radeon™ and Radeon™ PRO graphics cards can skip to Step 3.
Step 2: Configure Graphics Memory (AMD Ryzen™ AI Only)
If you are using an AMD Ryzen™ AI platform, you must set the AMD Variable Graphics Memory (VGM) correctly.
- For most Ryzen™ AI platforms: Right-click on your desktop, navigate to AMD Software: Adrenalin Edition > Performance > Tuning to access the VGM control panel.
- For AMD Ryzen™ AI PRO platforms: Reboot your computer into the BIOS to set the Dedicated Graphics Memory.
Refer to the support matrix below to find the correct VGM setting for your hardware. Once configured, restart your computer.
Step 3: Install Required Software
- Download and install Git for Windows.
- Download and install LM Studio. You can skip the onboarding process.
- Download and install VS Code for Windows.
- Navigate to the Cline Website and install the Cline extension for VS Code.
Step 4: Configure LM Studio
- In LM Studio, go to the search tab (magnifying glass icon). Search for the model recommended for your hardware in the support matrix below. We suggest using “LM Studio Community models” as the vendor.
- Select the model on the left, and then choose the correct quantization from the “Download Options” menu on the right.
- Go to the server tab (command line icon).
- In the drop-down menu at the top, select the model you just downloaded.
- Check “manually select parameters” and then click Load.
- Check “show advanced settings”.
- Set the Context Length according to the value in the product support matrix.
- Important: Check the box for Flash Attention. This is required for high context to load properly.
- Check “remember settings for” and click Load.
- Minimize the LM Studio window, but do not close it.
Step 5: Configure VS Code and Cline
Cline is an open-source AI coding bot for VS Code that can use local models via LM Studio to read/write files and perform autonomous coding tasks.
- After installing Cline in VS Code, select “LM Studio” as the LLM provider.
- In VS Code, click the Cline icon on the right-hand side, then click the settings icon (wheel nut).
- Under Plan Mode and Act Mode, ensure the API configuration is set to the model you downloaded in LM Studio (e.g., Qwen 3 Coder).
- Consult the support matrix below to determine if you should turn on Compact Prompts.
- In the same Cline settings menu, click on “terminal settings” (command line icon) on the left.
- Change the “Default Terminal Profile” to “Git Bash”.
- Click Done to save and close the settings.
Start Vibe Coding
You are now ready to start coding with AI.
- In Cline, start a new “Plan” task. You can use the sample prompt below.
- Once Cline responds with a plan, switch the toggle to “Act” mode to let it begin executing the task.
Sample Prompt:
Design a fully functional, fully complete, webpage for an interactive simulation of a n-body problem that I can run locally. Start by creating a folder called “Nbody Simulation” on my desktop. Make sure all project files are created inside this folder.

Hardware Support and Configuration Matrices
Use these tables to find the correct settings and recommended models for your specific AMD hardware.
| AMD Product | AMD Variable Graphics Memory (VGM) Configuration | Recommended Coding Model and Quantization | Context Length (Flash Attention: ON) | Cline Compact Prompts |
| AMD Ryzen™ AI Max+ series with 128 GB memory | 96 GB Dedicated Graphics | GLM 4.5 Air Q4 K M (4-bit) OR Qwen3-Coder 30B A3B Instruct Q8 (8-bit) (Fast) | 128,000 | OFF |
| AMD Ryzen™ AI Max+ series and Ryzen™ AI 300 series with 64 GB memory | 48 GB Dedicated Graphics | Qwen3 Coder 30B A3B Instruct Q4 K M (4-bit) | 128,000 | OFF |
| AMD Ryzen™ AI Max+ series and Ryzen™ AI 300 series with 32 GB memory | 16 GB Dedicated Graphics | Qwen3 Coder 30B A3B Instruct Q4 K M (4-bit) | 32,000 | ON |