---
student-work:
  release: 2026-09-17T14:30
  due: 2026-09-24T14:30
description: Build, test, and submit one small working interaction from your Project 3 brief as your first checkpoint toward midterm.
title: "Project 4: First Version"
---

[@styles]: ../../styles/styles.project.css

# Project 4: First Version

## Build your brief with a coding agent

In Project 3 you wrote a one-page brief that a new agent could build from.
Now hand it to one. Work in a folder on your own computer, ask for one small
change at a time, and test each change before you ask for the next. **Due
Thursday, September 24, at 2:30 pm.** By midterm you will demonstrate the core
journey from your brief.

### What is due for Project 4?

Submit a **first-version checkpoint** of your project:

- One small working interaction from your brief that you have personally tested and refined with your agent.
- Your own `final-report.md` explaining what works, how you tested it, what is unfinished, and your next small improvement.
- A ZIP of your current project folder, packaged with your agent using the prompt in Part 4.

**You do not need to finish every feature in your brief for Project 4.** If
your first slice works and you have tested and refined it, write your report,
check your ZIP, and submit it by the deadline. You can keep building afterward.
The report is your reflection on this checkpoint; “final” in the filename
does not mean your whole project is finished.

Project 4 and the next projects are iterative steps toward your midterm demo.
Future assignments will be personalized in your course path based on what
you have built, what needs attention, and the next useful refinement. Keep
your working folder so you can build on it for each checkpoint.

```plaintext
Specify → Edit → Test → Evaluate
```

<x-completion-progress label="Project 4 progress" />
<x-completion-outline label="Project 4 tasks" />
<x-project-progress-dock />

Your folder will grow as you build. It starts like this:

```plaintext
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
```

---

<!--
id: agent-setup
input-response: {}
-->

## Part 1: Set up your agent

Do this in class on Thursday, September 17. You need an agent that can open a
folder on your computer. Unsure which one? Read
[Choose your coding agent](../../resources/coding-agents.guide.md).

### Task 1: Make the project folder

- [ ] Download the [project starter ZIP](./project-starter.zip) and extract it (Windows: **Extract All**; Mac: double-click).
- [ ] Move the extracted `project-4` folder into your class folder. Open that folder, not the ZIP.
- [ ] Download `project-brief.md` from [Project 3](../03/project-3.project.md) and
      put it inside the `project-4` folder. Name the file `project-brief.md`.

### Task 2: Open the folder in your agent

**Default: Codex.** Finish
[ChatGPT Desktop + student claim](../../resources/chatgpt-desktop.guide.md)
first. In the app, choose **Codex** in the top-left menu. In the left sidebar,
find **Projects** and click the small **+** on its right to add a project,
then pick your `project-4` folder.

![The Projects heading in the Codex sidebar, with the + button at the far right.](./assets/codex-add-project.png)

