Three ways to help

Lesson 1 of 35 · Working with AI coding agents

A coding assistant can participate in different ways. The distinction is about what happens around the model, not a promise that one interface is always better.

Completion proposes text at the cursor. You might type the beginning of a function and see a suggested continuation. The editor may apply it when you accept; until then, it is a proposal. It can be wrong even when it looks like the surrounding code.

Chat accepts a message and returns a response. For example, you can paste an error and ask for an explanation. A text-only chat cannot inspect your project unless the relevant information is supplied to it. Some products combine chat with tools, so a chat-shaped interface does not prove that the assistant is limited to conversation.

A tool-using agent combines a model with software that can request and use actions: reading a file, searching a project, proposing edits, or running a test, subject to the available tools and permissions. It can use a result to decide what to do next. An agent is not necessarily autonomous in every action, and its permissions may require your approval.

Suppose a date appears incorrectly on a page. Completion might suggest code as you type a fix. Chat might explain a pasted formatting function. An agent with file and test tools might inspect the function, suggest or make a change, and run a relevant test. In every case, check the result: an explanation is not an execution, a proposed change is not proof of correctness, and a passing test covers only what it actually checks.

The word agent is also used for a configured role within an agent application. Ask what a particular system can access and do rather than relying on the label alone.