{"library":"poml","title":"POML - Prompt Orchestration Markup Language","description":"POML (Prompt Orchestration Markup Language) is a Python library for defining, composing, and managing prompts in a structured markup language. It allows you to define reusable prompt components, variables, and orchestration logic. As of version 0.0.8, the library is in early alpha with basic functionality for parsing and rendering POML templates. Release cadence is irregular.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install poml"],"cli":null},"imports":["from poml import POML","from poml.render import RenderEngine"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from poml import POML\n\npoml = POML()\ntemplate = '''\n[context]\nuser_name = \"{{user_name}}\"\n\n[instructions]\nGreet the user warmly.\n'''\nrendered = poml.render(template, {\"user_name\": \"Alice\"})\nprint(rendered)","lang":"python","description":"Instantiate a POML object, define a template, and render with variables.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}