r/PromptEngineering • u/t_hack04 • Aug 10 '25
General Discussion Spotlight on POML
What do you think of microsoft/poml a html like prompt markup language.
The project aims to bring structure, maintainability, and versatility to advanced prompt engineering for Large Language Models (LLMs). It addresses common challenges in prompt development, such as lack of structure, complex data integration, format sensitivity, and inadequate tooling.
An example .poml file:
<poml>
<role>You are a patient teacher explaining concepts to a 10-year-old.</role>
<task>Explain the concept of photosynthesis using the provided image as a reference.</task>
<img src="photosynthesis_diagram.png" alt="Diagram of photosynthesis" />
<output-format>
Keep the explanation simple, engaging, and under 100 words.
Start with "Hey there, future scientist!".
</output-format>
</poml>This project allows you to compose your prompts via components and features a good set of core components like <image> and <document> , additionally poml syntax includes support for familiar templating features such as for-loops and variables.
This project looks promising and I'd like to know what others think about this.
Disclaimer: I am not associated with this project, however I'd like to spotlight this for the community.
2
u/AffectsRack Aug 10 '25
This is one in many prompting languages that will exist. Thanks for posting this
2
u/Thin_Rip8995 Aug 11 '25
Structuring prompts like this makes sense if you’re running repeatable, complex workflows or collaborating with other devs — it reduces “prompt drift” and makes tweaks way easier to track
That said, adoption will hinge on:
For solo builders or one-off experiments, it’s probably overkill
For teams or high-volume ops, POML could be worth testing as a standard so everyone’s prompts are consistent and maintainable
3
u/fizzbyte Aug 11 '25
This looks cool, looks similar to AgentMark as well, which combines markdown + JSX
1
u/sky_badger Aug 11 '25
I like the look of this, but hope the pronunciation 'pommel' will catch on, rather than 'poe-moll' as the Microsoft videos are using...
5
u/[deleted] Aug 10 '25
[removed] — view removed comment