For un framework pour l'optimisation automatique de prompts, the strongest matches are microsoft/promptbase (Microsoft Promptbase is a Python framework for designing, testing), zou-group/textgrad (TextGrad is a Python library that treats language model) and mshumer/gpt-prompt-engineer (This repository is an automated prompt engineering framework that). comet-ml/comet-llm and linshenkx/prompt-optimizer round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Outils et bibliothèques automatisés conçus pour affiner, tester et améliorer par programmation les prompts de modèles de langage.
Promptbase is a prompt engineering framework designed for designing, testing, and optimizing prompts for large language models. It provides a system for measuring model accuracy and performance through an evaluation toolkit that compares outputs against ground-truth datasets. The project also includes an orchestration pipeline for automating multi-component machine learning tasks across cloud-based endpoints and a utility for preparing retrieval-augmented generation datasets. The framework distinguishes itself through advanced response quality optimization, utilizing chain-of-thought generato
Microsoft Promptbase is a Python framework for designing, testing, and optimizing LLM prompts with built-in evaluation against ground truth, orchestration pipelines, and advanced response quality optimization, directly matching your need for a programmatic automatic optimization tool.
TextGrad is a differentiable text optimization library and framework designed for simulated language model backpropagation. It functions as a textual gradient engine that treats language model feedback as gradients to iteratively refine prompts and unstructured text variables. The system utilizes a computation graph to trace errors from a defined loss function back to input text, allowing it to determine specific improvements. It differentiates itself by implementing natural-language backpropagation and gradient aggregation, which merges multiple pieces of textual critique into consolidated i
TextGrad is a Python library that treats language model feedback as gradients to iteratively refine prompts, providing a programmatic API, optimization algorithms, and evaluation via loss functions — directly addressing this search for an automatic prompt optimization tool.
This project is an automated prompt engineering and optimization tool designed to iteratively create, test, and refine prompts using a language model to improve output quality. It functions as a framework for generating candidate prompts and ranking their performance through correctness matching and ELO-based ratings. The system includes capabilities for model distillation, generating high-quality example pairs from frontier models to create training data for smaller models. It also provides tools to condense prompts for smaller models and transform instruction-tuned prompts into completion-b
This repository is an automated prompt engineering framework that iteratively generates, tests, and refines prompts using ELO-based ranking and model distillation, directly addressing the need for programmatic prompt optimization; however, its Jupyter Notebook format may limit direct SDK-style integration.
Comet LLM is an observability platform and evaluation framework designed for large language model applications and agentic workflows. It functions as a system for tracing, monitoring, and debugging execution flows while providing tools for prompt optimization and the enforcement of AI safety guardrails. The platform distinguishes itself through a combination of model-based scoring and heuristic metrics to quantify output quality and detect hallucinations. It includes a dedicated prompt and agent optimizer with an interactive playground for refining templates and tool configurations. For retri
Comet LLM is a platform that includes a dedicated prompt and agent optimizer, automated evaluation with model-based and heuristic scoring, prompt version tracking, and SDK integrations — making it a programmatic tool for automatically refining prompts across multiple LLM providers.
Prompt Optimizer is a framework designed for the iterative refinement and testing of text-based instructions for large language models. It functions as an automated evaluation pipeline that systematically adjusts prompt structure, constraints, and clarity to improve the accuracy and consistency of model outputs. The system distinguishes itself through a model-agnostic interface that standardizes communication across different artificial intelligence providers. It incorporates a versioned asset management system to track prompt history, enabling developers to maintain consistency and perform r
Prompt Optimizer is a dedicated framework for iterative prompt refinement with automated evaluation, model-agnostic interfaces, versioned prompt management, and optimization capabilities, perfectly matching your search for a programmatic prompt optimization tool.
DSPy is a declarative programming framework designed for building complex language model applications. It treats model interactions as modular, composable programs, allowing developers to define task logic through typed class schemas rather than relying on manually written prompts. By organizing workflows into hierarchical, reusable Python objects, the framework enables the construction of sophisticated AI systems that manage state and execution flow independently. The framework distinguishes itself through an automated optimization engine that iteratively refines prompt instructions and few-
DSPy is a declarative programming framework with an automated optimization engine that iteratively refines prompts and few-shot examples, providing a programmatic API for building and tuning LLM applications—exactly the kind of automatic prompt optimization tool you're looking for.
OpenPrompt is a prompt learning framework designed to adapt large language models to downstream natural language processing tasks. It provides a comprehensive toolkit for implementing manual, soft, and continuous prompting strategies, allowing models to be refined without updating all underlying parameters. The project is distinguished by its support for both discrete and continuous prompt tuning. It includes a system for injecting trainable soft tokens and embeddings into model inputs via gradient descent, as well as an automatic prompt generation engine that uses beam search and generative
OpenPrompt is a Python framework for prompt learning and optimization that provides a template engine and optimization algorithms for adapting LLMs to tasks, fitting the search for a programmatic prompt optimization tool, though it is research-oriented and lacks some requested features like multi-LLM provider support and built-in evaluation.
BAML is a prompt engineering framework and LLM client generator that defines AI prompts as type-safe functions. It serves as a structured data extraction tool and workflow orchestrator, transforming unstructured model responses into strongly typed objects using a custom schema language and alignment algorithms. The project distinguishes itself by using a compiler to generate language-specific boilerplate code for API communication and output parsing. It features a dedicated environment for designing complex prompt templates with conditional logic and reusable snippets, and employs genetic alg
BAML is a prompt engineering framework that uses genetic algorithms to automatically optimize prompts and provides a type-safe SDK for programmatic use, fitting your search for an automatic prompt optimization tool.
OpenEvolve is an evolutionary algorithm framework that uses large language models to autonomously discover and optimize programming algorithms. It functions as an algorithm discovery engine and code search tool, evolving populations of candidate programs to find efficient implementations and hardware-specific speedups. The system treats both code and system instructions as evolvable entities, utilizing an automated prompt optimizer to iteratively refine model performance. It maintains search stability through niche-based population management to preserve diversity and employs a closed-loop fe
OpenEvolve is an evolutionary algorithm framework that automatically optimizes prompts and system instructions for LLMs, providing algorithmic prompt refinement and optimization, though its primary focus is on programming algorithm discovery rather than general prompt tuning.
Automatic Prompt Engineer is a framework designed to automate the generation, refinement, and performance measurement of language model instructions. It functions as a systematic tool for optimizing prompt phrasing by iteratively testing candidate instructions against specific input and output datasets to maximize task accuracy. The system distinguishes itself through an evaluation-driven approach that uses automated feedback loops to score prompt variations. By employing template-based input structuring, it ensures consistent testing environments where candidate instructions are measured aga
This repository provides the implementation of the Automatic Prompt Engineer (APE) method, a research-backed tool that automatically generates and optimizes prompts for LLMs, matching your intent for a programmatic prompt optimization tool.
| Dépôt | Stars | Langage | Licence | Dernier push |
|---|---|---|---|---|
| microsoft/promptbase | 5.8K | Python | MIT | |
| zou-group/textgrad | 3.4K | Python | mit | |
| mshumer/gpt-prompt-engineer | 9.7K | Jupyter Notebook | mit | |
| comet-ml/comet-llm | 19.7K | Python | Apache-2.0 | |
| linshenkx/prompt-optimizer | 30.9K | TypeScript | NOASSERTION | |
| stanfordnlp/dspy | 35.3K | Python | MIT | |
| thunlp/openprompt | 4.9K | Python | Apache-2.0 | |
| boundaryml/baml | 7.6K | Rust | apache-2.0 | |
| codelion/openevolve | 6.6K | Python | Apache-2.0 | |
| keirp/automatic_prompt_engineer | 1.4K | Python | MIT |