TREX: An AI code reviewer that runs your code

greptile.com
June 17, 2026
8 min read
🔥🔥🔥🔥🔥
44/100
Summary
TREX is a code reviewer developed by Greptile that executes code and identifies errors during the review process. It enhances traditional code inspection methods by integrating code execution with pull request reviews.
Key Takeaways
- TREX (Test, Run, Execute) integrates an execution layer into code review, allowing it to identify bugs that only manifest during runtime rather than through static code analysis.
- The Greptile reviewer agent orchestrates the TREX agents, enabling them to share context and knowledge, which improves efficiency and reduces redundant exploration of the codebase.
- Initial output from TREX was limited to bullet points, which lacked detail; improvements were made to provide more comprehensive insights into test failures and their contexts.
- The development of TREX highlighted the importance of context sharing between agents to effectively manage complex code reviews and testing scenarios.
Coverage & discussions
Hacker News · greptile.com
Community discussions
Hacker News discussion ↗
Historical count: 4 · 4 saved in sample · Historical sample
Awaiting analysis