**Backup: [Google Antigravity](https://antigravity.google/download/).** Free
with a Google account. Install it, sign in, choose **Open Folder**, and pick
`project-4`. Install it even if Codex works. It is your spare for when the
student claim is pending or your allowance runs out.

Keep the folder open in Finder or File Explorer while you work so you can see
what the agent changes.

- [ ] I opened `project-4` in Codex or Antigravity. {#agent-open}

### Task 3: Check out the `AGENTS.md` file

The starter includes `AGENTS.md`: standing instructions for your agent. Open it
in your text editor, replace the project name and description in brackets, and
read the rules. Keep it next to your downloaded `project-brief.md`.

The brief describes **what** to build; `AGENTS.md` describes **how** to work.
The starter asks the agent to make small changes, explain them, and help you
run and test the project. For web apps, it uses Bun and keeps setup simple.

Update **Status** at the end of every session, so an agent you open tomorrow
knows where you left off.

- [ ] `AGENTS.md` is in the folder with my project name and rules. {#agents-md}

### Task 4: First run: read, don't build

Send this as your first message:

```text
Read AGENTS.md. Do not write any code yet.
In five bullets, tell me what you would build first and any questions you have about the brief.
```

Compare the answer with your brief and what you actually want to build. If the agent misread something, tell the agent to correct it. Look at what the agent changed.

<x-input-textarea
  name="agent-first-read"
  label="Your agent's first read"
  placeholder="Agent: Codex (GPT-5.6 ...)&#10;&#10;- ..."
  required
/>

<x-input-submit label="Save first read" update-label="Update first read" />

- [ ] The agent's summary matches my brief, or I fixed the brief. {#first-read}

---

<!-- id: build-preview -->

## Part 2: Build the first slice

Today's goal is **one small working interaction**, not the whole project.
Pick the first step of the core journey in your brief: for example, add one
item to a list, answer one quiz question, or enter information and see a result.

### Task 5: Build one small thing

The starter already has a small web page in `src/`. Ask your agent to help you
install Bun if needed, then run `bun run dev` from the project folder. Open the
local address printed in the terminal and click **Try the starter**. You should
see a confirmation message. No packages need to be installed for this starter.
This demo is a setup check; replace it with an interaction from your own brief.

After you have answered the agent's questions, send:

```text
Read AGENTS.md and project-brief.md. Help me build the smallest first slice
of the core journey. Tell me what you will build before you edit files.
Keep the setup simple. Explain any tools I need to install and give me
step-by-step instructions to run it and open the preview on my computer.
Stop after this first slice so I can test it.
```

Follow the setup instructions. If an install or preview fails, copy the exact
error into the agent and ask it to help. Ask your instructor if you are stuck; do not spend
the whole class on setup.

- [ ] I can open my project's preview and try one interaction. {#first-preview}

### Task 6: Test, evaluate, repeat

1. Try the interaction yourself. Does it do what your brief says?
2. Try an empty or unexpected input. What happens?
3. Tell the agent what you did, what you expected, and what actually happened.
4. Ask for **one** fix or improvement, then test again.

```text
I tried: [the exact steps].
I expected: [what should happen].
Instead: [what happened, including any error].
Fix this one issue, explain what changed, and tell me how to test it again.
```

- [ ] I tested the first slice and gave the agent specific feedback. {#test-first-slice}

### Before you leave class

Ask the agent to update the **Status** section of `AGENTS.md` with what works,
how to run the preview, any known problems, and the next small task. Read it
and correct anything inaccurate. Save your files and keep the whole folder.

- [ ] My status notes will help me or a different agent resume next time. {#save-status}

**This was the in-class setup and first-slice work.** To complete Project 4,
write your checkpoint report and submit a ZIP of your current version
by **Thursday, September 24, at 2:30 pm.**

---

<!-- id: final-report -->

## Part 3: Write your checkpoint report yourself

Open `final-report.md` in your text editor and answer its prompts about what
you built, your experience with the agent, how you tested it, and what you learned.
Use specific examples from your project. Keep notes as you work so you can
remember both the useful moments and the frustrating ones.

**You must write this yourself, in your own words.** Typing it yourself is fine;
no scanned handwriting is needed. Do not ask AI to draft, rewrite, polish, or
fill in the report. Your agent can help build and package the project; this
reflection is your work.

- [ ] I wrote `final-report.md` myself with specific examples from my experience. {#final-report-written}

---

<!-- id: submission -->

## Part 4: ZIP and upload your project

For this checkpoint, submit **one ZIP of your current project folder**,
including `src/`, any assets, `project-brief.md`, `final-report.md`, `AGENTS.md`,
`README.md`, `package.json`, and any package lockfile. Keep the run instructions
in `README.md` up to date.

**Do not include `node_modules`.** Dependencies can be reinstalled from the
package files. Also leave out `.git`, generated build output, `.env` files,
and older ZIPs. The upload limit is **25 MB**.

Ask your agent to help with packaging:

```text
Help me create a submission ZIP of this project, with one project folder
inside. Include the source, assets, project-brief.md, final-report.md,
AGENTS.md, README.md, package.json, and any lockfile. Exclude all node_modules
directories, .git, build output, .env files, and existing ZIPs. Do not delete
anything from my working folder. Do not write or edit final-report.md.
Check that the ZIP includes the required files and is no larger than 25 MB.
```

- [ ] I checked the ZIP includes my code, brief, and student-written report, with no `node_modules`. {#zip-checked}

Upload the ZIP below and check that your submission appears. **Due Thursday,
September 24, at 2:30 pm.**

<x-submission-zip
  label="Submit Project 4"
  description="Upload your project ZIP, including your student-written final-report.md. Exclude node_modules. Maximum 25 MB."
/>

---

## Tips

- Keep requests small: one feature or fix at a time.
- If you reach a usage limit, save your status and open the same folder in your backup agent. Explicitly ask it to read `AGENTS.md` and `project-brief.md`.
- If the preview is blank, ask the agent to check that the app is running and give you the exact preview address.
- Use sample information while building. Never put passwords or API keys in your brief or project files.
- You are responsible for checking the result. A confident agent response is not a test.
