Autoresearch isn’t just for training models
Generalizing Karpathy's Autoresearch beyond model training, Shopify built pi-autoresearch, an extension for the Pi agent harness that runs an agent in an endless loop against a single measurable metric: establish a baseline, form a hypothesis, test it, keep improvements and discard crashes or regressions. Applied to the Polaris build, it cut build time 65% by skipping a redundant full component pipeline before Storybook and limiting a TypeScript transform to the 105 of 580 files that needed it, though humans still had to discard hacks like deleting files. Tobi Lütke added multi-metric support and auto-commits, then ran it on Liquid for 53% faster parse+render and 61% fewer allocations. The open-sourced tool has been used internally to speed up unit tests, React mounting, Playwright tests and pnpm.
Related posts
- Agent-driven development in Copilot Applied Science
GitHub Engineering mediumAdeptA Copilot Applied Science researcher built eval-agents, a set of Copilot SDK-based agents that automate analysis of coding-agent trajectories from benchmarks like TerminalBench2 and SWEBench-Pro, and developed it primarily through coding agents. Three principles made this work: conversational, verbose prompting in plan mode; continuous refactoring, documentation and dead-code cleanup so the repo is easy for agents to navigate; and a "blame process, not agents" approach backed by strict typing, linters, and human-only contract tests that prevent agents from rewriting regression tests. With this setup five contributors added 11 agents and four skills in under three days, using a loop of /plan, /autopilot, automated Copilot Code Review iterations, and human review, plus weekly agent-run audits for missing tests, duplication and doc gaps.
- Harness engineering: leveraging Codex in an agent-first world
OpenAI mediumAdept
A small OpenAI team built and shipped an internal product of roughly a million lines over five months with zero manually written code, merging about 1,500 Codex-authored PRs at around 3.5 PRs per engineer per day, an estimated 10x faster than writing it by hand. The engineers' job shifted to building the environment agents work in. Each git worktree boots its own app instance, the Chrome DevTools Protocol lets agents drive the UI, and a per-worktree ephemeral observability stack can be queried with LogQL, PromQL and TraceQL. A short AGENTS.md acts as a map into a structured, CI-validated docs/ directory instead of one giant instruction file. A rigid layered domain architecture is enforced by custom linters whose error messages carry remediation instructions for the agent.
- DevEx matters for coding agents, too
incident.io mediumAdeptincident.io cut its typical lint-plus-compile feedback loop from over 90 seconds to under 10, arguing that fast toolchains matter even more when AI coding agents generate code faster than slow tools can validate it. The gains came from replacing ESLint and Prettier with Biome (40s to under 1s), adopting the preview Go-based TypeScript compiler tsgo while keeping tsc on CI as a safety net, and switching tasks from Node/Yarn to Bun. The team also replaced the Java OpenAPI Generator with a ~700-line Bun/TypeScript generator, built with Claude Code to match the old output exactly, which cut generation from 45s to 0.21s. An upstream Goa PR added parallel file writing and cut its generation time from 52s to 10s.
- Agents, Randomness, and Receipts: Notes from trivago's QA Meetup
trivago tech easyNoviceRecap of three QA meetup talks on verifying testing and delivery. Qase.io measured AI adoption with git-ai, an open-source tool that records per-commit attribution in git notes; teams showed 61–92% AI-authored code, deployment frequency roughly tripled, and MTTR halved, while lead time stayed low because the bottleneck moved to planning and review. Curio IT argued for randomizing test inputs to counter the pesticide effect, using a seeded test data broker for reproducibility and treating flakiness as signal rather than noise. trivago described an AI agent that tests about 200 advertiser API connectors using randomized inputs, a shared CLI, AGENTS.md constraints, two-stage mechanical and LLM validation, and a 0–100 self-audit score.
- How The New York Times is scaling Unit Test Coverage using AI Tools
NYT Open mediumAdeptThe New York Times Web Platforms team used an AI coding agent to raise unit test coverage across its News monorepo, taking six projects from an average of 28% to 83% coverage and the Story template from 53% to 83%, with an estimated 70% reduction in effort. The workflow nests an AI loop (run a custom test-cov package, find gaps, generate and run tests, re-measure) inside a human review loop. It is constrained by two hard "walls": a rule never to touch source code, and a read-only coverage report the agent cannot game. A seven-page prompt covering role, targets, commands, success criteria, guardrails such as a 10-iteration cap, and a reporting template made the process reusable. Key lessons are to keep context minimal to avoid context rot, limit scope per run so diffs stay reviewable, and involve owning teams in formal review of AI-generated tests.