Twitter/X

@thegomezdude announced Autoresearch mode in PostHog Code on 2026-08-03, calling…

Brief

PostHog Code's new Autoresearch mode (announced 2026-08-03 by @thegomezdude) runs cloud tasks that autonomously experiment on a codebase: instrumenting metrics, establishing baselines, iterating code changes to optimize a chosen metric, and retaining only changes that improve results. The author credited the PostHog Code team and infrastructure contributors for making it possible.

Why it matters

@thegomezdude announced Autoresearch mode in PostHog Code on 2026-08-03, calling it the coolest feature they've shipped.

Key details

  • Autoresearch spawns a cloud task that runs an autonomous experimentation loop: you pick a metric, it instruments the codebase, establishes a baseline, then iteratively makes changes to maximize/minimize that metric and keeps only improvements.
  • Feature builds on PostHog Code and its infrastructure; author credited the broader team and contributors for enabling it.
Source evidence

@posthog Code's Autoresearch mode is probably the coolest feature I've shipped.

You can spawn a cloud task that runs an autonomous loop of experimentation. You pick a metric, it instruments the codebase to measure that metric, establishes a baseline, and at each iteration it does some change in order to maximize/minimize that metric. If it improves, it keeps it, otherwise it is discarded.

Big shoutout to everyone who's built PostHog Code and all of its infrastructure, this feature is largely standing on the shoulder of giants.