Skip to the workspace
Pebellslearn by building
Refinement  ›  Lesson

Working with AI Coding Assistants

3. Refinement 12 minAI coding assistants range from inline suggestions to chat to agents that edit many files, and the more a mode does on its own, the more carefully its changes must be reviewed.

ai product builder / Working with AI Coding Assistants

Explore each scene at your own pace.

01 · The rule

The rule

Working with AI Coding Assistants

Pantry Pal works. To keep improving it, Asha moves the code out of the app builder into a project folder of her own, and meets a new family of tools: assistants that live in a code editor or a terminal and change code on request. They work in different modes, and the right one depends on how much you are handing over.

The rule

The more the assistant does alone, the more carefully you review.

Three modes, from least to most independent:

Mode You do The assistant does You review
Inline suggestions Type code Offers the next line or block as you type Each suggestion before accepting it
Chat beside the code Ask a question or request an edit Explains, or proposes changes to a file or two Each proposed change
Agent Describe a whole task Reads files, edits many of them, runs commands and tests Every change together, as a diff

A diff is the list of exact lines added and removed by a change. It is your main review tool for agents: you do not reread the whole project, only what changed.

Two habits make every mode work better:

  • Give context. Point at the files that matter, and keep a short project notes file — what the app does, the stack, rules such as "the model is called only from the server" — that the assistant reads at the start of each session.
  • Save before you start. A commit before you hand over a task means any result can be undone in seconds.
Scene 1 of 5
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.