# sammo

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

Canonical page: https://www.reposhelf.co.uk/projects/github/microsoft/sammo.html

- Project ID: microsoft/sammo
- Source: GitHub
- Original project: https://github.com/microsoft/sammo
- Description attribution: project author metadata
- Categories: AI &amp; machine learning
- Technologies: Python
- Licence: MIT
- Repository availability checked: 2026-11-05T21:14:19.776Z
- Demo page loaded: 2026-11-20T19:21:21.100Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> 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

## Author-documented requirements and 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.

Source: https://github.com/microsoft/sammo/blob/main/README.md

Extraction checked: 2026-11-05T21:14:19.905Z

Last recorded source update: 2025-06-23T15:43:04.000Z

Saved release: 0.3.3 — 2025-06-23T15:43:05.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=microsoft%2Fsammo). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
