Exercise 1: First Session¶
Duration: 15 min | Module: 1 — SDLC Productivity
Objective¶
Launch agy-cli, explore a codebase, and create an AGENTS.md that makes every future session smarter.
Setup¶
You need a Git repository to work with. Use the sample app in this repo or bring your own:
# Option A: Use this workshop repository (you're already here)
# No need to cd — just start agy from the repo root
# Option B: Use any of your own Git repos
cd /path/to/your/project
Part 1: First Interactive Session (5 min)¶
At the prompt, ask:
Then follow up:
Notice: agy read your files without you having to specify them. It indexed the git repo automatically.
Part 2: Deep Dive (5 min)¶
Pick one file from agy's suggestions and go deeper:
Part 3: Create AGENTS.md (5 min)¶
Now codify what you've learned so every future session starts with context:
> Based on our conversation, generate an AGENTS.md file for this project. Include: project purpose, tech stack, key conventions, and anything I should tell an AI assistant before asking it to modify this code.
Review what agy generates. Edit it if anything is wrong. Then write it:
Start a new session and verify it works:
Completion Criteria¶
- [ ] agy launched and responded in interactive mode
- [ ] Explored at least 3 follow-up questions
- [ ] AGENTS.md exists at the project root
- [ ]
agy --print "What do you know about this project?"returns accurate info