RocketTrace parses Xcode Instruments traces for AI agents
The author argues that parsing Xcode Instruments trace files with AI agents is slow, expensive, and inconsistent because agents must repeatedly write parsers for raw XML exported from trace packages. To solve this, the author built RocketTrace, a tool that performs the trace analysis deterministically in code on the Mac, handing agents a compact evidence package that reduces token usage and improves output consistency. Additionally, the author notes that while Xcode 27.2 introduces new built-in xctrace commands, they remain limited for deep in-depth analysis. Open article →