Prompt optimization that proves it kept your intent.
Ninth Substrate builds open-source tools and research that make AI behavior measurable. Our flagship, IntentOpt, rewrites a prompt, tests the rewrite against your examples, and hands back your original when it cannot show an improvement.
MIT licensed · Python 3.12+ · Claude Code plugin · v0.2.0.dev0, a development build
IntentOpt / plan a run, no model callsexcerpt of documented output
$ uv run --frozen autoimprover --dry --file prompt.txt
dry run: no model call made, nothing written
tier: fast (--time 30 s), 6 calls at a time
…
rewrites: 1; scenarios: 3, synthesised by one call
stages:
A: intake, synthesis and rewrite: 3 calls
B: task runs: 9 calls
C: pairwise judge and contract checks: 5 calls
D: free gates and pick: 0 calls
estimate: 17 calls in about 25 s of 30 s
evidence: a fast check, not verified on held-out scenarios
Taken from the IntentOpt usage reference. The package and executable are still named autoimprover for compatibility.
Programs / what exists and what does not
One flagship tool, one research harness, two programs still in planning.
Each program states its evidence boundary up front, so you do not have to guess what is built.
01 / FLAGSHIP
Public · development build
IntentOpt
Intent-preserving prompt optimization. Generates rewrites, runs them against your examples, and returns the original when the checks cannot support a change. Command line and Claude Code plugin, MIT licensed.
Evidence boundary: Offline test suite and a small pilot. No independent benchmark yet.
An open harness for recursive language models and agent optimization with budgeted experiments, lineage, and evidence-based promotion. It asks whether a better reasoning harness helps an open model, and whether the model games its own evaluator.
Evidence boundary: Offline checks only. No measured capability gains are published.
Evaluating how model behavior, including jailbreaks, may affect the people who use these systems. Starts with model-side and simulated-user evaluation under a pre-registered protocol.
Evidence boundary: No results yet. Human-subject work only with ethics review.
Extract the task, constraints and literals the rewrite must keep, and use your examples as part of that intent.
STEP 2
Propose rewrites
Generate candidate prompts. In longer runs, a GEPA search evolves them using what earlier answers got wrong.
STEP 3
Run, don't guess
A task model runs the original and every rewrite on scenarios. A separate judge scores the outputs without seeing the candidate text.
STEP 4
Gate the result
A rewrite wins only if it kept the contract and beat the measured noise. Otherwise you get your original back.
Early signal / read the caveats
A promising pilot, reported as a pilot.
On three synthetic tasks, IntentOpt's returned prompts passed more hidden examples than the originals. On one task it kept the original and a naive rewrite did better. We publish both because the point is a tool you can trust, not a headline.
From IntentOpt's development record (work package 24, 2026-10-07). One run, three synthetic policy tasks, 16 hidden examples each. The tasks were also used while the tool was being tuned, so they are not an untouched test set. Raw run artifacts are not published, and later changes to example splitting were not part of this run. Treat it as a pilot observation, not a benchmark result or a claim of state-of-the-art performance.
Reporting standard
How we keep claims honest.
Every claim has a status
Validated, in validation, planned, or not claimed. Each links to the file, commit or run behind it.
For model and cloud providers, research funders, investors, and people who want to evaluate or contribute to IntentOpt. You can also write to founder@ninthsubstrate.com.