github3 min read

Curated summary

Continuous AI in practice: What developers can automate today with agentic CI

Read original(opens in new tab)

Continuous AI extends CI into software-engineering tasks that require judgment, context, and interpretation rather than deterministic rules. It uses continuously running agents guided by natural-language instructions to review repositories, identify issues, and produce reviewable artifacts such as patches, issues, or reports. GitHub’s central argument is that AI should complement—not replace—traditional CI, while operating within explicit permissions and developer oversight.

Why CI Isn’t Enough

  • CI is effective for binary, rule-based checks:
    • Tests pass or fail.
    • Builds succeed or fail.
    • Linters detect defined violations.
  • Many important engineering tasks depend on intent and context, including:
    • Finding discrepancies between documentation and implementation.
    • Detecting confusing accessibility text that passes linting.
    • Identifying behavioral changes caused by dependency updates.
    • Spotting subtle performance regressions, such as compiling a regular expression inside a loop.
    • Recognizing UI regressions that only appear during interaction.
  • GitHub describes this as a shift from AI-generated code toward AI handling cognitively demanding maintenance work.

What Continuous AI Means

  • Continuous AI is a pattern, not a replacement for CI:
    • Natural-language rules + agentic reasoning, executed continuously inside a repository.
  • Developers describe expectations in natural language, especially when those expectations are difficult to encode with schemas, heuristics, or YAML.
  • Example workflows include:
    • Comparing documented behavior with implementation and proposing fixes.
    • Producing weekly reports on project activity, bug trends, and code churn.
    • Detecting performance regressions in critical paths.
    • Finding semantic regressions in user flows.
  • Workflows are refined collaboratively with agents by adding intent, constraints, and acceptable outputs rather than being authored as a perfect single instruction.

Guardrails and Safe Outputs

  • Agents operate with read-only repository access by default.
  • They cannot modify content, create issues, or open pull requests unless explicitly authorized.
  • “Safe Outputs” defines the exact artifacts an agent may produce and the constraints governing them.
  • Agent activity is sanitized, logged, and auditable.
  • The goal is to keep the potential impact predictable even when agents make mistakes or behave unexpectedly.

Natural Language Complements YAML

  • Deterministic problems should remain in CI, using YAML, schemas, tests, and heuristics.
  • Some expectations—such as determining whether documentation and code still express the same behavior—require semantic understanding.
  • Natural-language instructions let agents reason about intent without forcing that intent into brittle rules.
  • Continuous AI therefore expands automation into judgment-heavy tasks while preserving CI as the foundation for deterministic validation.

Developers Remain in the Loop

  • Agents do not make unrestricted autonomous commits.
  • Depending on permissions, they can produce pull requests, issues, comments, discussions, or other reviewable artifacts.
  • Pull requests are especially useful because they fit existing developer review and collaboration practices.
  • The broader vision is to delegate recurring maintenance work while allowing developers to retain judgment, taste, and final control.

Continuous AI is best adopted alongside traditional CI: use conventional automation wherever rules are sufficient, and use guarded, continuously running agents for tasks involving interpretation, synthesis, and evolving intent.

Continue with another curated summary.