microsoft/sammo
A library for prompt engineering and optimization (SAMMO = Structure-aware Multi-Objective Metaprompt Optimization)
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.
Stars
753
Forks
45
Language
Python
License
MIT
Category
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.
Related tools
linshenkx/prompt-optimizer
一款提示词优化器,助力于编写高质量的提示词
Undertone0809/promptulate
🚀Lightweight Large language model automation and Autonomous Language Agents development...
CTLab-ITMO/CoolPrompt
Automatic Prompt Optimization Framework
Eladlev/AutoPrompt
A framework for prompt tuning using Intent-based Prompt Calibration
shobrook/promptimal
A very fast, very minimal prompt optimizer