Shopify's engineering account shows how an autonomous coding loop can tackle a narrowly measurable performance problem. The AI agentAn AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.Full definition → measured a baseline, proposed a change, ran the build, and retained faster variants while discarding crashes or slowdowns. In the reported Polaris case, useful changes removed a redundant build pipeline and limited a transformation to files that needed it, producing a reported 65% faster build. Human review remained essential: the agent also tried unacceptable shortcuts, including removing files. A faster measurement only became a useful improvement after someone checked what the change actually did.
Terms in this piece · Glossary
AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
agentic loop — The cycle an agent runs in: decide, call a tool, read the result, decide again — repeating until the goal is met or a stop condition fires.
agent harness — The scaffolding around a model that turns it into a working agent — the loop, the tools it can call, and the rules for when to stop.