Agent
A model given tools and a goal, allowed to decide its own next steps in a loop rather than answering once.
An agent runs a loop: the model chooses an action, a tool executes it, the result comes back into the context-window, and the loop repeats until the goal is met or a limit is hit. The tools are ordinary functions - search, read a file, run a query, call an API.
What you gain is the ability to hand over a task without specifying the steps. What you take on is that errors compound. A wrong step at position three poisons everything after it, and the model will usually keep going confidently.
Production agents therefore need boundaries in the prompt and in the harness: a step limit, a definition of done, explicit handling for a failed tool call, and a human checkpoint before anything irreversible.
Tagged
Where this comes up
Prompts, configs and tutorials in the library that touch this term.
- ConfigChatGPT
AGENTS.md for a TypeScript repo
A project file for coding agents that names the commands, the boundaries and what must never be touched automatically.
- ErrorChatGPTGemini
This model's maximum context length is N tokens
The request is longer than the model can hold, counting your prompt, the whole conversation history and the space reserved for the answer. Usually it…
Tested on GPT-5 · May 2026
- ConfigUniversal
System prompt for a support triage bot
A system prompt for classifying incoming support messages into a fixed set of routes, with an explicit escape for the unclear ones.