---
title: Working with agents
description: Words for directing a coding agent and checking its work.
---

## Agent

An AI that takes actions, not just chats: a model plus tools that read files, run commands, and change things.

---

## Harness

The tools, instructions, and context wrapped around a model that make it an agent.

---

<!--
aka: tool use, tool call
-->

## Tool

Something an agent can do besides write text, like read a file, run a command, or search the web.

---

## Context

Everything the agent can see right now: your brief, the files it has read, and the conversation so far. It knows nothing else about your project.

---

## Brief

A short, self-contained description of what you want built: the goal, who it's for, the facts and limits, and how to check it.

---

<!--
aka: AGENTS.md, CLAUDE.md
-->

## Instructions file

A file in your project, like `AGENTS.md`, that the agent reads at the start of every chat.

---

## Plan

The steps an agent proposes before it changes anything. Reading the plan first is the cheapest place to steer.

---

## Diff

The exact lines a change added and removed. It shows what the agent really did, not what it says it did.

---

## Report

The agent's summary of what it did. Treat it as a claim to check, not as evidence.

---

## Verify

Checking the work yourself, the way a user would, including a wrong or empty input.

---

## Permission

What you let an agent do without asking, like edit files, run commands, or go online.

---

<!--
aka: API key, token
-->

## Secret

A password or key that gives access to an account or service. Keep it out of prompts and code.
