microsoft/sammo

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

51
/ 100
Established

This tool helps you refine and optimize how you instruct Large Language Models (LLMs) to perform specific tasks. You provide your data and initial instructions, and the tool helps you find the best way to phrase those instructions to get more accurate or efficient results from the LLM. It's designed for data scientists, machine learning engineers, or AI product managers who build or integrate LLM-powered features.

753 stars. No commits in the last 6 months. Available on PyPI.

Use this if you need to systematically improve the performance or efficiency of your custom instructions (prompts) when working with Large Language Models.

Not ideal if you are building interactive, agent-based, or production-ready LLM applications that require complex conversational flows or user interfaces.

LLM-prompt-optimization AI-model-tuning natural-language-processing data-labeling machine-learning-engineering
Stale 6m
Maintenance 2 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 14 / 25

How are scores calculated?

Stars

753

Forks

45

Language

Python

License

MIT

Last pushed

Jun 23, 2025

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.