microsoft/sammo

A library for prompt engineering and optimization (SAMMO = Structure-aware Multi-Objective Metaprompt Optimization)

56
/ 100
Established

Supports structured outputs and enables prompt optimization through symbolic program search with mutation operators (paraphrasing, rewriting, text generation) applied at compile-time rather than runtime. Handles production-scale LLM execution with built-in parallelization, rate-limiting, and batch packing for efficient data labeling across multiple LLM providers via a unified runner interface.

753 stars and 177 monthly downloads. No commits in the last 6 months. Available on PyPI.

Stale 6m
Maintenance 2 / 25
Adoption 15 / 25
Maturity 25 / 25
Community 14 / 25

How are scores calculated?

Stars

753

Forks

45

Language

Python

License

MIT

Last pushed

Jun 23, 2025

Monthly downloads

177

Commits (30d)

0

Dependencies

22

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/microsoft/sammo"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.