Title: Lab 6 — Build Your AI Dev Profile
Course: AIINFRA 100: AI Systems & Development Environments > Section: Week 06 — The Developer Toolbox & VS Code as an AI Workstation

🛠️ Lab 6 — Build Your AI Dev Profile (50 pts)

Goal: Set up a personal "AI dev profile" in VS Code from scratch — the same core toolkit (Python extension, Jupyter, GitLens, workspace settings, a notebook, and a local Git repo) you'll reuse in every project for the rest of this course. Steps:

1. Open VS Code and go to the Extensions view (the four-squares icon in the left Activity Bar, or Ctrl+Shift+X / Cmd+Shift+X).
2. Search for and install these three extensions from the Marketplace, one at a time: Python (ms-python.python), Jupyter (ms-toolsai.jupyter), and GitLens (eamodio.gitlens).
3. Create a new, empty folder on your computer named ai-dev-profile, then open it in VS Code (File > Open Folder...).
4. Inside that folder, open the integrated terminal (Ctrl+ ) and create a virtual environment: run python -m venv venv (use python3 instead of python` if you're on macOS/Linux).
5. Use the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and run Python: Select Interpreter to point VS Code at the venv you just created.
6. Create a .vscode folder in your project, and inside it a file named settings.json. Add the following two settings, adjusting the interpreter path to match your OS if needed:

{
  "editor.formatOnSave": true,
  "python.defaultInterpreterPath": "./venv/bin/python"
}

1. Create a new notebook file named hello_env.ipynb. Add one Markdown cell with a short title like "My AI Dev Profile," and one code cell containing:

import sys
print(sys.version)

1. Run both cells (select the venv interpreter as the notebook kernel if prompted) and confirm the code cell prints a Python version number as output.
2. Back in the integrated terminal, initialize version control and make your first commit:

git init
git add .
git commit -m "Initial AI dev profile setup"

1. Open the GitLens view in the Activity Bar and confirm your commit appears in the history/graph view.
2. Take a screenshot showing: (a) the notebook with its output, and (b) the GitLens commit history showing your commit.

Deliverables: Submit your screenshot(s) showing the executed notebook output and the GitLens commit history, plus your .vscode/settings.json file contents (paste as text or upload the file).