Prompts
Overview
AgentMark provides a powerful and flexible way to create prompts using Markdown and JSX. This section will cover the core concepts and features of prompting with AgentMark.
example.prompt.mdx
Key Components
1. Message Tags
AgentMark supports three primary message tags for communicating with LLMs:
<System>
- For system-level instructions<User>
- For user messages<Assistant>
- For assistant messages
2. Frontmatter Configuration
Every prompt file includes a frontmatter section that defines:
- Prompt name and metadata
- Model configuration
- Optional test props/settings
3. Dynamic Content
Prompts can include:
- Variables using
{props.varName}
- Imported components
- Conditional logic and loops
- Filter functions
Have Questions?
We’re here to help! Choose the best way to reach us:
Join our Discord community for quick answers and discussions
Email us at hello@puzzlet.ai for support
Schedule an Enterprise Demo to learn about our business solutions
Was this page helpful?