{"id":182244,"date":"2025-12-13T07:53:11","date_gmt":"2025-12-13T07:53:11","guid":{"rendered":"https:\/\/www.newsbeep.com\/il\/182244\/"},"modified":"2025-12-13T07:53:11","modified_gmt":"2025-12-13T07:53:11","slug":"the-future-of-ai-powered-software-optimization-and-how-it-can-help-your-team","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/il\/182244\/","title":{"rendered":"The future of AI-powered software optimization (and how it can help your team)"},"content":{"rendered":"<p>When was the last time you heard someone ask in a standup, \u201cHow could we do this more sustainably?\u201d<\/p>\n<p>Topics like green software and carbon efficiency are unfortunately rarely at the top of busy development teams\u2019 priority lists. What\u2019s more, there are very few \u201cgreen software practitioners\u201d out there. But we believe we\u2019re at a unique moment in time where this can all change. The next generation of AI-enabled developer tooling has the opportunity to create near-effortless, always-on engineering for sustainability.\u00a0<\/p>\n<p>The <a href=\"https:\/\/githubnext.com\/\" rel=\"nofollow noopener\" target=\"_blank\">GitHub Next<\/a> and <a href=\"https:\/\/github.com\/social-impact\/focus-areas\/environmental-sustainability\" rel=\"nofollow noopener\" target=\"_blank\">GitHub Sustainability<\/a> teams have been collaborating to prove this concept and value through a series of internal and external pilot projects.\u00a0<\/p>\n<p>We call it Continuous Efficiency.\u00a0<\/p>\n<p>Making the case for Continuous Efficiency<\/p>\n<p>We believe that once it\u2019s ready for broader adoption, Continuous Efficiency will have the potential to make a significant positive impact for developers, businesses, and sustainability.<\/p>\n<p>For developers<\/p>\n<p>Digital sustainability and green software are intrinsically aligned to \u201cefficiency,\u201d which is at the core of software engineering. Many developers would benefit from performant software, better standardization of code, change quality assurance, and more.<\/p>\n<p>For businesses<\/p>\n<p>Building for sustainability has measurable business value, including:<\/p>\n<p>Reducing power and resource consumption<\/p>\n<p>Increasing efficiency<\/p>\n<p>Better code quality<\/p>\n<p>Improved user experience<\/p>\n<p>Lower costs<\/p>\n<p>Despite this, sustainability rarely makes it onto the roadmap, priority list, or even the backlog. But imagine a world in which the codebase could continuously improve itself\u2026<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" loading=\"lazy\" height=\"320\" width=\"1024\" src=\"https:\/\/www.newsbeep.com\/il\/wp-content\/uploads\/2025\/12\/image1_c8a727.png\" alt=\"A graphic showing Continuous Efficiency = Green Software + Continuous AI\" class=\"wp-image-92828\"  \/><\/p>\n<p>Continuous Efficiency means effortless, incremental, validated improvements to codebases for increased efficiency. It\u2019s an emergent practice based on a set of tools and techniques that we are starting to develop and hope to see the developer community expand on.<\/p>\n<p>This emerges at the intersection of Continuous AI and Green Software.<\/p>\n<p><a href=\"https:\/\/githubnext.com\/projects\/continuous-ai\/\" rel=\"nofollow noopener\" target=\"_blank\">Continuous AI<\/a> is AI-enriched automation to software collaboration. We are exploring LLM-powered automation in platform-based software development and CI\/CD workflows.<\/p>\n<p><a href=\"https:\/\/greensoftware.foundation\/articles\/what-is-green-software\" rel=\"nofollow noopener\" target=\"_blank\">Green Software<\/a> is designed and built to be more energy-efficient and have a lower environmental impact. This practice tends to result in software that is cheaper, more performant, and more resilient.\u00a0<\/p>\n<p>Continuous Efficiency in (GitHub) Action(s)<\/p>\n<p>While Continuous Efficiency is a generally applicable concept, we have been building implementations on a specific GitHub platform and infrastructure called <a href=\"https:\/\/githubnext.com\/projects\/agentic-workflows\" rel=\"nofollow noopener\" target=\"_blank\">Agentic Workflows<\/a>. It\u2019s publicly available and open source, but currently in \u201cresearch demonstrator\u201d status (read: experimental prototype, pre-release, subject to change and errors!). Agentic Workflows is an experimental framework for exploring proactive, automated, event-driven agentic behaviors in GitHub repositories, running safely in GitHub Actions.<\/p>\n<p>Our work in this space has been focused on two areas:<\/p>\n<p>Implementing rules and standards<\/p>\n<p>With modern LLMs and agentic workflows, we can now express engineering standards and code-quality guidelines directly in natural language and apply them at a scale that was previously unattainable.<\/p>\n<p>This capability goes far beyond traditional linting and static analysis approaches in three important ways:<\/p>\n<p>Declarative, intent-based rule authoring: you describe the intent in natural language and the model interprets and implements it (no need for hard-coded patterns or logic).<\/p>\n<p>Semantic generalizability: a single high-level rule can be applied across diverse code patterns, programming languages and architectures, giving far broader coverage than conventional tools and approaches.<\/p>\n<p>Intelligent remediation: this approach comprehensively resolves issues and violations through agentic, platform-integrated actions, like writing a pull request or adding comments and suggested edits to a change.<\/p>\n<p>Examples of our work:<\/p>\n<p>Case study: Code base reviews<br \/>Green software rules implementation<\/p>\n<p>We have implemented a wide range of standard and specific Green Software rules, tactics and patterns. These can be applied fully agentically to entire codebases and repos.<\/p>\n<p>Example:<br \/>We teamed up with the <a href=\"https:\/\/github.com\/browserify\/resolve\" rel=\"nofollow noopener\" target=\"_blank\">resolve<\/a> project to scan their codebase with a number of rules, and agentically delivered proposed improvements.\u00a0<br \/>The outputs weren\u2019t all perfect\u2014but one of the recently approved and merged pull requests makes a small performance improvement by \u201choisting\u201d RegExp literals from within hot functions.\u00a0<\/p>\n<p>The project gets 500M+ downloads per month on npm. So this small impact will scale!<\/p>\n<p>Case study: Implementing standards<br \/>Web sustainability guidelines (WSG)<\/p>\n<p>The <a href=\"https:\/\/w3c.github.io\/sustainableweb-wsg\/\" rel=\"nofollow noopener\" target=\"_blank\">W3C WSG<\/a> is a great resource to help people make web products and services more sustainable. We implemented the Web Development section into a set of 20 agentic workflows, so now the guidelines can be used by AI too!<\/p>\n<p>Example:<br \/>We have run the WSG workflows on a number of GitHub and Microsoft web properties and found opportunities and built resolutions to improve them\u2014ranging from deferred loading to using native browser features and latest language standards.<\/p>\n<p>Heterogeneous performance improvement\u00a0<\/p>\n<p>Performance engineering is notoriously difficult because real-world software is profoundly heterogeneous. Every repository brings a different mix of languages and architectures, and even within a single codebase, the sources of performance issues can span from algorithmic choices to cache behavior to network paths.<\/p>\n<p>Expert performance engineers excel at navigating this complexity, but the sheer variety and volume of work across the industry demands better tooling and scalable assistance.\u00a0<\/p>\n<p>We\u2019ve been thinking about the \u201cgrand challenge\u201d of how to build a generic agent that can walk up to any piece of software and make demonstrable performance improvements. One that could navigate the vast ambiguity and heterogeneity of software in the wild\u2014no small task!<\/p>\n<p>Semi-automatic performance engineering aims to meet that need with an automated, iterative workflow where an agent researches, plans, measures, and implements improvements under human guidance. The process begins with \u201cfit-to-repo\u201d discovery\u2014figuring out how to build, benchmark, and measure a given project\u2014before attempting any optimization. Modern LLM-based agents can explore repositories, identify relevant performance tools, run microbenchmarks, and propose targeted code changes.\u00a0<\/p>\n<p>Early results vary quite dramatically, but some show promise that guided automation can meaningfully improve software performance at scale.<\/p>\n<p>Case study:\u00a0<br \/>Daily perf improver<\/p>\n<p>Daily Perf Improver is a three-phase workflow, intended to run in small daily sprints. It can do things like:<br \/>(1) Research and plan improvements<br \/>(2) Infer how to build and benchmark the repository<br \/>(3) Iteratively propose measured optimizations<\/p>\n<p>Example:On a focused recent pilot on FSharp.Control.AsyncSeq it has already delivered real gains by producing multiple accepted pull requests, including a rediscovered performance bug fix and verified microbenchmark-driven optimizations.<\/p>\n<p><a href=\"https:\/\/github.com\/githubnext\/agentics\/blob\/main\/workflows\/daily-perf-improver.md\" rel=\"nofollow noopener\" target=\"_blank\">Daily Perf Improver Research Demonstrator<\/a><\/p>\n<p>How to build and run agentic workflows<\/p>\n<p>GitHub agentic workflows enable you to write automation in natural language (Markdown) instead of traditional YAML or scripts. You author a workflow in a .md file that begins with a YAML-like \u201cfront matter\u201d (defining triggers, permissions, tools, safe-outputs, etc.), followed by plain-English instructions. At build time you run the gh aw compile command (part of the agentic workflows CLI) which compiles the Markdown into a standard GitHub Actions workflow (.yml) that can be executed by the normal GitHub Actions runtime.<\/p>\n<p>When the compiled workflow runs, it launches an AI agent (for example via GitHub Copilot CLI, or other supported engines like Claude Code or OpenAI Codex) inside a sandboxed environment. The agent reads the repository\u2019s context, applies the human-written natural-language instructions (for example \u201clook for missing documentation, update README files, then open a pull request\u201d), and produces outputs such as comments, pull requests, or other repository modifications. Because it\u2019s running in the GitHub Actions environment, permission boundaries, safe-output restrictions, logs, auditability, and other security controls remain.\u00a0<\/p>\n<p>How we build our Continuous Efficiency Workflows (with agents, of course!)<\/p>\n<p>Our internal process for creating Continuous Efficiency workflows follows a simple, repeatable pattern:<\/p>\n<p>Define the intent: based on a public standard or a domain-specific engineering requirement.<\/p>\n<p>Author the workflow in Markdown: using structured natural language, guided interactively by the create-agentic-workflow agent.<\/p>\n<p>Compile to YAML: turning the Markdown into a standard GitHub Actions workflow.<\/p>\n<p>Run in GitHub Actions: executing the workflow on selected repositories<\/p>\n<p>Want to get involved in Continuous Efficiency?<\/p>\n<p>If you\u2019re a developer who loves the experimentation phase, you can already get started with running <a href=\"https:\/\/githubnext.github.io\/gh-aw\/\" rel=\"nofollow noopener\" target=\"_blank\">agentic workflows<\/a> in GitHub Actions now! There are a range of examples that you can immediately try out (including a \u201cDaily performance improver\u201d) or author your own using natural language.\u00a0<\/p>\n<p>GitHub Sustainability will soon be publishing rulesets, workflows, and more\u2014if you\u2019re interested in being an early adopter or design partner, please <a href=\"https:\/\/support.github.com\/contact\/social-impact\" rel=\"nofollow noopener\" target=\"_blank\">get in touch with me<\/a>.<\/p>\n<p>\t\tWritten by\t<\/p>\n<p>\t\t\t\t\t<img class=\"d-block circle\" src=\"https:\/\/www.newsbeep.com\/il\/wp-content\/uploads\/2025\/12\/157849754\" alt=\"Paull Young\" width=\"80\" height=\"80\" loading=\"lazy\" decoding=\"async\"\/><\/p>\n","protected":false},"excerpt":{"rendered":"When was the last time you heard someone ask in a standup, \u201cHow could we do this more&hellip;\n","protected":false},"author":2,"featured_media":182245,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[345,343,344,85,46,125],"class_list":{"0":"post-182244","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-artificial-intelligence","8":"tag-ai","9":"tag-artificial-intelligence","10":"tag-artificialintelligence","11":"tag-il","12":"tag-israel","13":"tag-technology"},"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/posts\/182244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/comments?post=182244"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/posts\/182244\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/media\/182245"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/media?parent=182244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/categories?post=182244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/tags?post=182244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}