← Glossary

Glossary

Prompt engineering

Prompt engineering is the practice of designing the instructions and examples given to a model to steer its behavior at inference, with no training. It is the fastest, cheapest way to improve an AI system's output.


Because it changes the prompt rather than the model's weights, prompt engineering is immediate, reversible, and preserves the model's general knowledge. Teams typically exhaust it — alongside RAG for facts — before considering fine-tuning.

Good prompts specify the task, constraints, format, and examples; for agents, they also define tools, stopping conditions, and escalation rules.

Related terms

Learn more