翻篇收录说明
翻篇网页快照

Continuous AI in practice: What developers can automate today with agentic CI - The GitHub Blog

https://blog.github.com/ai-and-ml/generative-ai/continuous-ai-in-practice-what-developers-can-automate-today-with-agentic-ci/

最近抓取:2026-12-04 07:18:41(北京时间)

最近内容变化:2026-12-04 07:18:41(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

Think of Continuous AI as background agents that operate in your repository for tasks that require reasoning.

正文摘录

Continuous AI in practice: What developers can automate today with agentic CIThink of Continuous AI as background agents that operate in your repository for tasks that require reasoning.Why CI isn’t enough anymoreSoftware engineering has always included work that’s repetitive, necessary, and historically difficult to automate. This isn’t because it lacks values, but because it resists deterministic rules. Continuous integration (CI) solved part of this by handling tests, builds, formatting, and static analysis—anything that can be described with deterministic rules. CI excels when correctness can be expressed unambiguously: a test passes or fails, a build succeeds or doesn’t, a rule is violated or isn’t. But CI is intentionally limited to problems that can be reduced to heuristics and rules. For most teams, the hardest work isn’t writing code. It’s everything that requires judgment around that code: reviewing changes, keeping documentation accurate, managing dependencies, tracking regressions, maintaining tests, monitoring quality, and responding to issues that only surface after code ships. But a lot of engineering work goes into work that requires interpretation, synthesis, and context, rather than deterministic validation. And an increasing share of engineering tasks fall into a category CI was never designed to handle: work that depends on understanding intent. “Any task that requires judgment goes beyond heuristics,” says Idan Gazit, head of GitHub Next, which works on research and development initiatives. Any time something can’t be expressed as a rule or a flow chart is a place where AI becomes incredibly helpful. Idan Gazit, head of GitHub Next This is why GitHub Next has been exploring a new pattern: Continuous AI, or background agents that operate in your repository the way CI jobs do, but only for tasks that require reasoning instead of rules. Why CI isn’t enough anymore CI isn’t failing. It’s doing exactly what it was designed to do. CI is designed for binary outcomes. Tests pass or fail. Builds succeed or don’t. Linters flag well-defined violations. That works well for rule-based automation. But many of the hardest and most time-consuming parts of engineering are judgment-heavy and context-dependent. Consider these scenarios: A docstring says one thing, but the implementation says another. Text passes accessibility linting but is still confusing to users. A dependency adds a new flag, altering behavior without a major version bump. A regex is compiled inside a loop, tanking performance in subtle ways. UI behavior changes are only visible when interacting with the product. These problems are about whether intent still holds. “The first era of AI for code was about code generation,” Idan explains. “The second era involves cognition and tackling the cognitively heavy chores off of developers.” This is the gap Continuous AI fills: not more automation, but a different class of automation. CI handles deterministic work. Continuous AI applies where correctness depends on reasoning, interpretation, and intent. What Continuous AI actually means Continuous AI is not a new product or CI replacement. Traditional CI remains essential. Continuous AI is a pattern: Continuous AI = natural-language rules + agentic reasoning, executed continuously inside your repository. In practice, Continuous AI means expressing in plain language what should be true about your code, especially when that expectation cannot be reduced to rules or heuristics. An agent then evaluates the repository and produces artifacts a developer can review: suggested patches, issues, discussions, or insights. Developers rarely author agentic workflows in a single pass. In practice, they collaborate with an agent to refine intent, add constraints, and define acceptable outputs. The workflow emerges through iteration, not a single sentence. For example: “Check whether documented behavior matches implementation, explain any mismatches, and propose a concrete fix.” “Generate a weekly report summarizing project activity, emerging bug trends, and areas of increased churn.” “Flag performance regressions in critical paths.” “Detect semantic regressions in user flows.” These workflows are not defined by brevity. They combine intent, constraints, and permitted outputs to express expectations that would be awkward or impossible to encode as deterministic rules. “In the future, it’s not about agents running in your repositories,” Idan says. “It’s about being able to presume you can cheaply define agents for anything you want off your plate permanently.” Think about what your work looks like when you can delegate more of it to AI, and what parts of your work you want to retain: your judgment, your taste. Idan Gazit, head of GitHub Next Guardrails by design: Permissions and Safe Outputs In our work, we define agentic workflows with safety as a first principle. By default, agents operate with read-only access to repositories. They cannot create issues, open pull requests, or modify content unless explicitly permitted. We call this Safe Outputs, which provides a deterministic contract for what an agent is allowed to do. When defining a workflow, developers specify exactly which artifacts an agent may produce, such as opening a pull request or filing an issue, and under what constraints. Anything outside those boundaries is forbidden. This model assumes agents can fail or behave unexpectedly. Outputs are sanitized, permissions are explicit, and all activity is logged and auditable. The blast radius is deterministic. This isn’t “AI taking over software development.” It’s AI operating within guardrails developers explicitly define. Why natural language complements YAML As we’ve developed this, we’ve heard a common question: why not just extend CI with more rules? When a problem can be expressed deterministically, extending CI is exactly the right approach. YAML, schemas, and heuristics remain the correct tools for those jobs. But many expectations cannot be reduced to rules without losing meaning. Idan puts it simply: “There’s a larger class of chores and tasks we can’t express in heuristics.” A rule like “whenever documentation and code diverge, identify and fix it” cannot be expressed in a regex or schema. It requires understanding semantics and intent. A natural-language instruction can express that expectation clearly enough for an agent to reason over it. Natural language doesn’t replace YAML, but instead complements it. CI remains the foundation. Continuous AI expands automation into commands CI was never designed to cover. Developers stay in the loop, by design Agentic workflows don’t make autonomous commits. Instead, they can create the same kinds of artifacts developers would (pull requests, issues, comments, or discussions) depending on what the workflow is permitted to do. Pull requests remain the most common outputs because they align with how developers already review and reason about change. “The PR is the existing noun where developers expect to review work,” Idan says. “It’s the checkpoint everyone rallies around.” That means: Agents don’t merge code Developers retain full control Everything is visible and reviewable Developer judgment remains the final authority. Continuous AI helps scale that judgment across a codebase. How GitHub Next is experimenting with these ideas The GitHub Next prototype (or you can find the repository at gh aw) uses a deliberately simple pattern: Write an agentic workflow Compile it into a GitHub Action Push it Let an agent run on any GitHub Actions trigger (pull requests, pushes, issues, comments, or schedules) Nothing is hidden; everything is transparent and visible. “You want an action to look for style violations like misplaced brackets, that’s heuristics,” Idan explains. “But when you want deeper intent checks, you need AI.” What Continuous AI can automate today These aren’t theoretical examples. GitHub Next has tested these patterns in real repositories. 1. Fix mismatches between documentation and behavior This is one of the hardest problems for CI because it requires understanding intent. An agentic workflow can: Read a function’s docstring Compare it to the implementation Detect mismatches Suggest updates to either the code or the docs Open a pull request Idan calls this one of the most meaningful categories of work Continuous AI can address: “You don’t want to worry every time you ship code if the documentation is still right. That wasn’t possible to automate before AI.” 2. Generate ongoing project reports with reasoning Maintainers and managers spend significant time answering the same questions repeatedly: What changed yesterday? Are bugs trending up or down? Which parts of the codebase are most active? Agentic workflows can generate recurring reports that pull from multiple data sources (issues, pull requests, commits, and CI results), and apply reasoning on top. For example, an agent can: Summarize daily or weekly activity Highlight emerging bug trends Correlate recent changes with test failures Surfaces areas of increased churn The value isn’t the report itself. It’s the synthesis across multiple data sources that would otherwise require manual analysis. 3. Keep translations up to date automatically Anyone who has worked with localized applications knows the pattern: Content changes in English, translations fall behind, and teams batch work late in the cycle (often right before a release). An agent can: Detect when English text changes Re-generate translations for all languages Open a single pull request containing the updates The workflow becomes continuous, not episodic. Machine translations might not be perfect out of the box, but having a draft translation ready for review in a pull request makes it that much easier to engage help from professional translators or community contributors. 4. Detect dependency drift and undocumented changes Dependencies often change behavior without changing major versions.