What if an AI agent could plan your project, create the files, write the code and help you fix bugs, all inside VS Code?
In this tutorial I install Cline, a free and open-source AI coding agent for Visual Studio Code, connect it to Google Gemini with an API key from Google AI Studio, and give it a real project: a To-Do List web app in HTML, CSS and vanilla JavaScript. Then I test the app in the browser and use Cline to investigate and fix problems.
Everything in this video is real: a fresh VS Code, the real Cline extension, and an app Cline actually built.
🔗 Links
Cline (official): https://cline.bot
Google AI Studio (API keys): https://aistudio.google.com
⏱️ Chapters
0:00 Let AI build something real
0:38 Step 1: Install Cline
1:24 Step 2: Connect your AI model (Google Gemini)
2:30 Step 3: Create a project for the AI
3:08 Step 4: Let Cline plan before it builds
4:17 Step 5: Test the app in your browser
5:02 Step 6: Fix problems with the AI agent
5:52 Is Cline worth trying?
📝 The prompt I used
Build a clean, modern To-Do List web app using HTML, CSS, and vanilla JavaScript. Create separate index.html, style.css, and script.js files. The app should let users add tasks, mark tasks as completed, and delete tasks. Save tasks in localStorage so they remain after refreshing the page. Make the design responsive, add helpful empty-state text, and explain how to run the app. Before making changes, inspect the workspace and tell me your plan.
⚠️ Good to know
• Cline itself is free and open source, but the AI model you connect may have usage limits or costs.
• While making this video I hit the Gemini free tier's daily request limit (20 requests per day for that model) and finished the build with gemini-3.5-flash-lite. Check Google's current limits before bigger projects.
• Never share your API key in a video, upload it to GitHub, or put it in a project file other people can access.
• AI can make mistakes. Review every change and test the result before you trust it.
If this helped, subscribe for more practical tutorials on free and useful AI tools for developers.
#Cline #VSCode #AICoding #GoogleGemini #AIAgent #WebDevelopment #javascript