Self-improving agents, held to your team’s bar. agents team

Synthe finds where your agent falls short and tests every fix against the version you run today. Only clear wins ship, with the evidence attached.

or install directly with

Paste into Claude Code

Set up Synthe in this repo. Run npx synthe@latest guide and follow it.

What should your agent get better at?

Write one goal in plain words. Get a setup prompt to paste into your coding agent.

Files setup adds to your repo

synthe.json

The goal and your rules

{"version": 1,"prompt": { "path": "prompts/returns.md" },"objective": "When a case needs a person, send the customer to the right place.","guardrails": [ drafted at setup ],"scenarios": ".synthe/scenarios.jsonl"}

.synthe/scenarios.jsonl

The test cases, drafted from your goal

.github/workflows/synthe.yml

Runs the rounds in GitHub Actions

Setup prompt

Set up Synthe in this repo. Run npx synthe@latest guide and follow it. My agent should get better at: When a case needs a person, send the customer to the right place.
npx synthe@latest init

Paste the prompt into Claude Code, Codex or Cursor inside your repo, or run the command yourself. Synthe reads your agent, writes the checks from your goal, and runs its first test tonight.

Your goal, word for word

The sentence you write becomes the objective in synthe.json.

Rules and test cases

Synthe drafts them from your goal and your prompt. You review them at setup.

Nothing untested lands

After setup, every change Synthe makes is tested first, and each one can be undone.

A night of rounds

You set the checks in the evening. Synthe works on your agent overnight, and the report is waiting in the morning. Scroll through one example night.

6:40 PM · Setup

You write the checks.

Five checks for your returns agent, in plain language, like “Never invent dates”. Your team confirms them before anyone goes home.

11:02 PM · Round 1

Fixes for what fails.

Synthe reads where the agent falls short and writes fixes. Each one is tested on 36 simulated messages like the ones your returns agent gets. Twelve stay hidden until scoring.

2:17 AM · Round 1 result

One change clears the bar.

Checks 74% to 86%. Held-out cases 58% to 79%. No new rule breaks. It merges as PR #214.

5:48 AM · Round 2

A kept change slips, so it comes back out.

On fresh messages its checks fell from 88% to 70%. The round 1 prompt returned on its own.

7:58 AM · Report

Your morning report.

Checks passed 86% of the time, up from 74%. It says what merged, what came back out, and what the run cost: $0.83.

Returns agent

Evening

You write the checks once. One command sets Synthe up in your repo.

Overnight

Each round tests fixes against your checks and hidden cases.

Morning

The report lands in your repo as an issue, where the team already works.

Every step

The seven steps of the loop, one by one, are on How it works.

You set the bar

Point at the chart and the bar follows. Drag the handle, tap on a phone, or use the arrow keys. A change turns green when it clears your bar, and only a change that clears it can merge.

Bar 80%
1 of 5

changes clears your bar. Only a change that clears it can merge.

Your checks

You say what good looks like, in plain language.

Clear wins only

A change must beat the current version on your checks and on held-out cases.

Hard rules hold

A change that adds a rule break does not merge.

Still watched

A kept change has to keep winning. When it loses, it comes back out.

What lands in your repo

A clear win merges as a pull request with its evidence attached, and the morning report is posted where your team already works. Nothing lands that was not tested, and every change can be undone.

Pull request #214

Merged

Explain the return window first

synthe/round-1 into main, one file changed

prompts/returns.md+1 −1

Removed: Always offer a refund when a customer asks.

Added: Explain the return window before offering a refund.

Evidence on the pull request
Checks passed
74% to 86%
Held-out cases
58% to 79%
Rule breaks
1 to 0

The pull request

The change that cleared the bar, committed to the file your agent runs from, with the checks before and after.

The morning report

Every run closes as an issue: what changed, what it scored, what was kept and what it cost.

Nothing unclear

A change that does not clearly win is never kept. Anything unclear leaves your agent exactly as it was.

Before you install

What it costs, where it runs, and what leaves your repo.

What does a run cost?

You set a budget in synthe.json, and a run stops when it reaches it. On your own Anthropic key the default is $3 a run. Every report says what the run cost.

Which models does it use?

Claude, through your Anthropic key. By default Sonnet writes changes and marks checks, and Haiku runs your prompt and judges close calls. You can change both in synthe.json.

Where does it run?

In your repo, as a GitHub Actions workflow that setup adds. A run is at most 12 rounds, about half an hour. Changes arrive as pull requests, and review mode waits for your team.

What leaves your repo?

Synthe sends Anthropic what the tests need: your prompt, the file it lives in, part of your README and the test messages, and, when it works on code, that code. With the default setting the Synthe team sees run numbers, your checks, its prompt edits and one example message, never your code. Set "share": "none" to turn that off.