Prompt Junky

Agent & Prompt Frameworks

Developer frameworks that turn prompts into programs: structured output libraries, agent orchestration toolkits, prompt compilers and automatic prompt optimizers.

66 prompt tools / page 1 of 2

AdalFlow

Agent & Prompt Frameworks

A library for building LLM applications that also auto-tunes them, optimizing prompt text and few-shot demonstrations against a training set. It aims to make prompt tuning as routine as model training.

adalflow.sylph.ai

CrewAI

Agent & Prompt Frameworks

A Python framework for role-playing agent crews, where each agent is defined by a role, goal and backstory that become its prompt. Tasks are assigned to agents and executed sequentially or hierarchically.

crewai.com

DSPy

Agent & Prompt Frameworks

A Python framework that replaces hand-written prompt strings with declarative modules and signatures, then compiles them against your data. Optimizers search for the wording and few-shot examples that score best on a metric you define.

dspy.ai

EvoPrompt

Agent & Prompt Frameworks

The official implementation of a paper that applies evolutionary algorithms to prompt search, using a language model to perform crossover and mutation on candidate prompts. Populations are scored on a dev set each generation.

github.com

GEPA

Agent & Prompt Frameworks

An optimizer that improves prompts and other text artifacts through reflective evolution, reading execution traces and natural-language feedback to propose edits. It integrates with DSPy and other pipelines.

gepa-ai.github.io

Guidance

Agent & Prompt Frameworks

A templating language for steering language models token by token, interleaving generation with control flow, regex and grammar constraints. Output structure is enforced during decoding rather than checked afterwards.

github.com

Haystack

Agent & Prompt Frameworks

deepset's orchestration framework for retrieval and agent pipelines built from composable components. Prompt builders are pipeline nodes, so prompt text is versioned with the rest of the pipeline definition.

haystack.deepset.ai

Instructor

Agent & Prompt Frameworks

A library that maps model responses onto Pydantic models so a prompt returns validated typed objects instead of raw text. Failed validations are automatically retried with the error fed back into the prompt.

python.useinstructor.com

LangChain

Agent & Prompt Frameworks

One of the most widely used frameworks for LLM applications, providing prompt templates, chat message abstractions, tool calling and agent loops. It connects to the LangSmith platform for tracing and prompt management.

docs.langchain.com

Letta

Agent & Prompt Frameworks

A platform for stateful agents, formerly MemGPT, where the agent manages its own context window through editable memory blocks. The prompt is assembled from persistent memory rather than rebuilt each turn.

docs.letta.com

LlamaIndex

Agent & Prompt Frameworks

A data framework for connecting documents and databases to language models, with a prompt template layer that can be overridden per query engine. It is commonly used to build retrieval-augmented prompt pipelines.

developers.llamaindex.ai

LLM CLI

Agent & Prompt Frameworks

Simon Willison's command-line tool and Python library for running prompts against many models. Prompts, system prompts and responses are logged to a local SQLite database, and saved templates can be reused.

llm.datasette.io

Marvin

Agent & Prompt Frameworks

A Python toolkit from Prefect for building AI features as ordinary functions, where the prompt is generated from type hints and docstrings. It covers classification, extraction and generation tasks without manual prompt strings.

marvin.mintlify.app

OPRO

Agent & Prompt Frameworks

Reference code from the Google DeepMind paper that uses a language model as the optimizer for its own instructions. Previously scored prompts are fed back as context so the model proposes better ones.

github.com

Outlines

Agent & Prompt Frameworks

A structured generation library that forces model output to match a JSON schema, regex or context-free grammar. It works with local and hosted models and is used to make prompt output parseable by default.

dottxt-ai.github.io

PromptWizard

Agent & Prompt Frameworks

A Microsoft framework that iteratively refines both prompt instructions and in-context examples using model-generated critique. It targets task-specific prompt optimization with a modest number of API calls.

github.com

SAMMO

Agent & Prompt Frameworks

A Microsoft research library for structure-aware prompt optimization. Prompts are represented as programs whose components can be mutated and searched against multiple objectives such as accuracy and cost.

github.com

Semantic Kernel

Agent & Prompt Frameworks

Microsoft's SDK for embedding model calls into C#, Python and Java applications. Prompts live in versioned template files with typed parameters and are invoked as callable functions alongside native code.

aka.ms

SGLang

