The Tech Meta

An inside look at tech's evolving playbook

Agent in CI

Code AI observed

A coding agent run by GitHub Actions, for example to review, fix or answer on pull requests.

A coding agent started by a GitHub Actions workflow rather than by a person at a keyboard: to review a pull request, to answer when someone mentions it in a comment, to fix a failing build, or to work on an issue by itself. The workflow calls a vendor's action, such as Claude Code's or Codex's, or installs the agent's command line and runs it with a prompt. The site counts a repo when one of its workflows calls a coding agent it knows, read from the action's name or from the command the workflow runs.

  • Pro scene today: 18%, 39 of 221 pro repos
  • In three months: +1 pt (7 pro repos added it, 6 removed it)
  • Kept: 64%, 32 of 50 that had it 3 months ago or before

Pro 18% · Ladder 4%

Insight: 29 of the 39 also act as a GitHub App in CI, with a token of its own, against 38 of the 182 without an agent there.

Implement it

Start with an AI reviewer on pull requests. Limit any agent you run in CI to a list of tools, and let only the repo's members trigger it.

A prompt for your agent:

List the workflows in .github/workflows that run a coding agent. For each, say which tools the agent may use and who can trigger it: the events, and any check of the author's association. Propose the smallest change that limits the tools to what the job needs and lets only the repo's members trigger it. Change nothing before I approve.

Who can trigger the agent:

if: >
  !github.event.pull_request.draft &&
  github.event.pull_request.head.repo.full_name == github.repository &&
  contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.pull_request.author_association)

The tools the agent may use:

claude_args: |
  --model "claude-sonnet-5-5"
  --allowedTools "mcp__github_inline_comment__create_inline_comment,mcp__github_comment__update_claude_comment,Bash(gh pr diff:*),Bash(gh pr view:*)"

In the pro repos

The 6 most starred of the other 38 pro repos that have it today.

By month

MonthPro scene
June 2025<1%
July 20253%
August 20254%
September 20256%
October 20258%
November 20258%
December 20259%
January 202610%
February 202614%
March 202616%
April 202616%
May 202618%
June 202619%
July 202618%
August 202617%
September 202617%
October 202618%
November 202618%
today18%

Inside the practice

Repo profile

SlicePro repos with it
Size: Small8%, 6 of 73
Size: Mid16%, 12 of 74
Size: Large28%, 21 of 74
Layout: Single package13%, 16 of 119
Layout: Monorepo23%, 23 of 102
Main language: TypeScript or JS19%, 19 of 100
Main language: Python24%, 10 of 41
Main language: Go or Rust11%, 5 of 47
Main language: Other15%, 5 of 33

How the agent runs in CI

Of the repos whose workflows call a coding agent. Read from the workflow text, over all of a repo's agent workflows.

  • Its tools are listed: 54%, 21 of 39
  • Only members can trigger it: 41%, 16 of 39
  • Named bots can trigger it: 21%, 8 of 39
  • Triggered by pull_request_target: 15%, 6 of 39
  • Anyone can trigger it: 13%, 5 of 39
  • Its sandbox or its approvals are switched off: 13%, 5 of 39
  • Its tool list allows every shell command: 10%, 4 of 39

Agents called from CI

Named in a GitHub Actions workflow.

  • Claude Code: 15%, 33 of 221
  • Codex: 4%, 9 of 221
  • opencode: <1%, 2 of 221
  • Cursor: <1%, 2 of 221
  • Devin: <1%, 2 of 221
  • GitHub Copilot: <1%, 2 of 221
  • Gemini CLI: <1%, 1 of 221

Evidence

Observed in the repos only: no published study is quoted for it yet.

How it is detected

Looks for a coding agent called from a GitHub Actions workflow. Read in workflow files. How the method counts

Related practices

In the same kit, Full rig.

Levels of evidence