CSC-105

LibraryWorking with agents with agency

Working with agents with agency

Staying in the loop with local context

A simple workflow

  1. Put up-to-date context (files) in a folder
  2. Run an agent in said folder
  3. Iterate on next tasks/features, update files, and repeat

Files in a folder

files in a folder

Example folder structure

project-4/
├── AGENTS.md
├── README.md
├── project-brief.md    ← add your brief from Project 3
├── final-report.md     ← write this yourself
├── package.json
└── src/
    ├── index.html
    ├── style.css
    └── script.js

Write final-report.md yourself about your experience. At the end, ask your agent to help ZIP the project without node_modules, then upload it in Project 4.

Project 4: First Version

Part 1: Set up your agent: folder, agent, AGENTS.md, first run.

Default Codex; free backup Antigravity. Details in Choose your coding agent.

The files have different jobs

  • project-brief.md: what you are building and who it helps.
  • AGENTS.md: how the agent should work and where you left off.
  • Project files: the thing you can run, test, and improve.

A new conversation needs context. Ask the agent to read the files first.

Stay in the loop

Specify → Edit → Test → Evaluate

  1. Specify one small interaction from your brief.
  2. Let the agent edit the files and explain what changed.
  3. Open the preview and try it yourself, including an unexpected input.
  4. Compare the result with your brief. Give specific feedback and repeat.

Work session: your first slice

Open Project 4.

  • Download and extract the starter; add your Project 3 brief.
  • Open the folder in your agent and have it read before building.
  • Build and test one small interaction.
  • Before leaving, save what works and what comes next in AGENTS.md.

Get stuck? Ask for help early. Today's target is a working start; more instructions will follow.