Agent & Prompt Frameworks

A serving framework and domain-specific language for programs that make many structured model calls. Its runtime reuses shared prefixes across calls, which speeds up branching and multi-step prompt programs.

sglang.io

TextGrad

Agent & Prompt Frameworks

A research library that treats natural-language critique as a gradient, backpropagating textual feedback through a pipeline to improve prompts and other text variables. It mirrors the autograd style familiar from PyTorch.

textgrad.com

Verbalized Sampling

Agent & Prompt Frameworks

A reference implementation of a training-free prompting strategy that asks a model for a distribution of responses with probabilities, which the authors report reduces mode collapse in creative tasks.

verbalized-sampling.com

ell

Agent & Prompt Frameworks

A language model programming library that treats prompts as versioned Python functions. A local store records every prompt version and invocation so changes can be diffed and compared in a studio UI.

docs.ell.so

Magentic

Agent & Prompt Frameworks

A small Python library that turns a decorated function signature and docstring into a prompt, returning the declared return type. It supports streaming, function calling and chat-based prompt chains.

magentic.dev

LMQL

Agent & Prompt Frameworks

A query language from ETH Zurich that blends Python control flow with prompt text and declarative constraints. Constraints are compiled into decoding rules so the model is guided while it generates.

lmql.ai

Mirascope

Agent & Prompt Frameworks

A Python library that keeps prompts as decorated functions with normal editor tooling rather than opaque chains. It supports response models, prompt templates and a provider-agnostic call interface.

mirascope.com

Pydantic AI

Agent & Prompt Frameworks

An agent framework from the Pydantic team that applies model validation to prompt inputs and outputs. It supports typed dependencies, streaming structured responses and instrumentation via Logfire.

pydantic.dev

BAML

Agent & Prompt Frameworks

A domain-specific language for writing prompts as typed functions that compile to Python, TypeScript and other clients. Schemas are enforced with a parser that repairs imperfect model output.

boundaryml.com

SmythOS Runtime Environment

Agent & Prompt Frameworks

An open-source runtime for agentic AI that separates agent definitions, skills and connectors, letting the same agent specification run across different model providers and storage backends.

smythos.com

AutoGen

Agent & Prompt Frameworks

A Microsoft Research framework for multi-agent applications where agents exchange messages to solve a task. Each agent is configured with its own system prompt, tools and termination rules.

microsoft.github.io

LMOps

Agent & Prompt Frameworks

A Microsoft Research collection of projects on making language models usable in production, including automatic prompt optimization, prompt compression and structured prompting techniques.

aka.ms

Optillm

Agent & Prompt Frameworks

An OpenAI-compatible inference proxy that applies reasoning techniques such as chain-of-thought variants, best-of-n sampling and self-consistency at request time to improve answer quality.

github.com

AutoPrompt

Agent & Prompt Frameworks

A prompt tuning framework built around intent-based prompt calibration. It generates challenging edge-case examples, collects judgements on them and rewrites the prompt to close the gap.

github.com

Adaline Gateway

Agent & Prompt Frameworks

An open-source, locally running SDK that provides one interface for calling many model providers, with batching, retries and caching handled in the library rather than a hosted service.

github.com

NeMo Guardrails

Evaluation & Testing

An NVIDIA toolkit for adding programmable rails to conversational applications. Rails are written in a dedicated modelling language and control topics, dialogue flow and unsafe output.

docs.nvidia.com

spacy-llm

Agent & Prompt Frameworks

An Explosion package that plugs language models into spaCy pipelines, shipping versioned prompt templates for tasks such as named entity recognition, classification and summarisation.

spacy.io

Priompt

Prompt Managers & Versioning

A JSX-based prompt design library from the makers of Cursor. Prompt components are given priorities so the renderer can drop lower-priority sections when the context window is tight.

github.com

Questions

Frequently asked questions

What counts as agent & prompt frameworks?

Developer frameworks that turn prompts into programs: structured output libraries, agent orchestration toolkits, prompt compilers and automatic prompt optimizers.

What are agent & prompt frameworks?

Developer frameworks that turn prompts into programs: structured output libraries, agent orchestration toolkits, prompt compilers and automatic prompt optimizers.

Do I need a tool for this?

Solo users often do fine with a text file. Teams shipping prompts to production usually want versioning and evaluation. Start with the free tier of a tool in the category.