Skip to content

RunStory vs. Greptile TREX

RunStory tests a commit on any Git host and reports to the coding agent, and Greptile TREX tests a pull request with Greptile's review.

Last checked , 8 min read

Key points

  • Both tools start the app in a sandbox of their own and use it the way a user would.
  • RunStory starts from a commit, a push, or a pull request, and Greptile TREX runs with Greptile's review of a pull request.
  • RunStory reports a failure after its script repeats it 3 more times, and Greptile TREX saves custom flows that a team writes.

What is the difference between RunStory and Greptile TREX?

RunStory and Greptile TREX both start an app in a sandbox and use it the way a user would. RunStory tests a commit and sends each confirmed failure to the coding agent that made the change. TREX runs with Greptile's review of a pull request and posts its result there.

RunStory is QA agent infrastructure for runtime verification, from the makers of SpecStory, the open-source tools that save the conversations behind your code. Its testing agents run on the latest frontier models, and RunStory is in beta for CLIs and web apps.

TREX comes from Greptile and runs with Greptile's code review, which has a separate comparison. Greptile's documentation describes TREX as an end-to-end testing agent, and its changelog lists TREX as generally available since October 2026.

  • Where a test starts. RunStory starts from a commit, a push, or a pull request, so a test can run before one exists. TREX starts with Greptile's review of a pull request.
  • Where a result goes. RunStory reports to the coding agent at the end of its turn. TREX posts a comment on the pull request, next to the review.
  • What a team sets up and keeps. RunStory reads the install, build, and start commands from the repository's files and keeps a reproduction script for each confirmed failure. A team sets up a TREX environment for each repository, and TREX keeps its snapshot and the team's custom flows.

How do RunStory and Greptile TREX compare at a glance?

CategoryRunStoryGreptile TREX
StatusBeta.Generally available since October 2026, according to Greptile's changelog. Source Its website's navigation labels TREX "Beta." Source
Starts fromA commit, a push, or a pull request. The command line tests a commit on any Git host, the GitHub App tests a push, and a CI job tests a pull request.A pull request. TREX runs with Greptile's review, or when a comment reads @greptileai trex. Source
Decides what to test fromThe commit message, the diff, and the coding requests behind the commit when a supported session is linked.TREX scores its own flows and a team's custom flows against the change, and runs the ones that match. Source
SetupIt reads the install, build, and start commands from the repository's own files, then starts the app to confirm them. A coding agent can run the setup from one prompt.An environment for each repository. Its setup script installs dependencies, and its setup instructions say how to start the app. A coding agent can set up and repair the TREX environment. Source
What it runsWeb apps and command-line tools, in isolated Linux sandboxes.Desktop apps, web apps, and command-line tools in a sandbox, through computer use. Source
Outcome of a checkA failure counts after its script repeats it 3 more times and a second agent confirms it.TREX lists each tested flow as Pass, Fail, or Incomplete, and blockers apart from findings. A run with no flows tested is not a pass. Source
Where results goThe coding agent, the command line, a web page for each check with a video of the browser, and a GitHub Check on the commit and its pull request.A TREX comment on the pull request or merge request, inline comments on the diff, and the pull request's TREX tab in Greptile. Source
The fixThe coding agent fixes the code. RunStory runs the failure's script again, and the finding closes when the script passes.A team chooses which pull request events start TREX, the same way as for reviews. Source A review can start on new pushes. Source
Saved testsNo suite to write or maintain. RunStory keeps the script of each confirmed failure.Custom flows that a team writes step by step, with checks. TREX runs a flow as written when a pull request touches it. Source
Price10 free checks. Pro is $39 a month with 60 credits. A default check uses 2 frontier models and costs 6 credits, and a check with 1 model costs 3 credits.A run costs 3 credits on top of the review, and nothing if no flow reaches a pass or fail. Source A credit costs $1 on the Pro plan. Source

