AgentMark supports reusable components to help you maintain consistent prompting patterns across your prompts. Create components in the Dashboard or locally as files — either way, a component is anDocumentation Index
Fetch the complete documentation index at: https://docs.agentmark.co/llms.txt
Use this file to discover all available pages before exploring further.
.mdx/.md file you import into your prompts.
Create a component
- Cloud
- Local

.mdx file into the selected folder. After you edit and publish it, it’s available for import in any prompt on this app.- Open the Files tab for your app.
- Click the kebab menu (⋮) next to the folder where the component should live.
- Select Create component, give it a name, and click Create.
- Edit the component in the visual editor, then click Publish.
Using components
Import and use components in your prompts:example.prompt.mdx
math-instructions.mdx
level as a prop; the component reads it as props.level. Component props are scoped to the component — they don’t collide with the parent prompt’s props.
Learn more
For the full component feature reference — props, conditional rendering, plain markdown imports, and composition — see TemplateDX Components.Have Questions?
We’re here to help! Choose the best way to reach us:
- Email us at hello@agentmark.co for support
- Schedule an Enterprise Demo to learn about our business solutions