Prompt Engineering

Prompt engineering is the practice of designing model inputs so an AI system behaves more reliably for a task.
Also known as
prompt design

Intuition

The prompt frames the job, constraints, context, and output format the model should follow.

Technical definition

Prompt engineering includes instruction design, context placement, examples, tool descriptions, output schemas, and evaluation-driven iteration.

Example

A summarization prompt may define audience, length, source constraints, and forbidden speculation.

Common misunderstandings

  • Prompt engineering is not a substitute for system design.
  • Prompts should be tested against real failure cases, not only happy paths.

Need this inside a product?

The studio builds the systems these terms describe. Tell us what you are working on.