Where is RunStory stronger?

  • A test before the pull request. A check starts from a commit, so a coding agent gets failures while it still works on the change.
  • Any Git host. A check from the command line uploads the commit itself, so the code can live on GitHub, GitLab, Bitbucket, or no host. TREX posts its comment on a pull request or a merge request. Source
  • A product of its own. RunStory needs no code review subscription. A TREX run costs 3 credits on top of the review. Source
  • A failure that held 3 more times. RunStory reports a failure after its script repeats it 3 more times and a second agent confirms it.
  • A result in the coding agent's loop. The coding agent that made the change receives each failure with its script at the end of its turn.
  • The latest frontier models. RunStory's testing agents run on Claude Opus 5.5, Codex Sol 6.1, and Gemini 4 Neon. A default check uses 2 of them side by side, and a team picks which ones run. Greptile says it routes each subtask to a model, and uses frontier models to find the edge cases to test. Source

Where is Greptile TREX stronger?

  • Review and testing from one vendor. TREX posts its comment on the pull request, next to Greptile's code review. Source
  • Custom flows. A team writes a user journey step by step, with checks, and TREX follows the steps and checks exactly. Source
  • Desktop apps. TREX tests desktop apps, web apps, and command-line tools through computer use. Source

What does each tool do with the same change?

Here is an illustrative example. A developer at Acme Co., which sells furniture online, asks a coding agent to "Let customers edit their delivery address during checkout." The agent changes the checkout code and commits. The address saved, but the cart emptied.

RunStory:

  1. The developer runs runstory run on the commit.
  2. RunStory builds the store from the commit in a sandbox and starts it.
  3. A testing agent adds 2 items to the cart, changes the address to 12 Elm Street during checkout, and finds the cart empty.
  4. The agent's script repeats the failure 3 more times, and a second agent confirms the failure.
  5. The coding agent receives the finding and the script at the end of its turn.

TREX, as its documentation describes it:

  1. The developer opens a pull request, and TREX runs with Greptile's review.
  2. TREX selects the user flows the change affects, here the checkout.
  3. TREX starts the store in a sandbox built from the team's environment.
  4. TREX uses the store as a user would and records a video of the flow.
  5. TREX posts a pull request comment, with a finding for the empty cart and a link to the recording.

This example is simplified. A real store also needs a test account, seed data, and a stand-in for the payment service.

Can RunStory and Greptile TREX be used together?

A team can run both tools on one change. RunStory tests commits while the coding agent works, before a pull request exists. TREX tests the pull request when Greptile reviews it, and it runs a team's custom flows when the change touches them.

Neither tool replaces code review, because running an app does not show a duplicated function or a weak design. TREX runs with Greptile's review, and RunStory needs no code review subscription.

FAQs

Is Greptile TREX a separate product from Greptile's code review?

Greptile TREX is Greptile's end-to-end testing agent, and it runs with Greptile's code review. TREX posts its comment next to the review, and a TREX run costs 3 credits on top of the review.

Should a team pick RunStory or Greptile TREX?

The choice depends on where a team wants the test. RunStory fits a team whose coding agents commit often and need failures before a pull request exists, on any Git host. Greptile TREX fits a team that reviews each pull request with Greptile, or that tests a desktop app.

Does RunStory need a preview deployment?

RunStory does not need a preview deployment or a staging URL. RunStory builds and starts the app from the commit inside its own sandbox. Greptile TREX starts the app in a sandbox built from the environment that a team sets up.

Does RunStory work with GitLab or Bitbucket?

RunStory works with code on GitHub, GitLab, Bitbucket, or no host, because a check from the command line uploads the commit itself. The RunStory GitHub App adds one more way to start a check, which is a push to GitHub.com. Greptile TREX posts its comment on a pull request or a merge request.

Which costs less, RunStory or Greptile TREX?

RunStory gives 10 free checks. A default RunStory check uses 2 frontier models and costs 6 credits, and a check with 1 model costs 3 credits. A Greptile TREX run costs 3 credits on top of the code review, and a credit costs $1 on Greptile's Pro plan.

Try RunStory on your own software

RunStory is in beta for CLIs and web apps. Your first 10 checks are free.