Show HN: Margarita - Programming language for Agents using Markdown-ish syntax
17 hours ago
- #Deterministic workflows
- #Markdown extension
- #AI scripting
- Margarita introduces a deterministic scripting extension to Markdown for predictable AI agents.
- It provides repeatable scripts with dynamic LLM integration where needed, ensuring consistency and control.
- Features include code-like logic, conditional rendering, loops, and composable prompts similar to React.
- Use cases include email summarization, custom agent loops, game development, and automated workflows like code reviews.
- Key elements: @effect commands for running agents, @state for variables, @memory for persistence, and built-in tools for file operations.