PromptSmith Lab Learn prompt engineering through practice
User
Learn / Lessons

Lesson Library

Browse the lesson library and open the public lessons that are available now.

AI Follows Instructions

Instructional engineering is about designing model behavior explicitly, not casually chatting with an AI.

Explorer Open access

What Is a Prompt?

A prompt is the instruction structure that defines the model's task and expected behavior.

Explorer Open access

Templates & Runtime Inputs

Templates separate reusable instructions from runtime data.

Explorer Open access

Context Is Not Memory

The model only knows the context you provide during each run.

Explorer Open access

Prompt Iteration & Failure Modes

Prompting is an iterative engineering process based on observing and refining behavior.

Explorer Open access

What Is an LLM?

An LLM generates outputs by predicting likely continuations of text.

Explorer Open access

Models, Tokens, and Cost

Different models create different tradeoffs in quality, speed, context size, and cost.

Explorer Open access

Precision Engineering

Precise constraints reduce ambiguity and increase behavioral consistency.

Pillar 1 Preview available

Output Shaping

Output structure determines how reliably systems can use model results.

Pillar 1 Preview available

Role Assignment

Assigning roles changes the model's perspective, tone, and depth of explanation.

Pillar 1 Preview available

Delimiters & Boundary Control

Delimiters separate instructions from runtime data and reduce ambiguity.

Pillar 1 Preview available

Negative Constraints

Negative constraints suppress unwanted default model behaviors.

Pillar 2 Preview available