> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cassidyai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Understand prompt engineering

> Learn how clear context, instructions, examples, and output requirements help Cassidy produce more useful and consistent AI responses.

Write clearer instructions so your Agents and Workflows produce useful, consistent results.

<Frame>
  <iframe className="w-full aspect-video rounded-xl" src="https://www.loom.com/embed/c1747fe9482e4a0da5c477a591106a1c" title="Prompt engineering explained" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />
</Frame>

## What you'll learn

* Why specific instructions produce more reliable responses
* Where prompts live in Agent instructions, chat messages, and Workflow Actions
* How role, process, output format, constraints, and examples clarify the result
* How to tell Cassidy what to do when important information is missing

## Put it into practice

<Steps>
  <Step title="Choose where the prompt belongs">
    Put consistent behavior, such as role, process, tone, and rules, in Agent instructions. Put task-specific requests and context in chat messages or Workflow inputs.
  </Step>

  <Step title="Describe a good result">
    Define the role, process, output format, and constraints. Add one strong example when it explains your expectations more clearly.
  </Step>

  <Step title="Test and refine">
    Tell Cassidy to ask a question or flag a gap instead of guessing. Test several realistic requests, then make examples or boundaries more specific when results vary.
  </Step>
</Steps>

<Check>You've completed the Cassidy University learning path. You now have the foundation to choose, build, test, and manage practical AI solutions in Cassidy.</Check>

## Keep learning

<CardGroup cols={2}>
  <Card title="Write effective prompts" icon="pen" href="/guides/prompt-engineering">
    Use a complete framework for clear, reliable prompts.
  </Card>

  <Card title="Build and configure an Agent" icon="robot" href="/agents/build-and-configure">
    Apply prompt techniques to Agent instructions.
  </Card>

  <Card title="Build a Workflow" icon="diagram-project" href="/workflows/building">
    Use prompts with variables and repeatable Actions.
  </Card>

  <Card title="Return to Cassidy University" icon="graduation-cap" href="/university">
    Review the full path or revisit any lesson.
  </Card>
</CardGroup>
