This guide is for students who want to get from zero setup to a pull request on this repo without guessing the Git or GitHub steps.
You will:
- Set up Git and Python
- Create an SSH key and connect it to GitHub
- Fork and clone this repo
- Create a working branch
- Run the onboarding agent locally
- Make a change
- Commit, push, and open a pull request
Make sure these are installed:
- Git
- Python 3.9 or newer
- A GitHub account
- A text editor such as VS Code
Check them from PowerShell:
git --version
python --versionIf python does not work, try:
py --versionUse the Windows PowerShell commands in the main steps if you are on Windows.
If you are on Linux or macOS, use the same flow but switch to:
python3 --version
ssh-keygen -t ed25519 -C "your_email@example.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
cat ~/.ssh/id_ed25519.pub
ssh -T git@github.com
git clone git@github.com:YOUR_USERNAME/onboarding-agent.git
cd onboarding-agent
git checkout -b student/your-name-city
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt
python agent.py --dry-runThis is the most important step if you want to avoid HTTPS login prompts
and many 403 style GitHub errors.
Run:
ssh-keygen -t ed25519 -C "your_email@example.com"Press Enter to accept the default location:
C:\Users\YOUR_NAME\.ssh\id_ed25519
If you want, add a passphrase. It is recommended.
On Windows PowerShell:
Get-Service ssh-agent
Start-Service ssh-agent
ssh-add $env:USERPROFILE\.ssh\id_ed25519If ssh-agent is already running, Start-Service will simply do nothing.
Copy the public key:
Get-Content $env:USERPROFILE\.ssh\id_ed25519.pub | Set-ClipboardThen on GitHub:
- Open GitHub
- Go to
Settings - Open
SSH and GPG keys - Click
New SSH key - Paste the key
- Save it
Run:
ssh -T git@github.comThe first time, GitHub may ask you to confirm the host fingerprint.
Type yes.
If it works, you should see a message that you authenticated successfully.
If you get Permission denied (publickey), go to the troubleshooting
section below before continuing.
Fork this repository on GitHub first.
Then clone your fork using SSH, not HTTPS:
git clone git@github.com:YOUR_USERNAME/onboarding-agent.git
cd onboarding-agentCheck your remotes:
git remote -vYou should see git@github.com:... URLs, not https://....
If you want to keep the original repo as an upstream remote, add it now:
git remote add upstream git@github.com:ORIGINAL_OWNER/onboarding-agent.git
git remote -vA branch is your own copy of the code where you can make changes without
touching the main version. When you are happy with your work, GitHub compares
your branch against main and that comparison becomes your pull request. This
keeps main safe while you experiment.
Use one branch for your work:
git checkout -b student/your-name-cityKeep the branch name short and readable.
Create and activate a virtual environment first:
python -m venv .venv
.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
pip install -r requirements.txtLinux or macOS equivalent:
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txtStart with the dry run:
python agent.py --dry-runThe real run needs a Groq API key. Get one for free:
- Open https://console.groq.com
- Sign up or log in
- Go to
API Keysand clickCreate API Key - Copy the key somewhere safe - you cannot view it again later
The free tier is enough for this workshop. The key is a secret: never commit it to Git and never paste it into a file that gets pushed.
If the dry run passes, set your API key and run the real agent:
$env:GROQ_API_KEY="your-key-here"
python agent.py --employee EMP-2026-0847If you want to show the compliance gate bypass demo:
python agent.py --employee EMP-2026-0847 --no-enforcementOpen these files first:
README.mddocs/offline_guide.mddocs/resources.mdsystem_prompt.mdagent.py
Start with one small change. For example:
- improve a doc section
- adjust the onboarding prompt
- change a console label
- add a resource link
Do not edit the mock data unless the task explicitly asks for it.
Check what changed:
git status
git diffStage and commit:
git add README.md docs/offline_guide.md docs/resources.md system_prompt.md agent.py
git commit -m "Onboarding fix: update student guide and repo branding"Use a meaningful commit message. Short messages like fix or done
do not help anyone review the work.
Push to your fork:
git push -u origin student/your-name-cityIf you see a 403 or permission error, jump to troubleshooting.
On GitHub, open your fork and click Compare & pull request.
Make sure:
- base repository is the original
onboarding-agentrepo - base branch is
main - compare branch is your
student/...branch
Write a short PR description:
- what you changed
- what you tested
- any issue you fixed
Your SSH key is not being used.
Check:
ssh-add -l
git remote -vFixes:
- make sure
ssh-agentis running - make sure your public key is added to GitHub
- make sure the remote uses
git@github.com:...
This usually means one of these:
- you cloned with HTTPS instead of SSH
- you are pushing to the wrong repo
- your GitHub account does not have access to that remote
Run:
git remote -vIf the URL starts with https://, switch it to SSH:
git remote set-url origin git@github.com:YOUR_USERNAME/onboarding-agent.gitYou are not inside the cloned folder.
Run:
Get-Location
git statusMove into the repo folder and try again.
Use the Python launcher:
py --version
py agent.py --dry-runCheck your branch name:
git branch --show-currentThen confirm the PR compares your branch against main.
At the end, you should have:
- SSH working
- the repo cloned locally
- one feature branch
- a successful dry run
- a commit with a clear message
- a pushed branch
- a pull request opened against
main