# Propose an experiment

> Set up a small test the user agreed to, such as 'three proof posts with a screenshot this week beat my text posts on replies'. Xholic records the account's baseline now and judges the result from the posts linked to it. It posts nothing. Ask the user first; set start only when they said go. For a user who wants to design the test themself, add design: the metric (including bookmarks, profile clicks or estimated follows), one group or A vs B, what to compare against (their median, group B, a format or a date range), win and lose bars, posts per group, how long posts settle and an end date. Leave design out for the usual guided test.

`mentor.propose_experiment` · write

- **MCP tool:** `propose_experiment`. Loaded by default in MCP clients.
- **REST:** `POST /v1/mentor/propose-experiment`
- **CLI:** `xholic mentor propose-experiment`
- **Scope:** `write`
- **Plan:** Every plan, including the trial
- **Cost:** Free.
- **Rate limit bucket:** `write`

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `title` | string ≤ 160 chars | Yes |  |
| `hypothesis` | string ≤ 500 chars | Yes | What should happen and why, in one or two sentences. |
| `format` | "relatable_scene" \\| "one_liner" \\| "contrast_pair" \\| "hot_take" \\| "contrarian_reframe" \\| "personal_story" \\| "proof_numbers" \\| "build_update" \\| "list_playbook" \\| "framework" \\| "question" \\| "observation" \\| "trend_reaction" \\| "ironic_humor" \\| "advice" \\| "motivation" \\| "networking" \\| "promotion" \\| "other" | No | The post format, such as question, one_liner, proof_numbers or list_playbook. |
| `posts` | integer 2–10 | No | How many posts the test needs (default 3). |
| `metric` | "replies" \\| "engagement" \\| "impressions" \\| "follows" | No |  |
| `start` | boolean | No | Start now (the user agreed) instead of leaving it proposed. |
| `design` | object | No | Optional: the user's own design. When set, its metric and groupA format are used and posts/metric/format above are ignored. |
| `design.metric` | "impressions" \\| "replies" \\| "bookmarks" \\| "engagement" \\| "profile_clicks" \\| "follows" | Yes | What decides the test. |
| `design.groupA` | object | Yes | The posts being tested. |
| `design.groupA.label` | string ≤ 80 chars | Yes | What makes this group different, e.g. 'with a screenshot' or 'posted 8–9 pm'. |
| `design.groupA.format` | "relatable_scene" \\| "one_liner" \\| "contrast_pair" \\| "hot_take" \\| "contrarian_reframe" \\| "personal_story" \\| "proof_numbers" \\| "build_update" \\| "list_playbook" \\| "framework" \\| "question" \\| "observation" \\| "trend_reaction" \\| "ironic_humor" \\| "advice" \\| "motivation" \\| "networking" \\| "promotion" \\| "other" | No | The post format this group uses, if the test is about format. |
| `design.groupB` | object | No | For an A vs B test: the other group. Then compareTo is group_b. |
| `design.groupB.label` | string ≤ 80 chars | Yes | What makes this group different, e.g. 'with a screenshot' or 'posted 8–9 pm'. |
| `design.groupB.format` | "relatable_scene" \\| "one_liner" \\| "contrast_pair" \\| "hot_take" \\| "contrarian_reframe" \\| "personal_story" \\| "proof_numbers" \\| "build_update" \\| "list_playbook" \\| "framework" \\| "question" \\| "observation" \\| "trend_reaction" \\| "ironic_humor" \\| "advice" \\| "motivation" \\| "networking" \\| "promotion" \\| "other" | No | The post format this group uses, if the test is about format. |
| `design.compareTo` | object | No | What group A is judged against: own_median (this account's median over the last N days before the test), group_b, format (this account's posts in one format) or period (a date range). Default: `{"kind":"own_median","days":30}`. |
| `design.minPosts` | integer 2–20 | No | Posts per group before it's judged. Default: `3`. |
| `design.winAt` | number 1.05–10 | No | Worked when group A's median is at least this many times the comparison. Default: `1.2`. |
| `design.loseAt` | number 0.1–0.95 | No | Didn't work at or below this multiple. Default: `0.8`. |
| `design.settleHours` | 24 or 48 or 72 | No | How long a post runs before its number counts. Default: `48`. |
| `design.endsAt` | string | No | Judge on this date with whatever has settled, even if fewer posts than minPosts. |
| `account` | string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection's default account. |
| `note` | string ≤ 20000 chars | No | Optional, on any tool: one or two sentences for Xholic's shared memory about what the user just decided, asked for or said about themselves or their plans (e.g. "Dropping threads for now; focusing on replies to founders"). Every AI the user connects reads it, so they never repeat themselves. In your words, never other people's posts. Leave it out when nothing new was said. |
| `dryRun` | boolean | No | Return exactly what would happen without doing it. |
| `idempotencyKey` | string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
