Blog Post

Microsoft Developer Community Blog
4 MIN READ

Quest 1 – I Want to Build a Local Gen AI Prototype

Julia_Muiruri's avatar
Julia_Muiruri
Icon for Microsoft rankMicrosoft
Jun 09, 2025

In this quest, you’ll build a local Gen AI app prototype using JavaScript. You’ll explore open-source models via GitHub, test them in a visual playground, and use them in real code — all from the comfort of VS Code with the AI Toolkit. It’s fast, hands-on, and sets you up to build real AI apps, starting with a sketch.

Part of the JS AI Build-a-thon, this quest is where the rubber meets the road.

Whether you're here to explore the raw power of local models or just curious what Generative AI looks like under the hood, this guide is for you.

👉 Want to catch up on the full program or grab more quests? Start here
💬 Got questions or just want to hang with other builders? Join us on Discord — head to the #js-ai-build-a-thon channel.

🧩 What You’ll Build in This Quest

 

In this quest, you’ll build a fully working local Gen AI prototype — no cloud APIs, no credits needed. You’ll explore the GitHub Models catalog, run local inference using an open model, and convert a hand-drawn UI sketch into a working webpage. Along the way, you’ll get hands-on with AI developer tooling built right into Visual Studio Code.

Why this quest matters:

  • You’ll see what’s possible without relying on cloud infra
  • You’ll gain confidence working directly with open-source Gen AI models
  • You’ll build the foundation for real-world experimentation — fast, cheap, and local

🔧 What You’ll Need to Complete the Quest

Before you jump in, here’s your setup checklist:

  • ✅ A GitHub account
  • ✅ Visual Studio Code installed
  • ✅ Node.js installed
  • ✅ The AI Toolkit extension for Visual Studio Code (installation instructions provided in the quest)

That’s it. You’ll be building before your coffee gets cold.

💡 Concepts You’ll Explore (And Why They Matter)

🧠 GitHub Models – Your AI Toolbox

GitHub now includes a built-in model explorer — your personal AI model marketplace. Explore hundreds of public and private models, each with rich metadata:

  • Architecture
  • Publisher
  • Training data
  • Use cases
  • Evaluation metrics
  • Licensing and transparency notes

You can even test prompts in-browser before you ever write code. Think of it as an interactive AI playground for developers.

Screenshot of models hosted on GitHub Models

🧪 Model Playground – No Guesswork, Just Experimentation

Models aren't black boxes anymore. Use the Model Playground to test out responses, tweak parameters like temperature and max tokens, and see what each model is good (or bad) at. Get immediate feedback, iterate quickly, and learn the nuances of Gen AI behavior.

Screenshot of the model playground with Phi-4-mini-reasoning

⚙️ Use Models in Code – Bring AI into Your App

Found a model you like? One click and it’s in your VS Code environment. No config nightmares. Use it directly in your JavaScript app. You’ll use one such model in this quest to turn a simple sketch into a real UI. The build is snappy, fun, and surprisingly powerful.

Preview of the contoso outdoor company website design

✍🏽 GitHub Copilot – Your Pair Programmer

While you're experimenting with models, don’t forget your sidekick. Copilot can help refactor your code, generate test cases, or even give you prompt suggestions for your AI workflows. It’s not just autocomplete — it’s context-aware magic.

Screenshot of working with GitHub Copilot

🧰 AI Toolkit Extension – Your New Secret Weapon

This all-in-one extension turns VS Code into a full-blown AI IDE. Browse models, create and test prompts, fine-tune models, and integrate them right into your apps — all from your editor. You’ll wonder how you ever shipped code without it.

Screenshot of the AI Toolkit extension in VS Code

📚 Bonus Resources to Keep the Momentum Going

Here’s a curated list of follow-up reads and lessons to deepen your knowledge after this quest. Each one is designed to build your skills and spark new ideas:

 

This quest is where your AI development journey truly begins. Just you, your code editor, and an open-source model ready to turn your ideas into something real. So jump in, build locally, and discover just how far JavaScript and AI can take you.

👉 Join the JS AI Build-a-thon
💬 Connect with the community on Discord

 

⏭️ Check out the next quest (Quest 2)

Updated Jun 13, 2025
Version 4.0
No CommentsBe the first to comment