AgentMark supports reusable components to help you maintain consistent prompting patterns across your prompts. You can create components in the Dashboard or locally as files.Documentation 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 file into the selected folder. After you edit and publish it, it’s available for import in any prompt on this app.
Create a component in the Dashboard
- 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.
Create a component locally
Create components locally as.mdx files in your agentmark/ directory:
.mdx (or .md) file under components/. The file is picked up on save — if your app is synced to Cloud, the next git push makes it available to your deployed handler; in Local mode, agentmark dev reads it directly from disk.
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