Skip to content

This release adds 2 notable features for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Summary

AI summary

Merged Lime tool into Margarita and added .mgx agentic template support with Python imports, state, memory, and effect directives.

Full changelog

Release Date: Apr 16, 2026

Overview

  • Merged the Lime tool into Margarita (integration and internal restructuring)
  • Added stop
  • View tool calls don't render the whole file and keeps performance up.
  • Add support for naming the runs.
  • Fixed linting and packaging issues (moved py.typed to package root)
  • Updated documentation links.

Agentic .mgx files

.mgx files extend .mg Margarita templates with agentic capabilities: Python imports, state, memory, effect directives, and agent execution.

Run them with:

margarita run example.mgx

Features

  • All the features of .mg Margarita templates: includes, conditionals, loops, and variable interpolation.
  • Python imports (from my_module import fn).
  • ${var} syntax to access Python variables in the template.
  • state — define variables accessible by the agent during a run.
  • memory — persist variables across runs via memory.json.
  • effect — give commands to the agent: define tools, run the agent, collect input, manage context, log output, and more.

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track banyango/margarita](https:

Get notified when new releases ship.

Sign up free

About banyango/margarita](https:

All releases →

Beta — feedback welcome: [email protected]