alt.hn

7/2/2026 at 4:31:51 AM

Show HN: Margarita - Programming language for Agents using Markdown-ish syntax

https://www.margarita.run

by margarita_dev

7/2/2026 at 6:03:41 AM

Fairly interesting! A few questions:

- When asking the user for an input, does it support multi turn user conversation?

- Who is this made for? Developers would much rather just use python directly with coding agents; non developers would probably still be afraid of seeing the python-ish syntax in the md file + they wont be able to use existing coding agents cause there would be no examples of this new language in any of the LLM's training data.

But it's an awesome attempt! I like the idea overall, and the design of the website!

by rishabhpoddar

7/2/2026 at 1:30:13 PM

- When asking the user for an input, does it support multi turn user conversation? Yes, it supports both multi-turn conversations from the llm and you can programmatically ask the user things too -> https://www.banyango.com/margarita/latest/user_input/

- Who is this made for? I think this is crux of my issues so far here. I have been targeting developers who maybe don't see as much value in this as you mentioned.

That said I think that there is a decent cost to developers for maintaining code each time you want more determinism, or don't want to spend tokens on repeatable steps. My hope was that having a lower cost solution closer to markdown would be a nice middle ground.

by margarita_dev

7/2/2026 at 2:13:17 PM

I am puzzled by the example on the homepage - does it show the agent failing to follow the instructions properly?

> Review this code snippet and set `score` to a number from 0–10

> ↳ set score = 72

...or is it the comments further down influencing the behaviour:

    // This runs the agent
    // score is set to 72
    // feedback is set to Simple and correct...
    @effect run
if so is that supposed to happen?

it's all a bit confusing

by anentropic

7/2/2026 at 2:16:13 PM

Whoops, good catch! Not sure how I didn't see that. This was not input I copied from the tool, rather I got claude to create an HTML representation of the terminal output from a screenshot. Fixing that up now.

by margarita_dev