Prompt Basics
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 different message tags for different types of content. See Generation Types for more information.
2. Frontmatter Configuration
Every prompt file includes a frontmatter section that defines:
- Prompt name
- Prompt configuration. See Generation Types for more information.
- 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@agentmark.co for support
Schedule an Enterprise Demo to learn about our business solutions