How it works without Apex
Most experimentation programs leak value right after a test wins: the lesson gets buried in an old Slack thread, a new hire accidentally reverts the change six months later, and stale feature-flag branches pile up across the codebase slowing down every engineering sprint.
How Apex does it for you
Apex links each experiment to your GitHub repository, promotes statistically verified wins into your searchable Belief Graph (readable by humans and AI coding agents via MCP), and opens a clean GitHub Graduation PR removing the losing branch and runtime hook automatically.
How to set this up in 4 steps
Install the Apex GitHub App on your repository
Connect GitHub in Apex Integrations with scoped pull-request permissions so Apex can link experiment PRs.
Link your code experiment to its introducing PR
Attach the PR when shipping the test and optionally gate experiment activation until the PR merges.
Mint a calibrated Belief when the winner clears significance
Apex records the proven hypothesis, lift, confidence, and cash evidence in your searchable Belief Graph.
Open and merge the one-click GitHub Graduation PR
Let Apex author the cleanup PR removing the losing variant and runtime experiment hook, then review and merge through your normal CI.
Why winning A/B tests rot as stale flags and forgotten Slack threads
Most engineering and growth teams treat an experiment as "done" the moment someone posts a screenshot in Slack saying Variant B won. Six months later, nobody remembers why the pricing page defaults to annual, a new designer proposes reverting it, and three dead feature-flag branches are still sitting in production JSX slowing down every refactor.
Apex closes the loop with two connected primitives: the Belief Graph and the GitHub Graduation Pipeline. Every concluded experiment automatically mints or updates a calibrated company Belief backed by real cash evidence, and opens a clean GitHub Graduation PR that promotes the winning branch and deletes the dead control code.
How Beliefs and GitHub Graduation PRs compound growth
Link your experiment to its GitHub repository and PR. Connect the GitHub Graduation Pipeline so Apex knows which feature PR introduced the experiment and can optionally gate experiment start on merge.
Let sequential stats verify cash lift on Stripe or Shopify. Apex evaluates conversions against real settled revenue while checking guardrails such as 30-day refund rate automatically.
Mint a permanent Belief in the Belief Graph. When an experiment concludes, Apex updates your Belief Graph with calibrated confidence. Both human teammates and AI coding agents querying Apex MCP see proven company truths before proposing conflicting changes.
Open a Graduation PR (or Revert PR) in one click. Click Graduate (or call
open_graduation_prvia MCP) so Apex opens a focused pull request removing the dead branch and runtime experiment hook, leaving your codebase cleaner than before the test started.
Worked Belief & graduation math (illustrative)
In the BeaconFlow example above, the growth engineering team ships annual_pricing_default_v2 across 5,200 pricing visitors:
Winner conversion rate: 328 upgrades / 2,600 visitors = 12.6%.
Control conversion rate: 237 upgrades / 2,600 visitors = 9.1%.
Proven cash lift & code cleanup: +3.5 pp (p = 0.0001), adding +91 annual plans (+$65,520 Year-1 ARR), minting a permanent Belief, and opening GitHub PR
#418to remove 3 stale flag branches (~6.5 engineering hours saved per quarter).
Pricing & graduation pipeline cost
Live Apex pricing · Pay-as-you-go
Estimated Apex cost for 5,200 pricing views + Belief Graph + GitHub Graduation PR
$0 / month
Fully inside Apex's free monthly allowances (resets every calendar month).
| Apex meter / schedule | Scenario volume | Free allowance / basis | Rate | Apex cost |
|---|---|---|---|---|
Events ~21,000 monthly events (pricing views, exposure logs, Stripe checkouts, Belief calibration) | 21,000 / mo | 1M / month | $5 per 100K events | $0 |
Orchestrations 5,200 code-experiment variant assignments | 5,200 / mo | 1M / month | $5 per 100K assignments | $0 |
Belief Graph, GitHub App Graduation Pipeline, Apex MCP server, Stripe revenue sync, and unlimited seats carry no extra Apex fee. Individual event history stays queryable for 13 months without a card, 3 years with a card on file, and 7 years once you've paid an invoice. See the live pricing page.
Third-party and campaign costs (not paid to Apex)
| Expense | Typical range | Notes |
|---|---|---|
| GitHub repository | Existing GitHub plan | Apex installs as a standard GitHub App with scoped PR permissions. |
Limits and when Apex is the wrong tool
Graduation PRs still require your team's code review and CI merge. Apex never force-pushes to your main branch; it opens a standard GitHub PR that runs your existing tests and waits for maintainer approval.
GitHub is the live automated PR adapter today. Teams hosted on GitLab or Bitbucket can still record Beliefs, link PR URLs manually, and run graduation cleanup through Apex's MCP server in Grok Build (formerly Cursor) or Claude Code.
When Apex is the wrong tool: If you only run occasional copy tweaks through a no-code visual editor with zero engineering repository, snippet winner promotion already keeps serving the winner without needing GitHub PRs.

