Beginner-friendly workshop repo for building an onboarding AI agent. The goal is to help students learn the full path from prompt to working agent: read the scenario, understand the tools, run the code, and open a pull request with a real change.
- Read docs/concepts.md - what an AI agent is
- Read docs/scenario_brief.md - the worked example
- Read docs/offline_guide.md - setup, Git, and PR steps
- Read docs/resources.md
- Skim system_prompt.md and agent.py
- Run
python agent.py --dry-run - Do the exercise in docs/first_task.md and open a PR
The sample agent completes onboarding in four steps:
- Retrieve the employee profile
- Check compliance acknowledgement status
- Provision system access only after compliance is cleared
- Send a welcome notification
The implementation uses a small, transparent ReAct loop so students can see the control flow without a framework hiding it.
Windows PowerShell:
python -m venv .venv
.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
pip install -r requirements.txt
python agent.py --dry-run
python agent.py --employee EMP-2026-0847
python agent.py --employee EMP-2026-0847 --no-enforcementLinux or macOS shell:
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt
python agent.py --dry-run
python agent.py --employee EMP-2026-0847
python agent.py --employee EMP-2026-0847 --no-enforcementThe full run requires a GROQ_API_KEY. Get one free at
https://console.groq.com (sign up, then create an API key). The free tier is
enough for this workshop. The offline guide walks through the setup, virtual
environment, API key, and GitHub pull request flow step by step.
agent.py - ReAct loop, tools, CLI
system_prompt.md - agent rules and onboarding policy
docs/offline_guide.md - beginner setup guide from SSH to PR
docs/resources.md - curated learning links
tools/ - stubbed side-effect functions
data/ - mock employee and compliance data
This repo is a teaching scaffold. The onboarding scenario is the worked example, but the real lesson is how prompt instructions, tool calls, and GitHub workflow fit together when you build an agent end to end.