PromptisePromptise
Docs
GitHub
Promptise - AI Framework LogoPromptise

The foundation layer for agentic intelligence. Build, secure and operate autonomous AI systems with Promptise Foundry.

pip install promptise

[01] Foundry

  • MCPcast
  • The Promptise Agent
  • Reasoning Engine
  • MCP
  • Agent Runtime
  • Prompt Engineering
  • Execution Engine
  • Agent Identity

[02] Resources

  • Documentation
  • GitHub
  • Guides
  • Learning Paths
  • Questions

[03] Company

  • About
  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Subprocessors

© 2026 Promptise by Manser Ventures. All rights reserved.

Open source · Python

← Guides> Library> Topic

Prompt optimization: improving prompts systematically

Most prompts improve through iteration: run the prompt on real inputs, look at where the output goes wrong, change one thing and run it again. Doing that deliberately, with a fixed set of test inputs and a record of each version, turns guesswork into measurable progress.

Automatic prompt optimization takes the same loop further and lets a model propose and score new prompt versions, as in APE and ProTeGi or with frameworks such as DSPy. These methods need a good evaluation set; without one they optimize toward the wrong thing. The guides here cover refining a prompt by hand in a few rounds, diagnosing bad outputs to find what to fix, and automatic optimization methods with their costs and limits.

[n.01/02]> 3 guides
  1. 01Iterative Prompt Refinement: Improve a Prompt in 3 RoundsImprove a prompt step by step: diagnose the biggest gap, change one thing per round and keep every version. Three real rounds on one task, with output.Beginner · 8 minOct 18, 2026
  2. 02Prompts as Code: The LLM as a Probabilistic CompilerTreat prompts as code: write specs, enforce output shape with structured outputs, surface assumptions and test every change. Real date-extraction example.Intermediate · 5 minOct 18, 2026
  3. 03Automatic Prompt Optimization: APE, ProTeGi and AMPOAutomatic prompt optimization explained: APE, ProTeGi, OPRO and multi-branch prompts, with one real optimization round on a ticket classifier in Python.Advanced · 9 minOct 18, 2026
[n.02/02]> go further

Related topics

  • Evals and Testing15
  • LLM Mental Models19
  • Structured Outputs8

Topic hubs

  • Testing and evals→

By category and level

  • Prompt Engineering guides54
  • Beginner guides36
  • Intermediate guides80
  • Advanced guides24

Search every guide.

The library lists all guides with filters for topic, level, category and reading time.

All guidesLearning paths