.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. AgentMark scopes component props to the component, so they don’t collide with the parent prompt’s props. See TemplateDX Components for the full reference (props, conditional rendering, plain-markdown imports, and composition).
Have questions?
Reach out any time:
- Email the team at hello@agentmark.co for support
- Schedule an Enterprise Demo to learn about AgentMark’s business solutions