Browse tools / Development

Margarita

Margarita is a scripting tool for writing repeatable AI agents in plain Markdown-based .mgx and .mg files, with state, loops, and LLM calls. It runs the scripts against any model, for developers who want predictable workflows.

Visit website ↗

Outbound links may earn a commission when an approved affiliate destination is available. Read disclosure.

Capabilities

  • Markdown-based scripting with @state, @effect, and @memory
  • Loops and conditionals in prompts
  • Reusable .mg includes with parameters
  • Local Python function calls
  • User input prompts
  • Persistent memory across runs
  • Built-in file read/write tools

Best for

  • Developers who want deterministic, readable scripts that drive an LLM while keeping control over context and cost.

Limitations

  • No pricing information found on the site
  • Email example depends on Apple Mail loader

Platforms

  • Web
  • macOS
  • Linux
  • Windows

Integrations

  • GitHub
  • Slack
  • Apple Mail

Independent evidence

Evidence review is pending.

Reviewed alternatives

No reviewed alternatives yet.

Explore other tools

Compare your selection