Lab 01: Development Environment Setup
Beginner
Due: 2026-03-10
Objectives
Section titled “Objectives”- Install AI coding CLI tools and configure API keys
- Successfully connect to the DGX H100 server via SSH
- Understand the GitHub repository fork and PR workflow
Prerequisites
Section titled “Prerequisites”- GitHub account
- Terminal (macOS/Linux) or WSL (Windows) available
Lab Steps
Section titled “Lab Steps”-
Verify Node.js Installation
Terminal window node --version # v20.x.x or higherpnpm --version # 10.x.x or higherIf Node.js is not installed, get it from nodejs.org.
-
Install AI Coding CLI Tools
Terminal window pnpm add -g @anthropic-ai/claude-codeclaude --versionTerminal window pnpm add -g @google/gemini-cligemini --versionTerminal window pnpm add -g @openai/codexcodex --versionTerminal window brew install opencode -
Configure API Keys
Obtain an API key from console.anthropic.com, then:
Terminal window # Add to ~/.bashrc or ~/.zshrcexport ANTHROPIC_API_KEY="sk-ant-..."source ~/.bashrcObtain an API key from aistudio.google.com, then:
Terminal window export GEMINI_API_KEY="..."# Or authenticate via browser OAuth on first runObtain an API key from platform.openai.com, then:
Terminal window export OPENAI_API_KEY="sk-..."Terminal window # Configure based on your chosen model providerexport OPENAI_API_KEY="sk-..." # When using OpenAI models -
First Run Test
Terminal window mkdir ~/hello-agent && cd ~/hello-agentclaude "Create a Python file that prints 'Hello, AI Engineering 2026!'"python hello.pyTerminal window mkdir ~/hello-agent && cd ~/hello-agentgemini# In interactive mode: "Create a Python file that prints 'Hello, AI Engineering 2026!'"Terminal window mkdir ~/hello-agent && cd ~/hello-agentcodex "Create a Python file that prints 'Hello, AI Engineering 2026!'"python hello.pyTerminal window mkdir ~/hello-agent && cd ~/hello-agentopencode# In TUI: "Create a Python file that prints 'Hello, AI Engineering 2026!'" -
Observation Task: Record AI’s Autonomous Decisions
Open the code the AI generated and observe the following:
- What did the AI decide on its own? (filename, function structure, variable names, comment language, etc.)
- Distinguish between what you explicitly instructed and what the AI decided autonomously, and record both.
- How does this observation connect to the Week 1 concept of “AI Model vs. AI System”?
# Observation Log (write in observations.md)## What I instructed- "A file that prints 'Hello, AI Engineering 2026!'"## What the AI decided autonomously- Filename: ???- Variable/function names: ???- Code structure: ???- Comment language: ???- Other: ??? -
Connect to the DGX Server
Terminal window ssh [student-id]@dgx.chu.ac.kr# Initial password: student IDpasswd # Change immediately!~/.ssh/config Host dgxHostName dgx.chu.ac.krUser [student-id]IdentityFile ~/.ssh/id_ed25519 -
Fork and Clone the Repository
Terminal window # After forking on GitHubgit clone https://github.com/[YOUR_USERNAME]/ai-systems-2026.gitcd ai-systems-2026pnpm installpnpm run dev # Check the local site
Deliverables
Section titled “Deliverables”Submit a PR with the following files in assignments/lab-01/[student-id]/:
-
README.md— Installation process and troubleshooting notes + AI system analysis report (300 characters minimum) -
hello.py— Python file generated by an AI coding CLI -
observations.md— Record of AI’s autonomous decisions -
screenshots/— Screenshots of completed installation and DGX connection (2 or more)
Bonus Points:
- Compare the top 5 systems on the SWE-bench Verified leaderboard and analyze the correlation between model size and performance.
- Propose how EU AI Act Article 14’s human oversight requirements can be applied to our course environment.