How Do We Give an Agent a Job It Can Follow?

A technician wants help with a noisy pump. Begin prompt engineering with that job and its evidence, then test whether a clearer request produces a useful answer.

14 sections · 4 questions · 2 coding challenges

1 / 14

Examples Became Part of the Request

BOTIE

Adapting a language model to a task once commonly meant collecting labelled examples and updating its parameters. Brown and colleagues investigated a different setting in GPT-3: give the model a task and a small number of demonstrations in its input, then test it without task-specific parameter updates. The examples helped specify the requested behaviour, although success varied across tasks.

That distinction matters here. Writing a prompt changes the input to an existing model; it does not train the model in this lesson. An agent adds software that can let the model select another action after seeing a result. Anthropic’s 2024 engineering article distinguishes this from a workflow whose route is already prescribed in code. We will use that distinction, while remembering that the word agent is used more broadly elsewhere.

Sources for this history