sammo
microsoft/sammo · Public GitHub repository
A library for prompt engineering and optimization (SAMMO = Structure-aware Multi-Objective Metaprompt Optimization)
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
A flexible, easy-to-use library for running and optimizing prompts for Large Language Models (LLMs).
and rate-limiting out-of-the-box so you can run many queries in parallel and at scale without overwhelming the LLM API.
- Efficient data labeling: Supports minibatching by packing and parsing multiple datapoints into a single prompt.
- Prompt prototyping and engineering: Re-usable components and prompt structures to quickly build and test new prompts.
- Instruction optimization: Optimize instructions to do better on a given task.
- Prompt compression: Compress prompts while maintaining performance.
- Large-scale prompt execution: parallelization
Requirements and intended audience
A flexible, easy-to-use library for running and optimizing prompts for Large Language Models (LLMs).
Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-11-05. Source: https://github.com/microsoft/sammo/blob/main/README.md
Recorded maintenance information
Last recorded source update: 2025-06-23. Saved release: 0.3.3 · 2025-06-23. These dates do not guarantee ongoing maintenance.
- Technologies
- Python
- Licence
- MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
- Demo check
- A public page loaded on 2026-11-20. This does not test every feature.
Browse related categories
More projects to explore
DeepSite v4
hf:enzostvs/deepsite
Generate any application by Vibe Coding it
Open LLM Leaderboard
hf:open-llm-leaderboard/open_llm_leaderboard
Track, rank and evaluate open LLMs and chatbots
AI Comic Factory
hf:jbilcke-hf/ai-comic-factory
Create your own AI comic with a single prompt
MiroFish
666ghj/MiroFish
A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎,预测万物