TREX

Product · Developer tool by Greptile

Autonomously test every PR in a sandbox to catch runtime bugs.

TREX is an autonomous runtime validation tool that tests every code change in a sandbox environment. It uses browser agents and API simulation to catch runtime bugs and edge cases before they hit production.

Category: Software Testing

Integrations
GitHub, GitLab, Bitbucket, Cursor Origin, Gitea, Perforce
Deployment
Cloud or self-hosted (Docker Compose, Kubernetes)
Execution environment
Isolated Sandbox
Testing methods
Browser agents, API simulation, E2E tests
Integration triggers
Pull requests, pushes, or manual requests
Supported platforms
GitHub, GitLab, Bitbucket, Gitea, Perforce
  • Runs PR branches in a sandbox to catch runtime bugs
  • Simulates real user behavior with browser agents
  • Mocks API inputs to pressure test backend endpoints
  • 3 credits per run on the Greptile platform

Overview

TREX is Greptile's autonomous runtime validation tool designed for engineering teams to catch bugs that static analysis misses. It functions by deploying pull request branches into an isolated sandbox environment where it installs dependencies and spins up development servers. The system uses a combination of browser agents to simulate user interactions and API traffic simulation to pressure test backend endpoints. By running the code rather than just reading it, TREX identifies runtime errors, logical edge cases, and integration failures before they reach production. It is currently available in public beta and integrates with major source control providers including GitHub, GitLab, and Bitbucket.

Runtime Validation

  • Sandbox Execution: TREX deploys pull request branches in an isolated sandbox to catch bugs that only show up when the code is executed.
  • Browser Agents: The system uses browser agents to click around the application and interact with UI elements to verify functionality.
  • API Traffic Simulation: TREX simulates production-like traffic on backend APIs to identify logic and performance issues.
  • Edge Case Detection: The tool automatically identifies and tests edge cases during end-to-end testing using high-intelligence models.

Testing Infrastructure

  • Automated Environment Setup: TREX installs project dependencies and spins up a development server within the sandbox environment.
  • Input Mocking: The system can mock API inputs to pressure test endpoints and find issues that static analysis cannot detect.
  • Agent Agnostic Validation: TREX is designed to work as a unified validation agent for all code changes, regardless of the coding agent used to write them.

Use cases

  • Engineering teams use TREX to catch UI regressions by having browser agents simulate real user clicks on feature branches.
  • Backend developers use TREX to pressure test new API endpoints with simulated production traffic before merging code.
  • Solo developers use TREX as an automated QA peer to validate that their changes don't break existing application logic.

Specifications

Programming languages
Python, JavaScript, TypeScript, Go, Elixir, Java, C, C++, C#, Swift, PHP, Rust, Ruby
Integrations
GitHub, GitLab, Bitbucket, Cursor Origin, Gitea, Perforce
Deployment
Cloud or self-hosted (Docker Compose, Kubernetes)
Execution environment
Isolated Sandbox
Testing methods
Browser agents, API simulation, E2E tests
Integration triggers
Pull requests, pushes, or manual requests
Supported platforms
GitHub, GitLab, Bitbucket, Gitea, Perforce

How it works

  1. Open Pull Request: The developer opens a pull request on a supported code provider like GitHub or GitLab.
  2. Sandbox Provisioning: TREX automatically provisions an isolated sandbox, installs dependencies, and starts the development server.
  3. Autonomous Testing: AI agents use browser simulation and API traffic to test the changes for regressions and edge cases.
  4. Review Findings: Findings are posted back to the PR or dashboard, allowing developers to fix issues before merging.

Pricing

TREX Run (Pro Plan)
$3 per run ($1 per credit)
Starter Plan (Free)
Includes 50 credits per month

FAQ

How much does a TREX run cost?

Each TREX run costs 3 credits. Credits are available through Greptile's Starter (50 free/month) or Pro ($1/credit) plans.

Is TREX available for all users?

TREX is currently in public beta as of late 2026.

Can TREX be used in self-hosted environments?

Yes, Greptile (including TREX) can be deployed in your own infrastructure using Docker Compose or Kubernetes for enterprise customers.

Added by AntSpace from public sources (greptile.com).

Related

More products by Greptile